Skip to content

armgit / peach

Public Imported from GitHub
0

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

refactor(web): 关注字样与详情外链的样式收进岛,删掉关注管理与关注页的死规则

longmeidaoe3f596341692
diff --git a/docs/FRONTEND.md b/docs/FRONTEND.md
index 88a9ef301..23d35022a 100644
--- a/docs/FRONTEND.md
+++ b/docs/FRONTEND.md
@@ -376,9 +376,7 @@ React 子树的样式是 Tailwind v4 加 BoardUI 主题,产物 `peach-react.cs
React 页要按原名输出壳才拆得出分区;`swiper`、`swiper-wrapper`、`swiper-slide`、
`swiper-zoom-container` 是 Swiper 核心 API 认的结构类名(图片灯箱),不写它就找不到轮播的
容器与每一张;`mono` 是 `01-base.css` 的等宽数字字体栈,和 Tailwind 的 `font-mono` 不是同一组字体;
-`tg` 是目录卡片、索引页与详情共用的标签键(`12-cards.css`);`mav` 是壳的 `followIdentity` 画的头像;
-`externallink` 是 `01-base.css` 里全站外链的图标间距;`javedition` 与色调(`censored` 等)是目录卡片也用的
-版次徽章;`chip` 是筛选抽屉的药丸键,脱盘与在线说明块里的按钮沿用它;`geist-button`、`primary` 是
+`javedition` 与色调(`censored` 等)是目录卡片也用的版次徽章;`chip` 是筛选抽屉的药丸键,脱盘与在线说明块里的按钮沿用它;`geist-button`、`primary` 是
舞台模态里各处按钮共用的遗留按钮,设置面板的「添加」「恢复默认」也沿用;`popmenu` 是遗留浮层菜单的盒子,
`presentMenu`/`dismissMenu` 的开合动效按它起,设置面板的色板弹层与侧栏「添加」菜单都是它;`geist-input`
是 `01-base.css` 的输入框,设置面板的数值框沿用;`board-glow-grid` 那一格预设球由壳的 `renderGlowPresetGrid`
diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.json
index ced831e90..17c223424 100644
--- a/frontend/.oxlintrc.json
+++ b/frontend/.oxlintrc.json
@@ -20,7 +20,7 @@
"shadcn/no-arbitrary-values": "error",
"shadcn/no-inline-styles": "error",
"shadcn/no-unknown-classes": ["error", { "allow": ["configpage", "configgroup", "swiper", "swiper-wrapper", "swiper-slide", "swiper-zoom-container",
- "mono", "tg", "mav", "externallink", "javedition", "censored", "chip", "geist-button",
+ "mono", "javedition", "censored", "chip", "geist-button",
"primary", "popmenu", "geist-input", "board-glow-grid"] }],
"shadcn/require-static-classes": "error"
}
diff --git a/frontend/e2e/follow-source-icons.test.ts b/frontend/e2e/follow-source-icons.test.ts
index deb45c50d..68d573217 100644
--- a/frontend/e2e/follow-source-icons.test.ts
+++ b/frontend/e2e/follow-source-icons.test.ts
@@ -1,7 +1,7 @@
/* 关注里「这一条出自哪个站」一律用站点图标表示,站名只落在图标的 alt/title 上。
*
* 守两处:详情下方视频合集的队列卡(出处图标、标记与时间同一行居中),以及卡片上的
- * 「另见」徽章。演示库没有关注来源,这里按 `_group_payload`(`src/peach/web_follow.py`)
+ * 「另见」徽章(连同版本字样的状态标记外观)。演示库没有关注来源,这里按 `_group_payload`(`src/peach/web_follow.py`)
* 造一组跨站的同一条:主条目在 Fanbox,另两条在 Rule34.xxx。 */
import assert from 'node:assert/strict';
import { after, before, describe, it } from 'node:test';
@@ -138,9 +138,9 @@ describe('关注的出处用站点图标', () => {
});
it('卡片的「另见」徽章:另一站按图标列出,站名不写成文字', { timeout: 60_000 }, async () => {
- const opened = await openFollow(browser, '/follow', '[data-follow-item] .fbadge.dup');
+ const opened = await openFollow(browser, '/follow', '[data-follow-item] [data-follow-seealso]');
try {
- const [badge] = await lineGeometry(opened.page, '[data-follow-item] .fbadge.dup');
+ const [badge] = await lineGeometry(opened.page, '[data-follow-item] [data-follow-seealso]');
assert.ok(badge, '卡片上没有「另见」徽章');
assert.equal(badge.text, '另见');
assert.equal(badge.alt, 'Rule34.xxx');
@@ -150,12 +150,49 @@ describe('关注的出处用站点图标', () => {
}
});
+ /* 设计决定,与谁挂哪枚字样(`test/react/follow-marks.test.ts`)分开量:另见与版本字样是状态标记,
+ 不是标签,圆角走 `--badge-radius`;「含 WIP」说的是同组另一条,比 WIP 本体弱一档;SFW 模式下
+ 站点图标和品牌标一样不糊。字样按 `follow-marks.ts` 的形状临时摆进卡片标题里量。 */
+ it('另见与版本字样是状态标记:徽章圆角、虚线框,含 WIP 弱于 WIP;SFW 模式不糊站点图标', { timeout: 60_000 }, async () => {
+ const opened = await openFollow(browser, '/follow', '[data-follow-item] [data-follow-seealso]');
+ try {
+ const look = await opened.page.evaluate(() => {
+ const badge = document.querySelector('[data-follow-item] [data-follow-seealso]')!;
+ const probe = document.createElement('span');
+ probe.style.cssText = 'border-radius:var(--badge-radius);color:var(--muted);background:var(--meter)';
+ badge.parentElement!.append(probe);
+ const want = getComputedStyle(probe);
+ const expected = { radius: want.borderTopLeftRadius, muted: want.color, meter: want.backgroundColor };
+ probe.remove();
+ const title = badge.closest('[data-follow-item]')!.querySelector('[data-media-title]') ?? badge.parentElement!;
+ title.insertAdjacentHTML('afterbegin', '<small class="javedition" data-follow-edition="wip">WIP</small>'
+ + '<small class="javedition" data-follow-edition="has-wip">含 WIP</small>');
+ const [wip, hasWip] = [...title.querySelectorAll('[data-follow-edition]')].map((node) => getComputedStyle(node));
+ const shape = getComputedStyle(badge);
+ document.body.classList.add('censor');
+ const icon = getComputedStyle(badge.querySelector('[data-follow-site-icon]')!).filter;
+ document.body.classList.remove('censor');
+ return { expected, radius: shape.borderTopLeftRadius, border: shape.borderTopStyle,
+ editionRadius: wip!.borderTopLeftRadius, wip: wip!.color, hasWip: hasWip!.color, icon };
+ });
+ assert.equal(look.radius, look.expected.radius, '另见是状态标记,圆角走 --badge-radius');
+ assert.equal(look.editionRadius, look.expected.radius, '版本字样同是状态标记');
+ assert.equal(look.border, 'dashed');
+ assert.equal(look.wip, look.expected.meter, 'WIP 本体着 --meter');
+ assert.equal(look.hasWip, look.expected.muted, '「含 WIP」弱化成 --muted');
+ assert.equal(look.icon, 'none', 'SFW 模式下站点图标不糊');
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+
it('卡面换成别的站那条时,另见列主条目的站、不列卡面自己的站', { timeout: 60_000 }, async () => {
- const opened = await openFollow(browser, '/follow', '[data-follow-item="12"] .fbadge.dup');
+ const opened = await openFollow(browser, '/follow', '[data-follow-item="12"] [data-follow-seealso]');
try {
const card = opened.page.locator('[data-follow-item="12"]');
const shown = await card.locator('[data-media-badge]').getAttribute('title');
- const alts = await card.locator('.fbadge.dup img').evaluateAll((icons) =>
+ const alts = await card.locator('[data-follow-seealso] img').evaluateAll((icons) =>
icons.map((icon) => icon.getAttribute('alt')));
assert.equal(shown, 'Rule34.xxx', '卡面没有换成有视频的那条');
assert.deepEqual(alts, ['pixivFANBOX', 'Pawchive'], `另见列的站不对:${JSON.stringify(alts)}`);
diff --git a/frontend/src/react/entity-hero/entity-hero.css b/frontend/src/react/entity-hero/entity-hero.css
index 2bcd4317f..41cc842f1 100644
--- a/frontend/src/react/entity-hero/entity-hero.css
+++ b/frontend/src/react/entity-hero/entity-hero.css
@@ -314,7 +314,7 @@
/* ── 外链 ──
* 一行次级按钮:36px 高、10px 圆角、一圈线,跟 Board 的 secondary Button 同一个形。它们是「去哪」
* 的入口,不是标签,所以不画成药丸。选择器要压过 `board.css` 里「一句话就是一个链接」那条
- * (`body a:is(.externallink,[target=_blank])…`,三个类两个标签):它会把字染蓝、抹平边框与内边距。 */
+ * (`body a[target=_blank]:not(…):not(.cardlink)`,三个类两个标签):它会把字染蓝、抹平边框与内边距。 */
.peach-react [data-entity-links] {
display: flex;
flex-wrap: wrap;
diff --git a/frontend/src/react/follow-detail/follow-detail-page.tsx b/frontend/src/react/follow-detail/follow-detail-page.tsx
index 25bf77447..b8ad64c60 100644
--- a/frontend/src/react/follow-detail/follow-detail-page.tsx
+++ b/frontend/src/react/follow-detail/follow-detail-page.tsx
@@ -37,7 +37,7 @@ const realDuration = (value: unknown) => Number(value) > 0;
const Glyph = ({ name }: { name: string }) => (
<span className="contents" dangerouslySetInnerHTML={{ __html: icon(name) }} />
);
-/** 外链那一枚:`externalmark` 的尺寸由全站链接样式给。 */
+/** 外链那一枚:描边由全站 `svg.externalmark` 给,这一页的 18px 尺寸在 `follow-detail.css`。 */
const EXTERNAL_MARK = icon('external-link', 'externalmark');
export function FollowDetailPage(props: FollowDetailProps) {
@@ -314,13 +314,13 @@ function Side({ item, data, context, media, write, issue, helpers, actions }: {
<div data-stage-title="" data-follow-detail-name="" data-reveal-line=""
dangerouslySetInnerHTML={{ __html: followTitleMarks(single, item) + esc(item.title) }} />
{item.url ? (
- <a className="externallink" data-follow-origin="" href={item.url} target="_blank" rel="noreferrer noopener"
+ <a data-follow-origin="" href={item.url} target="_blank" rel="noreferrer noopener"
title="打开来源页面" aria-label="打开来源页面"
dangerouslySetInnerHTML={{ __html: EXTERNAL_MARK }} />
) : null}
</div>
<div data-follow-detail-identity="">
- <span className="mav" data-follow-source-avatar="" dangerouslySetInnerHTML={{ __html: identity.avatar }} />
+ <span data-follow-source-avatar="" dangerouslySetInnerHTML={{ __html: identity.avatar }} />
<div>
<b>{identity.author}</b>
{postedBy ? <span>发布者 {postedBy}</span> : null}
@@ -345,7 +345,7 @@ function Side({ item, data, context, media, write, issue, helpers, actions }: {
{item.resource_urls?.length ? (
<div data-follow-resources="">
{item.resource_urls.map((url) => (
- <a key={url} className="externallink" href={url} target="_blank" rel="noreferrer noopener">
+ <a key={url} href={url} target="_blank" rel="noreferrer noopener">
{resourceLabel(url)}<span className="contents" dangerouslySetInnerHTML={{ __html: EXTERNAL_MARK }} />
</a>
))}
@@ -397,7 +397,7 @@ function Side({ item, data, context, media, write, issue, helpers, actions }: {
{tags.length ? (
<div data-stage-tags="" data-follow-detail-tags="">
{tags.map((tag) => (
- <button type="button" key={tag} className="tg" data-tag-cat={tagCategory(item, tag)} data-follow-tag={tag}
+ <button type="button" key={tag} data-tag-cat={tagCategory(item, tag)} data-follow-tag={tag}
onClick={() => actions.openTag(tag)}>{helpers.tagLabel(tag)}</button>
))}
</div>
diff --git a/frontend/src/react/follow-detail/follow-detail.css b/frontend/src/react/follow-detail/follow-detail.css
index c9f275331..03edd5d83 100644
--- a/frontend/src/react/follow-detail/follow-detail.css
+++ b/frontend/src/react/follow-detail/follow-detail.css
@@ -2,8 +2,9 @@
*
* 舞台里的格子(`[data-stage-grid]` / `[data-stage-media]` / `[data-stage-side]` /
* `[data-stage-side-content]`)、队列(`[data-mix-queue]` 一族)与操作键条(`[data-stage-actions]`)是和
- * 作品详情共用的,几何归 `../stage/stage.css` 与 `../../player/player.css`;标签(`.tg`)归
- * `web/css/` 的遗留样式表。这里只写关注详情自己多出来的几块。
+ * 作品详情共用的,几何归 `../stage/stage.css` 与 `../../player/player.css`;外链的显示方式、内距与
+ * 字色归 `board.css` 的全站外链规则(`a[target=_blank]`)。这里只写关注详情自己多出来的几块,标签、
+ * 创作者圆框的盒子也在这里,照全站标签与头像的同一组 token 写。
*
* 选择器全用 `data-*`,前面挂 `[data-follow-detail]`:舞台样式表与遗留样式表都排在后面,同权重时
* 它们赢,多一层属性才压得住 `[data-stage-title]`、`[data-stage-actions] button` 这类通用规则。 */
@@ -161,9 +162,10 @@
margin-bottom: 8px;
}
.peach-react [data-follow-detail] [data-follow-detail-title] > [data-follow-detail-name] { width: auto; max-width: calc(100% - 35px); margin: 0; }
-/* 来源外链与下面的资源链接都是 `.externallink`:显示方式、内距、边框、字色与悬停归 `board.css` 的
- 全站外链规则,这里只给尺寸。 */
-.peach-react [data-follow-detail] [data-follow-origin] { flex: none; width: 30px; height: 30px; margin: 0; }
+/* 来源外链与下面的资源链接:显示方式、内距、边框、字色与悬停归 `board.css` 的全站外链规则,
+ 这里只给尺寸与那枚外链标。 */
+.peach-react [data-follow-detail] [data-follow-origin] { flex: none; width: 30px; height: 30px; min-width: 0; margin: 0; }
+.peach-react [data-follow-detail] :is([data-follow-origin], [data-follow-resources] a) svg { flex: none; width: 18px; height: 18px; }
.peach-react [data-follow-detail] [data-follow-detail-identity] {
display: flex;
align-items: center;
@@ -177,20 +179,29 @@
color: var(--muted);
font-size: var(--fs-xs);
}
-/* 创作者圆框:头像铺满,取不到时首字母居中;它不是入口,不带悬停描边。 */
+/* 创作者圆框:38px,与卡片上的创作者头像同一档;头像铺满,取不到时首字母居中。它不是入口,
+ 不带悬停描边。 */
.peach-react [data-follow-detail] [data-follow-source-avatar] {
+ position: relative;
flex: none;
display: grid;
place-items: center;
- cursor: default;
- background: var(--overlay-5);
+ width: 38px;
+ height: 38px;
+ margin-top: 2px;
+ padding: 0;
+ overflow: hidden;
border: 1px solid var(--line-soft);
+ border-radius: 50%;
+ background: var(--overlay-5);
+ color: inherit;
+ cursor: default;
}
-.peach-react [data-follow-detail] [data-follow-source-avatar]:hover { box-shadow: none; }
/* 头像与取不到时的首字母(壳的 `favatar`,图坏了也就地换成首字母)都铺满圆框。 */
.peach-react [data-follow-detail] [data-follow-source-avatar] > * {
position: absolute;
inset: 0;
+ display: block;
width: 100%;
height: 100%;
border-radius: 50%;
@@ -230,7 +241,7 @@
gap: 8px;
margin: 0 0 16px;
}
-.peach-react [data-follow-detail] [data-follow-resources] a { height: 34px; }
+.peach-react [data-follow-detail] [data-follow-resources] a { height: 34px; min-width: 0; }
/* 操作键条:几何取 `[data-stage-actions]`(`../stage/stage.css`)。下载是 `<a download>`,
不是按钮:让浏览器自己落盘,不经过 JS,几何与同排按钮一致。 */
@@ -310,21 +321,26 @@
.peach-react [data-follow-detail] [data-follow-state] { flex: none; font-size: var(--fs-xs); color: var(--drop); }
/* 标签沉到侧栏最后:来源站的标签动辄几十个,夹在正文和操作之间就得先滚过整片标签云才够得着
- 「已看/忽略」。按来源记下的类型着色(`--tag-color`,色板在 `../styles.css` 的 `r34-*`)。 */
+ 「已看/忽略」。盒子是全站标签那一副(`--tag-pad-*`、`--tag-radius`、1px 线),线与底按来源记下的
+ 类型着色(`--tag-color`,色板在 `../styles.css` 的 `r34-*`);长标签就地换行,不截断。 */
.peach-react [data-follow-detail] [data-follow-detail-tags] { margin: 16px 0 0; }
.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag] {
max-width: none;
+ padding: var(--tag-pad-y) var(--tag-pad-x);
overflow: visible;
+ border: 1px solid color-mix(in srgb, var(--tag-color) 42%, transparent);
+ border-radius: var(--tag-radius);
+ background: color-mix(in srgb, var(--tag-color) 10%, transparent);
+ color: var(--ink-2);
+ font: inherit;
+ font-size: var(--fs-xs);
+ line-height: 1.45;
+ text-align: left;
text-overflow: clip;
white-space: normal;
- text-align: left;
- color: var(--ink-2);
- font-family: inherit;
- border-color: color-mix(in srgb, var(--tag-color) 42%, transparent);
- background: color-mix(in srgb, var(--tag-color) 10%, transparent);
+ cursor: pointer;
}
-/* 通用 `.tg:hover` 的填充和文字色被上面按类型着色的规则压掉了,悬停按标签自己那个类型色加深,
- 不回到中性的 `--hover`。 */
+/* 悬停按标签自己那个类型色加深,不回到中性的 `--hover`。 */
.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover {
border-color: color-mix(in srgb, var(--tag-color) 68%, transparent);
background: color-mix(in srgb, var(--tag-color) 18%, transparent);
diff --git a/frontend/src/react/follow-feed/follow-feed.css b/frontend/src/react/follow-feed/follow-feed.css
index 959cf4519..37eea8c45 100644
--- a/frontend/src/react/follow-feed/follow-feed.css
+++ b/frontend/src/react/follow-feed/follow-feed.css
@@ -450,6 +450,35 @@
white-space: nowrap;
}
.peach-react [data-follow-badges] { display: flex; flex-wrap: nowrap; gap: 5px; min-width: 0; overflow: hidden; }
+/* 卡片、两排与详情共用的几处字样,HTML 由 `follow-marks.ts` 拼。站点图标在角标、来源条那几格里
+ 另有尺寸,这里是行内默认的那一档。SFW 模式下它不跟着内容图一起糊,豁免写在 `17-overlay.css`。 */
+.peach-react [data-follow-site-icon] {
+ width: 14px;
+ height: 14px;
+ margin-right: 5px;
+ border-radius: var(--badge-radius);
+ object-fit: contain;
+ vertical-align: -2px;
+}
+/* 标题前的版本字样,盒子是版次字样那一枚(`.javedition`)。「含 WIP」说的是同组还有一条半成品,
+ 这一条本身不是,配色弱于 WIP 本体。配音版着色带底,无声版弱化加虚线框。 */
+.peach-react [data-follow-edition] { margin-right: 6px; color: var(--ink-2); }
+.peach-react [data-follow-edition="wip"] { color: var(--meter); }
+.peach-react [data-follow-edition="has-wip"] { color: var(--muted); }
+.peach-react [data-follow-edition="voiced"] { color: var(--keep); background: color-mix(in srgb, var(--keep) 16%, transparent); }
+.peach-react [data-follow-edition="silent"] { color: var(--muted); border-style: dashed; }
+/* 「另见」是状态标记,不是标签:`--badge-radius`,虚线框,站名落在图标的 alt 上。 */
+.peach-react [data-follow-seealso] {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ padding: 2px 8px;
+ border: 1px dashed var(--border-15);
+ border-radius: var(--badge-radius);
+ color: var(--ink-2);
+ font-size: var(--fs-xs);
+}
+.peach-react [data-follow-seealso] [data-follow-site-icon] { margin: 0; }
/* 卡上的标签:线与底取类型色,没记类型的按 general 那一档蓝。 */
.peach-react [data-follow-item] [data-media-tag] {
--tag-color: #55a7ff;
diff --git a/frontend/src/react/follow-feed/follow-marks.ts b/frontend/src/react/follow-feed/follow-marks.ts
index a09a2ee06..207b19efc 100644
--- a/frontend/src/react/follow-feed/follow-marks.ts
+++ b/frontend/src/react/follow-feed/follow-marks.ts
@@ -2,7 +2,10 @@
*
* 都是拼好的 HTML 串,卡片与详情用 `dangerouslySetInnerHTML` 摆进去。图取不到时的回落由壳的
* `wireImageFallbacks()` 委托监听按 `data-drop` 系列属性接手(`web/js/image-fallback.js`),
- * 这里只写属性。创作者名、首字母与头像的取舍和关注管理页是同一份(`follow-manage.ts`)。 */
+ * 这里只写属性。创作者名、首字母与头像的取舍和关注管理页是同一份(`follow-manage.ts`)。
+ *
+ * 站点图标、版本字样与另见徽章按 `data-follow-*` 认,样式在 `follow-feed.css`。创作者圆框仍挂
+ * `favatar`:图坏了时回落脚本按 `data-drop-class` 换上一枚只带类名的首字母,接不住属性。 */
import { api, esc } from '@peach/legacy/core';
import {
@@ -19,7 +22,7 @@ const aliasesOf = (context: FollowContext) => context.aliases as readonly AliasG
export function sourceIcon(provider: string, label = ''): string {
const url = sourceIconUrl(provider);
return url
- ? `<img class="ficon" src="${url}" alt="${esc(label)}"${label ? ` title="${esc(label)}"` : ''} loading="lazy" data-drop="self">`
+ ? `<img data-follow-site-icon="" src="${url}" alt="${esc(label)}"${label ? ` title="${esc(label)}"` : ''} loading="lazy" data-drop="self">`
: '';
}
@@ -62,13 +65,15 @@ export function followIdentity(item: FollowItem, authorSources: readonly FollowS
* 配音版着色、无声版弱化加虚线框。 */
export function followTitleMarks(group: FollowGroup, shown: FollowItem = group.primary): string {
const marks: string[] = [];
- if (group.primary.variant_kind === 'wip') marks.push('<small class="javedition followmark wip">WIP</small>');
- else if (group.has_wip) marks.push('<small class="javedition followmark wip partial">含 WIP</small>');
+ const mark = (edition: string, label: string) =>
+ `<small class="javedition" data-follow-edition="${edition}">${label}</small>`;
+ if (group.primary.variant_kind === 'wip') marks.push(mark('wip', 'WIP'));
+ else if (group.has_wip) marks.push(mark('has-wip', '含 WIP'));
const version = text(group.primary.version);
- if (version) marks.push(`<small class="javedition followmark ver">${esc(version)}</small>`);
+ if (version) marks.push(mark('version', esc(version)));
const audio = text(shown.audio);
const label = audio === 'voiced' ? '配音版' : audio === 'silent' ? '无声版' : '';
- if (label) marks.push(`<small class="javedition followmark ${audio}">${label}</small>`);
+ if (label) marks.push(mark(audio, label));
return marks.join('');
}
@@ -80,7 +85,7 @@ export function followBadges(group: FollowGroup, shown: FollowItem = group.prima
.map((member) => [member.provider, member.provider_label || member.provider] as const));
if (!sites.size) return '';
const marks = [...sites].map(([provider, label]) => sourceIcon(provider, label) || `<span>${esc(label)}</span>`).join('');
- return `<span class="fbadge dup" title="另见 ${esc([...sites.values()].join('、'))}">另见 ${marks}</span>`;
+ return `<span data-follow-seealso="" title="另见 ${esc([...sites.values()].join('、'))}">另见 ${marks}</span>`;
}
/** 「媒体未取得」那一句,没有就是空串。 */
diff --git a/frontend/test/react/follow-marks.test.ts b/frontend/test/react/follow-marks.test.ts
index 541a01401..0d17f79b0 100644
--- a/frontend/test/react/follow-marks.test.ts
+++ b/frontend/test/react/follow-marks.test.ts
@@ -24,8 +24,8 @@ afterEach(() => { vi.useRealTimers(); vi.unstubAllGlobals() });
describe('来源图标', () => {
it('登记过的站出本机那枚图,取不到就撤掉;没登记的站是空串', () => {
expect(sourceIcon('kemono')).toBe(
- '<img class="ficon" src="/source-icon?provider=kemono" alt="" loading="lazy" data-drop="self">');
- expect(sourceIcon('f95zone', 'F95 <zone>')).toBe('<img class="ficon" src="/source-icon?provider=f95zone" '
+ '<img data-follow-site-icon="" src="/source-icon?provider=kemono" alt="" loading="lazy" data-drop="self">');
+ expect(sourceIcon('f95zone', 'F95 <zone>')).toBe('<img data-follow-site-icon="" src="/source-icon?provider=f95zone" '
+ 'alt="F95 &lt;zone&gt;" title="F95 &lt;zone&gt;" loading="lazy" data-drop="self">');
expect(sourceIcon('nowhere', '某站')).toBe('');
});
@@ -73,13 +73,14 @@ describe('创作者', () => {
describe('标题前后的字样', () => {
it('WIP 说这一条,同组有 WIP 说「含」;版本与声音版本各一枚', () => {
expect(followTitleMarks(group(item(1, { variant_kind: 'wip' })))).toBe(
- '<small class="javedition followmark wip">WIP</small>');
+ '<small class="javedition" data-follow-edition="wip">WIP</small>');
const shown = item(2, { audio: 'voiced' });
expect(followTitleMarks(group(item(1, { version: 'v<2>' }), { has_wip: true }), shown)).toBe(
- '<small class="javedition followmark wip partial">含 WIP</small>'
- + '<small class="javedition followmark ver">v&lt;2&gt;</small>'
- + '<small class="javedition followmark voiced">配音版</small>');
- expect(followTitleMarks(group(item(1)), item(3, { audio: 'silent' }))).toContain('followmark silent">无声版');
+ '<small class="javedition" data-follow-edition="has-wip">含 WIP</small>'
+ + '<small class="javedition" data-follow-edition="version">v&lt;2&gt;</small>'
+ + '<small class="javedition" data-follow-edition="voiced">配音版</small>');
+ expect(followTitleMarks(group(item(1)), item(3, { audio: 'silent' })))
+ .toContain('data-follow-edition="silent">无声版');
expect(followTitleMarks(group(item(1)))).toBe('');
});
@@ -88,8 +89,8 @@ describe('标题前后的字样', () => {
const mirror = item(2);
const forum = item(3, { provider: 'somewhere', provider_label: '某论坛' });
const badges = followBadges(group(primary, { duplicates: [mirror, forum] }), primary);
- expect(badges).toBe('<span class="fbadge dup" title="另见 Kemono、某论坛">另见 '
- + '<img class="ficon" src="/source-icon?provider=kemono" alt="Kemono" title="Kemono" loading="lazy" data-drop="self">'
+ expect(badges).toBe('<span data-follow-seealso="" title="另见 Kemono、某论坛">另见 '
+ + '<img data-follow-site-icon="" src="/source-icon?provider=kemono" alt="Kemono" title="Kemono" loading="lazy" data-drop="self">'
+ '<span>某论坛</span></span>');
expect(followBadges(group(primary, { duplicates: [mirror] }), mirror)).toContain('另见 Patreon');
expect(followBadges(group(primary))).toBe('');
diff --git a/tests/test_follow_web.py b/tests/test_follow_web.py
index 8cca8773c..d67bad4fe 100644
--- a/tests/test_follow_web.py
+++ b/tests/test_follow_web.py
@@ -3003,11 +3003,6 @@ class FollowWebSourceTests(unittest.TestCase):
横跨整个显示器。骨架照这个宽度画,换页时不会先宽一下再收回去。
"""
page = self.page
- rule = page[page.index(".followmanage{"):]
- rule = rule[:rule.index("}")]
- self.assertIn("width:min(812px,100%)", rule)
- self.assertIn("margin-left:auto;margin-right:auto", rule)
- self.assertNotIn("grid-template-columns", rule)
self.assertNotIn("faside", page)
# 标题与说明跟内容列同宽,否则标题悬空在更宽的位置上。
self.assertPageContains(
@@ -3027,15 +3022,9 @@ class FollowWebSourceTests(unittest.TestCase):
把两者混为一谈就会做成没有可读性的裸列表——而同一份文档明确警告过不要
因为躲开那些默认套路就做出一个无设计的模板。所以:分区有框,框里的行
- 只用分隔线。
+ 只用分隔线。分区的框是 `follow-manage` 岛的填充卡(`components/card.tsx`)。
"""
page = self.page
- section = page[page.index(".fsec{"):]
- section = section[:section.index("}")]
- self.assertIn("border:1px solid", section)
- self.assertIn("border-radius", section)
- self.assertIn("background:var(--ground)", section)
-
self.assertNotIn(".fcard{", page)
self.assertNotIn(".fsource{", page,
"旧来源卡片规则会给新行重新套上边框和圆角")
@@ -3055,8 +3044,8 @@ class FollowWebSourceTests(unittest.TestCase):
token,且一个字面像素都不留」。
"""
page = self.page
- # 查找结果现在属于同一个管理分区,所以字号检查也要覆盖这一段,直到关注页脚。
- block = page[page.index("/* ── 关注管理页 ──"):page.index("/* 关注页底部")]
+ # 管理区共用的反馈控件一段,到链接管理骨架为止(骨架的大数读数另有一档)。
+ block = page[page.index("/* ── 关注一族与管理区共用的反馈控件 ──"):page.index("/* 链接管理骨架的概览格")]
self.assertEqual(re.findall(r"font-size:[\d.]+px", block), [],
"面板里不该再有写死的字号")
steps = sorted({m for m in re.findall(r"font-size:var\(--fs-([a-z0-9]+)\)", block)})
@@ -3400,15 +3389,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertIsNone(web_follow._avatar_url(provider, ref),
f"{provider} 没有实测过的头像来源,不该猜一个")
- def test_wip_badge_describes_this_item_not_its_siblings(self):
- """`2B Camp [4K]` 判的是 alt,只因为同组还有一条 `[WIP]` 就挂上 WIP。
-
- `has_wip` 是组属性(`any(item.variant_kind == "wip" for item in self.variants)`),
- 角标却贴在主条目标题旁边,读起来就是「这一条是半成品」。哪一条挂哪枚字样由
- `frontend/test/react/follow-marks.test.ts` 量;这里只管「含 WIP」弱化的那一笔样式。
- """
- self.assertPageContains(".javedition.followmark.wip.partial{color:var(--muted)}")
-
def test_only_actionable_media_failures_enter_the_information_stream(self):
# 能动手的那两句(缺 F95 会话时分「部分」与「全部」)由 `follow-marks.test.ts` 量。
self.assertPageLacks("已显示可读取附件;F95 登录会话已保存")
@@ -3420,8 +3400,8 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains("text-decoration:none")
def test_follow_styles_exist_for_the_card_surface(self):
- for selector in (".followlist{", ".fbadge{"):
- self.assertPageContains(selector)
+ # 卡片本身的样式归 `follow-feed` 岛;壳里只剩进页骨架那面墙。
+ self.assertPageContains(".followlist{")
def test_follow_puts_the_media_buttons_at_the_top_row_left_behind_a_separator(self):
"""媒体类型在上排最左,隔一道竖线才是状态——跟资料页那条同一个次序。
diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.py
index 0f9988e97..20a24d0cd 100644
--- a/tests/test_source_assertion_ratchet.py
+++ b/tests/test_source_assertion_ratchet.py
@@ -39,7 +39,7 @@ BASELINE: dict[str, int] = {
"test_face_detect.py": 3,
"test_fastapi_api.py": 4,
"test_follow_assets.py": 1,
- "test_follow_web.py": 134,
+ "test_follow_web.py": 127,
"test_frontend_build.py": 80,
"test_job_status.py": 3,
"test_metadata_library.py": 7,
@@ -53,7 +53,7 @@ BASELINE: dict[str, int] = {
"test_web_e2e.py": 2,
"test_web_js.py": 1,
"test_web_settings.py": 5,
- "test_web_ui.py": 2604,
+ "test_web_ui.py": 2598,
"test_windows_update.py": 3,
}
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index 872b04912..560acb49e 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -509,8 +509,7 @@ class WebUiSourceTests(unittest.TestCase):
"""操作条以中性透明灰叠在框体上,与骨架使用同一灰阶。"""
self.assertPageContains("--page:#FAFAFA;")
self.assertPageContains("--page:#04060A;")
- for selector in (".cleanupfieldset", ".fsec",
- ".resourcesyncbox"):
+ for selector in (".cleanupfieldset", ".resourcesyncbox"):
self.assertPageContains(selector + "{", f"{selector} 应有一条自己的规则")
css = stylesheet_source()
for name in (".cleanupfieldset>.geist-fieldset-footer", ".resourcesyncfooter"):
@@ -520,22 +519,18 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn("var(--line-soft)", rule, f"{name} 与正文之间是一条发丝线")
def test_the_follow_job_panel_sits_on_the_card_tier_inside_the_section(self):
- """进度面板是灰面 `.fsec` 里的一张白卡,与查找结果卡同档。
+ """进度面板是灰面分区里的一张白卡,与查找结果卡同档。
它承载的只是一段进度,和查找结果卡一样躺在 `--ground` 的灰面上;透明或
- 同灰会让框只剩一圈边。面板不再与 `.fsec` 同灰,而是 CheckboxCard 那一档:
- `--field-ring` 发丝边配 primary 的白面。
+ 同灰会让框只剩一圈边。面板是 CheckboxCard 那一档:`--field-ring` 发丝边配
+ primary 的白面。分区卡本身归 `follow-manage` 岛(`components/card.tsx`)。
"""
css = stylesheet_source()
panel = css[css.index(".followtask{"):]
panel = panel[:panel.index("}")]
- section = css[css.index(".fsec{"):]
- section = section[:section.index("}")]
self.assertIn("border:1px solid var(--field-ring)", panel, "发丝边跟分区对齐")
self.assertIn("background:var(--color-background-primary-default)", panel,
"进度面板是灰面上的一张白卡")
- for token in ("border:1px solid var(--field-ring)", "background:var(--ground)"):
- self.assertIn(token, section, "分区容器是这一档的基准")
jobs = (Path(__file__).resolve().parents[1] / 'frontend/src/jobs.ts').read_text(encoding='utf-8')
self.assertIn('<section class="followtask" data-geist-fieldset aria-label="任务进度">', jobs)
@@ -1417,13 +1412,11 @@ class WebUiSourceTests(unittest.TestCase):
WIP、变体类型、最大/最长这些是状态标记,做成整圆就跟真标签抢同一种视觉身份,
用户会以为可以点。它们改用 `--badge-radius`;按钮和分段器用 `--control-radius`
(实测 Geist 的 6px);只有真正的标签、筛选令牌和连续的条保留 `--pill-radius`。
+ 关注卡上「另见」那枚的圆角在 `frontend/e2e/follow-source-icons.test.ts` 量。
"""
css = stylesheet_source()
self.assertEqual(re.findall(r"border-radius:9{2,}px", css), [],
"整圆一律走 --pill-radius,别再写字面值")
- for selector in (".fbadge{",):
- rule = css[css.index(selector):css.index("}", css.index(selector))]
- self.assertIn("var(--badge-radius)", rule, f"{selector} 是状态标记,不是标签")
def test_shared_geist_component_tokens_cover_the_whole_shell(self):
"""全站壳层、浮层和普通操作使用同一组语义 token。"""
@@ -1930,8 +1923,6 @@ class WebUiSourceTests(unittest.TestCase):
"""
css = stylesheet_source()
self.assertPageContains('<symbol id="i-external-link"')
- self.assertPageContains(".externallink{display:inline-flex;align-items:center;"
- "gap:2px;min-width:0}")
self.assertPageContains("svg.externalmark{width:1.15em;height:1.15em;flex:none;"
"align-self:center;")
self.assertPageContains("stroke:currentColor;fill:none;stroke-width:2;"
@@ -1989,15 +1980,13 @@ class WebUiSourceTests(unittest.TestCase):
"""
board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
for rule in (
- "body a:is(.externallink,[target=_blank])"
- ":not(:has([data-link-icon])):not(.cardlink){",
- "body a:is(.externallink,[target=_blank])"
- ":not(:has([data-link-icon])):not(.cardlink):hover{",
+ "body a[target=_blank]:not(:has([data-link-icon])):not(.cardlink){",
+ "body a[target=_blank]:not(:has([data-link-icon])):not(.cardlink):hover{",
):
self.assertIn(rule, board)
for weaker in (":not(:has(img)):not(.cardlink){", ":not(:has(img)):hover{",
":not(:has(img,[data-link-icon]))",
- "body a:is(.externallink,[target=_blank]):not(.cardlink){"):
+ "body a[target=_blank]:not(.cardlink){"):
self.assertNotIn(weaker, board)
def test_the_waiting_filter_frame_is_one_slab_not_two(self):
@@ -3351,7 +3340,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn('align-items:center', note)
self.assertIn('background:color-mix(in srgb,var(--feedback-color) 8%,var(--ground))', note)
self.assertPageContains('.geist-note.geist-note>p{margin:0;color:inherit;font:inherit;align-self:center}')
- self.assertIn('body a:is(.externallink,[target=_blank]):not(:has([data-link-icon])):not(.cardlink):hover'
+ self.assertIn('body a[target=_blank]:not(:has([data-link-icon])):not(.cardlink):hover'
'{background:transparent;text-decoration:underline;box-shadow:none}', board)
self.assertIn('.board-link-button:hover{background:transparent;text-decoration:underline;box-shadow:none}', board)
@@ -4105,11 +4094,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("void openFollowManage(true,'add')")
self.assertPageContains('.emptystate .es-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}')
- def test_follow_author_actions_stay_in_the_heading_row(self):
- board = (Path(__file__).resolve().parents[1] / 'web/board.css').read_text(encoding='utf-8')
- self.assertIn('.followmanage .board-follow-list .board-author-actions{width:auto;flex:none}', board)
- self.assertNotIn('.board-author-actions{width:100%', board)
-
def test_top_level_highlight_is_exclusive_and_covers_index_pages(self):
"""首页高亮只看 state.state 的话,进管理区和索引页时它仍然亮着,两个入口一起亮。"""
# 高亮由「当前路径匹配到哪条路由」决定,索引页和实体页因此天然分开:
@@ -5269,8 +5253,6 @@ class WebUiSourceTests(unittest.TestCase):
勾 200ms 从零画出。分区标题行里的视图开关与同排按钮同高,图标与 fbtn 的字形同粗。
"""
board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
- self.assertIn(".followmanage .fsec:has(.board-follow-selection){padding:0;border-radius:18px;background:var(--ground);overflow:visible}"
- ".followmanage .fsec>.board-follow-selection{padding:4px 24px 12px}", board)
self.assertIn("--color-border-checkbox-default:#d4d4d4;--color-border-checkbox-hover:#a3a3a3", board)
# 暗档的默认边线比上游亮一档:框底就是卡面色,那 1px 是这个形状唯一的证据。
self.assertIn("--color-border-checkbox-default:#525252;--color-border-checkbox-hover:#737373", board)
@@ -6148,7 +6130,8 @@ class WebUiSourceTests(unittest.TestCase):
# 全站按元素类型盖:内容 img / video / videojs 海报层一个不落。
self.assertCode("body.censor img,body.censor video,body.censor .vjs-poster{\n filter:blur(30px) saturate(.3) brightness(.6)}")
# 豁免只给与内容无关的界面小图:品牌标、来源徽章、favicon。
- self.assertPageContains("body.censor .brand .mark,body.censor .src img,body.censor .ficon{filter:none}")
+ self.assertPageContains(
+ "body.censor .brand .mark,body.censor .src img,body.censor [data-follow-site-icon]{filter:none}")
# 开关变化经宿主的 `setCensored` 写回 localStorage 并撤掉正在飞的悬停预览。
self.assertIn("onToggle={(on) => current.setCensored(on)}", panel)
self.assertPageContains("if(on)releaseHoverPreviews()")
diff --git a/web/board.css b/web/board.css
index 3751a5bb3..cac2527ac 100644
--- a/web/board.css
+++ b/web/board.css
@@ -249,9 +249,6 @@ html[data-theme-snapshot] :is(.board-filter-frame,.entitytagbar,.entitycollectio
/* Peach-owned media and analytics layouts. */
html.board-high-contrast .board-filter-frame.board-filter-frame.board-filter-frame,html.board-high-contrast .entitytagbar.entitytagbar.entitytagbar,html.board-high-contrast .entitycollectionhead.entitycollectionhead.entitycollectionhead,html.board-high-contrast .drawer.drawer,html.board-high-contrast .edge.edge,html.board-high-contrast .top .search.search,html.board-high-contrast .top.top>.ib{background:var(--ground);backdrop-filter:none;-webkit-backdrop-filter:none;animation:none}
:root{--board-card-foot:color-mix(in srgb,var(--ground) 92%,var(--ink))}
-.followmanage.followmanage{width:100%;max-width:1120px}
-.followmanage .fmain{width:100%;max-width:1120px;margin-inline:auto;gap:20px}
-.followmanage .fmain>.fsec{border:0;border-radius:18px;background:var(--ground);overflow:visible}
.configfieldset.configfieldset:not([data-fieldset-type])>.geist-fieldset-footer,.cleanupfieldset.cleanupfieldset>.geist-fieldset-footer{background:var(--board-card-foot)}
@@ -286,8 +283,6 @@ body{background:var(--page)}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--page:#111;--ground:#1c1c1c;--surface:#232323;--sunk:#171717;--ink:#fafafa;--ink-2:#d4d4d4;--muted:#a3a3a3;--line:#383838;--line-soft:#303030;--inset:#303030;--picked:#303030;--hover:rgba(255,255,255,.07)}}
/* One sidebar, two states. Navigation and filters share the expanded panel. */
-.followmanage .fmain>.fsec{padding:0}
-
:root{--railW:88px;--board-content:1120px}
body.drawer-open{--railW:296px}
.drawer{left:12px;top:12px;bottom:12px;width:272px;background:var(--ground);backdrop-filter:none;border:1px solid var(--line);border-radius:24px;transform:translateX(calc(-100% - 16px));box-shadow:0 2px 4px #00000003;transition:none}
@@ -772,10 +767,7 @@ button,input,select,textarea{font-family:inherit}
/* 数据按阅读目的分组,标题与内容共享边缘。 */
.insightpage,.tastepage{width:100%;max-width:var(--board-content)}
-.followmanage .fmain{gap:28px}
.configfieldset-heading{border:0;padding-bottom:0}.configfieldset{border:0}.configfieldset>.geist-fieldset-footer{border:0}.configfieldset .configfieldset-heading h2{margin:0}
-.board-follow-list{display:grid;border-radius:16px;background:var(--ground);padding:8px 16px}.board-follow-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 12px;font-size:13px}.board-follow-selection>label{display:flex;gap:8px;align-items:center}.board-follow-selection>span{margin-right:auto;color:var(--muted)}
-@media(max-width:760px){.board-follow-list{padding:8px}}
@media(max-width:760px){body #manageTitle{width:100%}}
/* 强调色的十一级色阶。机制照搬 BoardUI:主按钮、焦点环、链接、开关、选中态全都引用
@@ -829,7 +821,7 @@ button,input,select,textarea{font-family:inherit}
面板、筛选条、交集条和标签骨架都从它取值,一处改完五处一起走。 */
:root{--tag-radius:8px}
body,.disp{font-family:var(--board-font);letter-spacing:0}body{font:var(--board-body)}button,input,textarea,select{font-family:var(--board-font)}
-.pagetitle,.listtitle,body #manageTitle,.index .ihead h2,.indexheading,.playlistpage h2{font:var(--board-title);letter-spacing:0}.configfieldset h2,.configfieldset h3,.cleanupfieldset h3,.resourcesync>h2{font:var(--board-heading);letter-spacing:0}.metricstrip>button .board-stat-value,.tastesummary>.board-stat-value{font:var(--board-figure);letter-spacing:0}.drawer .dnav button,.board-library-rows button{font:var(--board-body)}.fmeta{font:var(--board-compact)}.board-stat-footer,.board-watch-measures small,.insighttoolbar p{font:var(--board-caption);letter-spacing:.15px}
+.pagetitle,.listtitle,body #manageTitle,.index .ihead h2,.indexheading,.playlistpage h2{font:var(--board-title);letter-spacing:0}.configfieldset h2,.configfieldset h3,.cleanupfieldset h3,.resourcesync>h2{font:var(--board-heading);letter-spacing:0}.metricstrip>button .board-stat-value,.tastesummary>.board-stat-value{font:var(--board-figure);letter-spacing:0}.drawer .dnav button,.board-library-rows button{font:var(--board-body)}.board-stat-footer,.board-watch-measures small,.insighttoolbar p{font:var(--board-caption);letter-spacing:.15px}
.geist-button,.resourceaction{background-color:var(--color-background-primary-default);border-color:var(--color-border-button-default);color:var(--color-text-primary);transition:background-color .15s ease,border-color .15s ease,color .15s ease}
/* 悬停只抬填充,那圈线一步不动:按钮静止态已经带一圈 1px,悬停再把它加深,
鼠标扫过一排次级键就是一排边框忽明忽暗,而键本身并没有变化。 */
@@ -928,14 +920,6 @@ body :is(button.danger,.batchbar button.danger):not(:disabled):active::before{op
:root{--board-card-foot:color-mix(in srgb,var(--ground) 98%,var(--ink))}
.board-sidebar-head #brandHome .mark{color:var(--glass-text)}
.configfieldset>.geist-fieldset-footer,.cleanupfieldset>.geist-fieldset-footer,.resourcesyncfooter{border-top-left-radius:0;border-top-right-radius:0;background:var(--board-card-foot)}
-.followmanage .board-follow-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:0;background:none}
-.followmanage .board-author-toggle{margin-left:auto;flex:none}.board-author-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
-/* 表格视图在 Board 层套的是 Board 自己的 token:表头次级底、三级字、分隔线色都取自
- boardui 同名变量。外框用 primary 底而不是作者卡那块 --ground:Board 层把 --ground 定成了
- secondary,和表头同色,表头那条带子就没了;boardui 的表格本来就摆在 primary 面上。 */
-.followmanage .ftableframe{border:1px solid var(--color-separator-border);border-radius:var(--surface-radius);background:var(--color-background-primary-default);overflow:hidden}.followmanage .ftablewrap{border-radius:0;background:transparent}.followmanage .ftable th{border-top:0}
-.followmanage .ftable th{color:var(--color-text-tertiary);background:var(--color-background-secondary-default);border-color:var(--color-separator-border)}
-.followmanage .ftable tbody tr{border-color:var(--color-separator-border)}
/* 导航图形使用同宽槽位;logo 的透明边距按实际可见轮廓适配。 */
.board-home-logo{width:20px;height:20px}.drawer:not(.open) .dnav button:has(.board-home-logo){padding:8px}
@@ -993,15 +977,14 @@ body :is(.popmenu,.gselectmenu)>:is(button,[role=option],[role=menuitem]):is(:ho
排除条件写的是那枚圆盘 `[data-link-icon]`(资料卡岛里的)本身,不写「有没有 `<img>`」:常见社媒的标记
是内联 `<svg>`,一枚 `<img>` 都没有,按后一个判据照样漏进来。只认圆盘还把这条豁免收在
资料页那一排上,别处的外链——包括包着图的——继续按这条走,不因为多一张图就长出个框。 */
-body a:is(.externallink,[target=_blank]):not(:has([data-link-icon])):not(.cardlink){display:inline-flex;align-items:center;gap:4px;min-height:20px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:var(--tungsten);font-weight:500;text-decoration:none;text-underline-offset:3px}
-body a:is(.externallink,[target=_blank]):not(:has([data-link-icon])):not(.cardlink):hover{background:transparent;text-decoration:underline;box-shadow:none}.externallink .externalmark{width:18px;height:18px;flex:none}
+body a[target=_blank]:not(:has([data-link-icon])):not(.cardlink){display:inline-flex;align-items:center;gap:4px;min-height:20px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:var(--tungsten);font-weight:500;text-decoration:none;text-underline-offset:3px}
+body a[target=_blank]:not(:has([data-link-icon])):not(.cardlink):hover{background:transparent;text-decoration:underline;box-shadow:none}
.board-link-button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:4px;max-width:100%;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;color:var(--tungsten);font:inherit;font-weight:500;text-decoration:none;text-underline-offset:3px;transition:color .15s ease}
.board-link-button:hover{background:transparent;text-decoration:underline;box-shadow:none}
.board-link-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}
.board-link-button>svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(90deg)}
body :is(.board-chip,.badge){display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 6px;min-height:24px;box-sizing:border-box;border:0;border-radius:6px;background:var(--color-background-tertiary-default);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap}
body .board-chip.success{background:color-mix(in srgb,#84cc16 16%,var(--color-background-primary-default));color:#4d7c0f}body .board-chip.error{background:color-mix(in srgb,#f43f5e 12%,var(--color-background-primary-default));color:#e11d48}
-.fprovider{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
:is(.board-button-group,[data-button-group]){display:inline-flex;align-items:center;overflow:hidden;border:1px solid var(--color-border-button-default);border-radius:10px;background:var(--color-background-primary-default);box-shadow:var(--elevation-xs)}
:is(.board-button-group,[data-button-group])>button{height:34px;padding:0 12px;border:0;border-radius:0;box-shadow:none;color:var(--color-text-secondary);font:var(--board-body);white-space:nowrap}
:is(.board-button-group,[data-button-group]):not([data-variant=primary])>button{background:transparent}
@@ -1009,12 +992,6 @@ body .board-chip.success{background:color-mix(in srgb,#84cc16 16%,var(--color-ba
:is(.board-button-group,[data-button-group])>button:is(:hover,[aria-pressed=true],[aria-selected=true]):not(.primary){background:var(--control-hover);color:var(--color-text-primary)}
:is(.board-button-group,[data-button-group])>button:focus-visible{position:relative;z-index:1;outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}
@media(prefers-reduced-motion:reduce){.board-tooltip{transition:none}}
-.board-author-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
-.board-author-actions .board-author-toggle{margin:0}
-/* 同底色上的嵌套卡(作者卡里的来源行)按 10px 圆角取 shadow-sm:
- BoardUI 的 shadow-xs 出自 24px 大圆角的 auth-card(2026-09-09 取证登记
- boardui-auth-card),贴地细影在小圆角上只剩一条硬边读成环,sm 多一档 3px 扩散。 */
-.followmanage .fsec:has(.board-follow-selection){padding:0;border-radius:18px;background:var(--ground);overflow:visible}.followmanage .fsec>.board-follow-selection{padding:4px 24px 12px}
@media(max-width:1000px){.cleanupgrid [data-cleanup-processing],.resourcesyncbox[data-cleanup-task]{grid-template-columns:1fr}.cleanupgrid [data-cleanup-processing]>:is(.geist-fieldset-footer,[data-geist-fieldset-footer]),.resourcesyncbox[data-cleanup-task]>.resourcesyncfooter{justify-content:flex-start;padding-top:0}}
.metricstrip>button[aria-selected=true]{background:var(--color-background-primary-default);box-shadow:none}.metricstrip>button[aria-selected=true]::after{box-sizing:border-box}.metricstrip>button[aria-selected=true] .board-stat-footer{background:var(--board-card-foot)}
body .gselectmenu [role=option][aria-selected=true],body .popmenu [aria-checked=true]{background:color-mix(in srgb,var(--color-text-primary) 10%,var(--color-background-primary-default));color:var(--color-text-primary)}
@@ -1135,7 +1112,6 @@ html.board-high-contrast :is(.selectiondock,.batchbar,.card .badge,[data-glass-p
肉眼可见地淡出。 ── */
.board-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:16px}
.board-pagination>ul{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
-body .followmanage .board-pagination>.geist-button{height:32px;min-height:32px;padding:6px 8px;border-radius:8px}
.board-pagination>.geist-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.board-page,.board-page-dots{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:8px;background:none;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums}
.board-page{cursor:pointer;transition:none}
@@ -1171,15 +1147,6 @@ body .followmanage .board-pagination>.geist-button{height:32px;min-height:32px;p
:is(.followauthors,.followworks,.relatedpeople){gap:4px;align-items:center}
.followworks{padding:0 0 10px;margin:0 0 2px;overscroll-behavior-inline:contain}
-/* ── 关注列表整段进框,与「添加关注」同一只卡:头 20/24/8,选择栏与列表左右 24,脚是卡片脚 ──
- 作者卡是 primary 面上的一只卡;来源行照 boardui checkbox-card.tsx:10px 圆角、1px border-button-default、
- pl 16 / pr 20 / py 12,悬停 primary-hover 150ms;行距 8px。选中行沿用焦点环色的边(上游 CheckboxCard 只亮勾选框)。 */
-.followmanage .board-follow-list{padding:0;background:transparent;gap:16px}
-@media(max-width:760px){.followmanage .fsec>.board-follow-selection{padding:4px 16px 12px}}
-/* ── 表格:外框管边线与圆角,里层管横向滚动与两端渐隐。选中行是蓝色 8% 的一层底,不描蓝线(上游选中行样式未取得) ── */
-.followmanage .ftable tbody tr{transition:background-color .15s ease}
-.followmanage .ftable tbody tr:last-child{border-bottom:0}
-
/* ── 勾选框(boardui checkbox-glyph.tsx):未选 1px border-checkbox-default 加 shadow-xs,悬停边线深一档、底不变;
选中蓝渐变 + 内嵌高光;勾 2px 圆头,200ms cubic-bezier(.65,0,.35,1) 从零画出。tokens:亮 neutral-300/400,暗 neutral-600/500。
暗档的默认边线比上游 theme.css 的 neutral-700 亮一档:这颗框的底就是卡面色,形状全靠那 1px 说话,
@@ -1244,8 +1211,7 @@ body .followmanage .board-pagination>.geist-button{height:32px;min-height:32px;p
/* ── Board 第三批:主按钮尺寸、配置页白底、通知与提醒、批量条、关注行图标、侧栏切换器 ── */
/* 主按钮与旁边的 Board 按钮同一副盒子:36px、10px 圆角、Body Medium。 */
body :is(.geist-button,.resourceaction,.geist-fieldset-footer>a,.geist-fieldset-footer>button).primary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border-radius:10px;font:var(--board-body-medium);white-space:nowrap}
-/* 提醒条与上下内容留 12px:关注页检查结果、扫描卡失败都是同一个 Note。 */
-body .followmanage .fwarn{margin:0 0 12px}
+/* 提醒条与上下内容留 12px:扫描卡失败也是同一个 Note。 */
body .library-processing [role=alert]>.geist-note{margin-top:12px}
/* 复核页的骨架与别的管理页同宽;分类那一列不悬浮,它是左右分栏里固定的一栏。 */
body .review{width:100%;max-width:var(--board-content);margin:0 auto;box-sizing:border-box}
@@ -1323,50 +1289,10 @@ body .batchbar button[hidden],body .batchbar button.danger[hidden]{display:none}
.drawer .board-sidebar-head #filterBtn:hover{background:none;color:var(--color-text-primary)}
@media(min-width:761px){.drawer:not(.open) .board-sidebar-head{min-height:0;gap:10px;align-items:center;justify-content:flex-start}.drawer:not(.open) .board-sidebar-head #filterBtn{width:36px;height:20px}.drawer:not(.open) #brandHome{width:32px;height:32px;min-height:32px;padding:0;max-width:none}.drawer:not(.open) #brandHome .mark{width:32px;height:32px}}
-/* 关注工作区:Board Tabs、读数与 Table 的层级,业务分区保留各自表单。 */
-.followmanage .fmanageoverview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
/* 关注管理工作区切换属于分段控件一族:4px 内边距、10px 外圆角、tertiary 灰轨道,
滑块与色变由 wireBoardSegments 的共享驱动负责,200ms 一条缓动。 */
.follow-workspace-switch{position:relative;display:inline-flex;align-items:center;gap:2px;width:max-content;max-width:100%;min-height:0;padding:4px;border:0;border-radius:10px;background:var(--color-background-tertiary-default);overflow:visible}
.follow-workspace-switch button{position:relative;z-index:1;display:inline-flex;flex:none;align-items:center;gap:6px;height:auto;min-height:28px;margin:0;padding:4px 10px;border:0;border-radius:6px;background:none;box-shadow:none;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:color .2s cubic-bezier(.4,0,.2,1)}
.follow-workspace-switch button:hover{background:none;color:var(--color-text-primary)}
.follow-workspace-switch button[aria-selected=true]{background:none;color:var(--color-text-primary);box-shadow:none}
-.followmanage .fmain>[data-follow-workspace-panel][hidden]{display:none}
-.fmanageoverview>div{display:grid;gap:12px;padding:20px 24px;background:var(--ground);border-radius:var(--surface-radius);min-width:0}
-.fmanageoverview span{font:var(--board-body-medium);color:var(--muted)}
-.fmanageoverview b{font:var(--board-figure);font-variant-numeric:tabular-nums}
-.fmanageoverview small{font:var(--board-compact);color:var(--muted);white-space:nowrap}
-.followmanage .fmanagenav{display:flex;position:relative;gap:16px;overflow-x:auto;margin:4px 0 0;border-bottom:1px solid var(--line-soft);min-width:0}
-.fmanagenav>button{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--muted);font:var(--board-body-medium);cursor:pointer}
-.fmanagenav>button:hover{color:var(--ink)}
-.fmanagenav>button[aria-selected=true]{color:var(--tungsten)}
-.fmanagenav>button>span{padding:1px 5px;border-radius:var(--badge-radius);background:var(--picked);color:var(--muted);font:var(--board-caption);font-variant-numeric:tabular-nums}
-.followmanage .fmain>[data-follow-panel][hidden]{display:none}
-.followmanage .fmain>[data-follow-panel=sources]{background:transparent}
-
-.followmanage .fmain>[data-follow-panel=sources]>.board-follow-selection{padding:12px 16px;background:var(--ground);border-radius:var(--surface-radius) var(--surface-radius) 0 0;border-bottom:1px solid var(--line-soft)}
-.followmanage [data-follow-panel=sources] .board-follow-list{gap:0;background:var(--ground);border-radius:0 0 var(--surface-radius) var(--surface-radius);overflow:hidden}
-.followmanage [data-follow-panel=sources] .ftableframe{border-top:0;border-radius:0 0 var(--surface-radius) var(--surface-radius)}
-.followmanage .fmain>[data-follow-panel=add]{max-width:812px;width:100%;justify-self:center}
-
-@media(max-width:760px){
- .followmanage .fmanageoverview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
- .fmanageoverview>div{padding:16px;gap:8px}
- .followmanage .fmanagenav{gap:4px}
- .fmanagenav>button{padding-inline:8px;gap:6px}
-
- .followmanage .fmain>[data-follow-panel=sources]>.board-follow-selection{padding:12px}
-}
-
-.followmanage .board-follow-list .board-author-actions{width:auto;flex:none}
-.board-author-actions [data-follow-author-select]>svg{width:16px;height:16px;flex:none}
-.followmanage .followcheckall{margin-left:auto}
-.followtoolbaractions{display:flex;align-items:center;gap:8px;margin-left:auto;max-width:100%;flex-wrap:nowrap}
-.followmanage [data-follow-collapse-all]{flex:none}
-.followmanage [data-follow-collapse-all][hidden]{display:none}
-.followmanage .board-follow-selection[hidden]{display:none}
.geist-note-details a{color:var(--ink)}
-@container(max-width:460px){.board-author-actions [data-author-select-label]{display:none}.followmanage .board-follow-list .board-author-actions [data-follow-author-select]{width:var(--control-h);height:var(--control-h);padding:0;justify-content:center}}
-.followmanage .board-follow-list .fprovider{flex-wrap:nowrap;white-space:nowrap}
-.followmanage .skeleton-icon{width:32px;height:32px;display:block}
-.followmanage .favatar.skeleton{display:block}
diff --git a/web/css/01-base.css b/web/css/01-base.css
index a3494d292..6282ff868 100644
--- a/web/css/01-base.css
+++ b/web/css/01-base.css
@@ -326,10 +326,9 @@ button,a,input,textarea,select,summary{touch-action:manipulation}
紧跟文字 2px、与文字行居中、颜色就是链接自己的 currentColor
(docs/reference-snapshots/vercel-geist-external-link-mark.md)。尺寸不是全站一个常数,
而是相对所在文字抬一档,16/14≈1.15em,所以 12px 小字旁边它也跟着小、比例不变。
- 全站只有这两条,页面各自不再调档:这一枚每次说的都是同一件事,尺寸和间距按页面
+ 全站只有这一条,页面各自不再调档:这一枚每次说的都是同一件事,尺寸和间距按页面
分档的话,同一个意思就有八个长相,并排放着像是八种不同的标。
- 间距只由 .externallink 的 gap 说:挂在标自己身上会和容器的 gap 叠起来。 */
-.externallink{display:inline-flex;align-items:center;gap:2px;min-width:0}
+ 间距只由所在链接的 gap 说:挂在标自己身上会和容器的 gap 叠起来。 */
svg.externalmark{width:1.15em;height:1.15em;flex:none;align-self:center;
stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.geist-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}
diff --git a/web/css/17-overlay.css b/web/css/17-overlay.css
index cff2d90c9..c0e52dd4d 100644
--- a/web/css/17-overlay.css
+++ b/web/css/17-overlay.css
@@ -29,4 +29,4 @@
悬停预览由 JS 停止启动,文字不受图片滤镜影响。 */
body.censor img,body.censor video,body.censor .vjs-poster{
filter:blur(30px) saturate(.3) brightness(.6)}
-body.censor .brand .mark,body.censor .src img,body.censor .ficon{filter:none}
+body.censor .brand .mark,body.censor .src img,body.censor [data-follow-site-icon]{filter:none}
diff --git a/web/css/21-online.css b/web/css/21-online.css
index ba3bbdd19..2e74a72a5 100644
--- a/web/css/21-online.css
+++ b/web/css/21-online.css
@@ -2,28 +2,17 @@
.follow{padding:4px 0 42px}
.followhead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.followhead .pagetitle{margin:0}
-/* 以上与下面 `.followauthors`、`.followlist`、照片墙档位只剩进页骨架在用;页面本身归
- `follow-feed` 岛(`frontend/src/react/follow-feed/follow-feed.css`),详情归 `follow-detail` 岛
- (`frontend/src/react/follow-detail/follow-detail.css`)。 */
+/* 这个文件只剩进页骨架(`followContentSkeletonHtml`)在用;页面本身归 `follow-feed` 岛
+ (`frontend/src/react/follow-feed/follow-feed.css`,卡上的站点图标、版本字样与另见徽章也在那里),
+ 详情归 `follow-detail` 岛(`frontend/src/react/follow-detail/follow-detail.css`)。 */
.followauthors{padding:3px 0 10px;margin:0 0 2px;overscroll-behavior-inline:contain}
.followauthors .av{width:76px}
-.ficon{width:14px;height:14px;border-radius:var(--badge-radius);object-fit:contain;
- vertical-align:-2px;margin-right:5px}
.followlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--tile),1fr))}
.followlist.followphotowall{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px 10px;align-items:start}
/* 固定比例视图的媒体框在懒加载前占好高度。 */
@media (max-width:1400px){.followlist.followphotowall{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1000px){.followlist.followphotowall{grid-template-columns:repeat(3,minmax(0,1fr))}}
.followphotowall[data-images-only="true"] .skeletoncard :is(b,em){display:none}
-/* 标题前的版本字样。「含 WIP」说的是同组里还有一条半成品,这一条本身不是,配色弱于
- WIP 本体。配音版着色带底,无声版弱化加虚线框。 */
-.javedition.followmark{margin-right:6px;color:var(--ink-2)}
-.javedition.followmark.wip{color:var(--meter)}
-.javedition.followmark.wip.partial{color:var(--muted)}
-.javedition.followmark.voiced{color:var(--keep);background:color-mix(in srgb,var(--keep) 16%,transparent)}
-.javedition.followmark.silent{color:var(--muted);border-style:dashed}
-.fbadge{padding:2px 8px;border:1px solid var(--border-15);border-radius:var(--badge-radius);font-size:var(--fs-xs);color:var(--ink-2)}
-.fbadge.dup{border-style:dashed;display:inline-flex;align-items:center;gap:4px}.fbadge.dup .ficon{margin:0}
@media (max-width:640px){.followhead{align-items:center}
.followauthors{margin-right:-12px;padding-top:3px}
.followlist.followphotowall{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
diff --git a/web/css/22-followmanage.css b/web/css/22-followmanage.css
index 9a37a69ec..66276ada3 100644
--- a/web/css/22-followmanage.css
+++ b/web/css/22-followmanage.css
@@ -1,17 +1,7 @@
-/* ── 关注管理页 ──
- 取证记录见 docs/reference-snapshots/vercel-geist-controls-measured.md。
- 上一版把「避免卡片套卡片」误读成「不要任何容器」,做成了没有可读性的裸列表——
- 而同一份文档明确警告过不要因为躲开那些默认套路就做出一个无设计的模板。
- 2026-08-26 实测 vercel.com/templates:页面底色纯黑,卡片是 8px 圆角 +
- 1px `rgb(41,41,41)` 发丝边 + `rgb(10,10,10)` 比页面亮一档的表面,没有阴影。
- 所以容器要有框;不要的是**框里再套框**——卡片内部的行只用分隔线。
- 控件仍按实测 Geist:32px 高、14px 字、6px 圆角。 */
-.followmanage{padding:2px 0 48px;display:grid;gap:20px;width:min(812px,100%);
- margin-left:auto;margin-right:auto;align-items:start;font-size:var(--fs-md)}
-.fmain{display:grid;gap:20px;min-width:0}
-/* 容器:发丝边 + 比页面亮一档的表面。内部的行不再各自套框。 */
-.fsec{min-width:0;border:1px solid var(--field-ring);border-radius:var(--surface-radius);
- background:var(--ground);padding:14px 16px 16px}
+/* ── 关注一族与管理区共用的反馈控件 ──
+ 关注管理页本身归 `follow-manage` 岛,分区卡是 `frontend/src/react/components/card.tsx`。这里剩下的
+ 是壳与几座岛都在挂的 Geist Note、项目横幅、上下文卡、任务进度面板、创作者圆框、行内链接,
+ 以及链接管理骨架与进度圆环。控件按实测 Geist(docs/reference-snapshots/vercel-geist-controls-measured.md)。 */
/* Geist Note:字段、卡片、分区旁的持久上下文,以及需要用户处理的失败,全部走这里。
瞬时回执用 toast,销毁确认用 dialog/confirm。整页范围的失败也是这个盒子,只是多
@@ -61,24 +51,10 @@
.fwarn>span{min-width:0}
.fwarn p{margin:0}
-/* 表格视图。数值取自 boardui.com/components/data-table 的 `.bui-table`(2026-09-08,
- 登记见 docs/BOARD_UI.md):表头与格子都是 10px 12px 内边距、14/20、竖直居中;表头
- 500 字重、次要字色、次级底色、上下各一条分隔线;正文行只有一条下边线,悬停不换底。
- 窄屏不折叠列——它的做法是容器横向滚动,这里照做。 */
-.ftablewrap{overflow-x:auto;overscroll-behavior-x:contain}
-.ftable{width:100%;min-width:760px;border-collapse:collapse;text-align:left;font-size:var(--fs-md);line-height:20px}
-.ftable th,.ftable td{padding:10px 12px;vertical-align:middle}
-.ftable th{font-weight:500;white-space:nowrap;color:var(--muted);background:var(--sunk);
- border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
-.ftable tbody tr{border-bottom:1px solid var(--line-soft)}
-.ftable tbody tr:last-child{border-bottom:0}
-
-/* 进度面板与它上下的分区是同一档容器:发丝边 --field-ring 加 --ground 的面。
- `--border-10` 配 `--surface` 会让它在同一列里比 `.fsec` 亮一档、边又淡一档,
- 读起来像另一种东西浮在页面上。 */
+/* 进度面板(`frontend/src/jobs.ts`):发丝边 --field-ring 配 primary 的白面,和 CheckboxCard 同一档,
+ 躺在分区的 --ground 灰面上是一张白卡。 */
.followtask{border:1px solid var(--field-ring);border-radius:var(--surface-radius);background:var(--color-background-primary-default);margin-bottom:16px}
.followtask>.geist-fieldset-content{padding:20px;min-width:0;overflow-wrap:anywhere}
-.followmanage .followtask{margin-bottom:0}
.favatar{width:28px;height:28px;flex:none;border-radius:var(--pill-radius);object-fit:cover;
background:var(--overlay-5);outline:1px solid oklch(1 0 0 / 0.1);outline-offset:-1px}
/* 取不到头像时是一个明确的空位,不是首字母——首字母会让「未取得」看着像取到了。 */
@@ -90,18 +66,6 @@
.flink{border:0;background:none;padding:0;color:var(--tungsten);font:inherit;cursor:pointer}
.flink:hover{color:var(--tungsten);text-decoration:none}
.empty .flink{margin-left:6px}
-.followmanage [data-follow-workspace-panel="list"]{scroll-margin-top:calc(var(--topH) + 16px)}
-
-@media (max-width:640px){
- .fsec{padding:12px 13px 14px}
-
-}
-
-/* 关注页底部:两个翻页动作同属列表末尾,放在一条底栏;
- 按钮仍保留各自的本地加载 / 站点抓取语义。 */
-.followpagination{display:flex;align-items:center;gap:14px 24px;min-width:0;margin:18px 0 0;
- padding-top:14px;border-top:1px solid var(--line-soft);white-space:nowrap;overflow-x:auto}
-@media(max-width:640px){.followpagination{align-items:flex-start;flex-wrap:wrap;white-space:normal}}
/* 资源标识统一由 MiddleTruncate 计算可见文本。星号让本规则与「类 + 元素」的末尾省略
选择器同权重,并凭源码顺序覆盖,避免两套省略同时生效。 */
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 8e7ed4ab0..c26f4cc06 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [class~=board-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [class~=board-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 3610b529e..fbc388802 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -27349,7 +27349,7 @@ function ere(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function MS(e, t, n) {
+function tre(e, t, n) {
let r = rx(n) ? void 0 : 0, i = jS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: q(Ef({
...e,
@@ -27364,7 +27364,7 @@ function MS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var NS = class {
+var nre = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -27408,11 +27408,11 @@ var NS = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function PS(e, t, n) {
+function MS(e, t, n) {
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Lf(), { collectionProps: l } = S_({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, L.useMemo)(() => new NS(a, c, r, s), [
+ keyboardDelegate: (0, L.useMemo)(() => new nre(a, c, r, s), [
a,
s,
r,
@@ -27435,7 +27435,7 @@ function PS(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function FS(e) {
+function NS(e) {
let [t, n] = $f(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, L.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = Y_({
...e,
selectionMode: "single",
@@ -27459,24 +27459,24 @@ function FS(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function IS(e) {
- let t = FS({
+function PS(e) {
+ let t = NS({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? LS(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? FS(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, L.useRef)(i);
return (0, L.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = LS(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = FS(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function LS(e, t) {
+function FS(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -27486,20 +27486,20 @@ function LS(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var RS = /*#__PURE__*/ (0, L.createContext)(null), zS = /*#__PURE__*/ (0, L.createContext)(null), BS = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = Iu(e, t, RS);
+var IS = /*#__PURE__*/ (0, L.createContext)(null), LS = /*#__PURE__*/ (0, L.createContext)(null), RS = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = Iu(e, t, IS);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, L.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ L.createElement(Jp, { content: n }, (n) => /*#__PURE__*/ L.createElement(VS, {
+ }) : n, [n, r]), /*#__PURE__*/ L.createElement(Jp, { content: n }, (n) => /*#__PURE__*/ L.createElement(zS, {
props: e,
collection: n,
tabsRef: t
}));
});
-function VS({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = IS({
+function zS({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = PS({
...e,
collection: n,
children: void 0
@@ -27524,16 +27524,16 @@ function VS({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ L.createElement(Nu, { values: [[RS, e], [zS, i]] }, l.children));
+ }, /*#__PURE__*/ L.createElement(Nu, { values: [[IS, e], [LS, i]] }, l.children));
}
-var HS = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- return (0, L.useContext)(zS) ? /*#__PURE__*/ L.createElement(US, {
+var BS = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ return (0, L.useContext)(LS) ? /*#__PURE__*/ L.createElement(VS, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ L.createElement(om, e);
});
-function US({ props: e, forwardedRef: t }) {
- let n = (0, L.useContext)(zS), { CollectionRoot: r } = (0, L.useContext)(fm), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Fu(RS), o = ju(t), { tabListProps: s } = PS({
+function VS({ props: e, forwardedRef: t }) {
+ let n = (0, L.useContext)(LS), { CollectionRoot: r } = (0, L.useContext)(fm), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Fu(IS), o = ju(t), { tabListProps: s } = MS({
...e,
orientation: i,
keyboardActivation: a
@@ -27555,12 +27555,12 @@ function US({ props: e, forwardedRef: t }) {
persistedKeys: pm(n.selectionManager.focusedKey)
})));
}
-var WS = /*#__PURE__*/ nm(class extends np {
+var HS = /*#__PURE__*/ nm(class extends np {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, L.useContext)(zS), i = ju(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ere({
+ let r = (0, L.useContext)(LS), i = ju(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ere({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Gm(), { hoverProps: f, isHovered: p } = Zm({
@@ -27592,19 +27592,19 @@ var WS = /*#__PURE__*/ nm(class extends np {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ L.createElement(Jg.Provider, { value: { isSelected: o } }, m.children));
-}), GS = /*#__PURE__*/ Vp(function(e, t) {
- let n = (0, L.useContext)(zS), r = ju(t), i = n.selectedKey === e.id, [a, o] = (0, L.useState)(n.selectedKey == null ? null : i);
+}), US = /*#__PURE__*/ Vp(function(e, t) {
+ let n = (0, L.useContext)(LS), r = ju(t), i = n.selectedKey === e.id, [a, o] = (0, L.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = Sy(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ L.createElement(KS, {
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ L.createElement(WS, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function KS(e) {
- let t = (0, L.useContext)(zS), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = MS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Gm(), d = t.selectedKey === e.id, f = xy(r) && !i, p = Pu({
+function WS(e) {
+ let t = (0, L.useContext)(LS), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = tre(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Gm(), d = t.selectedKey === e.id, f = xy(r) && !i, p = Pu({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -27627,12 +27627,12 @@ function KS(e) {
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ L.createElement(Nu, { values: [[RS, null], [zS, null]] }, /*#__PURE__*/ L.createElement(fm.Provider, { value: lm }, p.children)));
+ }, /*#__PURE__*/ L.createElement(Nu, { values: [[IS, null], [LS, null]] }, /*#__PURE__*/ L.createElement(fm.Provider, { value: lm }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var qS = /*#__PURE__*/ (0, L.createContext)({}), JS = /*#__PURE__*/ (0, L.createContext)(null), YS = /*#__PURE__*/ Vp(function(e, t) {
- [e, t] = Iu(e, t, JS);
+var GS = /*#__PURE__*/ (0, L.createContext)({}), KS = /*#__PURE__*/ (0, L.createContext)(null), qS = /*#__PURE__*/ Vp(function(e, t) {
+ [e, t] = Iu(e, t, KS);
let { validationBehavior: n } = Fu(Vh) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, L.useRef)(null);
[e, i] = Iu(e, i, tp);
let [a, o] = Lu(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, L.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = cee({
@@ -27670,7 +27670,7 @@ var qS = /*#__PURE__*/ (0, L.createContext)({}), JS = /*#__PURE__*/ (0, L.create
...u,
ref: m
}],
- [qS, {
+ [GS, {
...u,
ref: m
}],
@@ -27688,34 +27688,34 @@ var qS = /*#__PURE__*/ (0, L.createContext)({}), JS = /*#__PURE__*/ (0, L.create
});
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function XS(e, t) {
+function JS(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function ZS(e, t) {
+function YS(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var QS = (e, t, n) => n > t ? t : n < e ? e : n, $S = {}, eC = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), tC = (e) => typeof e == "object" && !!e, nC = (e) => /^0[^.\s]+$/u.test(e);
+var XS = (e, t, n) => n > t ? t : n < e ? e : n, ZS = {}, QS = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), $S = (e) => typeof e == "object" && !!e, eC = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function rC(e) {
+function tC(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var iC = /* @__NO_SIDE_EFFECTS__ */ (e) => e, aC = (...e) => e.reduce((e, t) => (n) => t(e(n))), oC = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var nC = /* @__NO_SIDE_EFFECTS__ */ (e) => e, rC = (...e) => e.reduce((e, t) => (n) => t(e(n))), iC = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, sC = class {
+}, aC = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return XS(this.subscriptions, e), () => ZS(this.subscriptions, e);
+ return JS(this.subscriptions, e), () => YS(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -27733,42 +27733,42 @@ var iC = /* @__NO_SIDE_EFFECTS__ */ (e) => e, aC = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, cC = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, lC = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, uC = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, dC = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, fC = 1e-7, pC = 12;
-function mC(e, t, n, r, i) {
+}, oC = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, sC = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, cC = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, lC = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, uC = 1e-7, dC = 12;
+function fC(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = dC(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > fC && ++s < pC);
+ o = t + (n - t) / 2, a = lC(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > uC && ++s < dC);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function hC(e, t, n, r) {
- if (e === t && n === r) return iC;
- let i = (t) => mC(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : dC(i(e), t, r);
+function pC(e, t, n, r) {
+ if (e === t && n === r) return nC;
+ let i = (t) => fC(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : lC(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var gC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, _C = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), vC = /*@__PURE__*/ hC(.33, 1.53, .69, .99), yC = /*@__PURE__*/ _C(vC), bC = /*@__PURE__*/ gC(yC), xC = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * yC(e) : .5 * (2 - 2 ** (-10 * (e - 1))), SC = (e) => 1 - Math.sin(Math.acos(e)), CC = /* @__PURE__ */ _C(SC), wC = /* @__PURE__ */ gC(SC), TC = /*@__PURE__*/ hC(.42, 0, 1, 1), EC = /*@__PURE__*/ hC(0, 0, .58, 1), DC = /*@__PURE__*/ hC(.42, 0, .58, 1), OC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", kC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", AC = {
- linear: iC,
- easeIn: TC,
- easeInOut: DC,
- easeOut: EC,
- circIn: SC,
- circInOut: wC,
- circOut: CC,
- backIn: yC,
- backInOut: bC,
- backOut: vC,
- anticipate: xC
-}, jC = (e) => typeof e == "string", MC = (e) => {
- if (/* @__PURE__ */ kC(e)) {
+var mC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, hC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), gC = /*@__PURE__*/ pC(.33, 1.53, .69, .99), _C = /*@__PURE__*/ hC(gC), vC = /*@__PURE__*/ mC(_C), yC = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * _C(e) : .5 * (2 - 2 ** (-10 * (e - 1))), bC = (e) => 1 - Math.sin(Math.acos(e)), xC = /* @__PURE__ */ hC(bC), SC = /* @__PURE__ */ mC(bC), CC = /*@__PURE__*/ pC(.42, 0, 1, 1), wC = /*@__PURE__*/ pC(0, 0, .58, 1), TC = /*@__PURE__*/ pC(.42, 0, .58, 1), EC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", DC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", OC = {
+ linear: nC,
+ easeIn: CC,
+ easeInOut: TC,
+ easeOut: wC,
+ circIn: bC,
+ circInOut: SC,
+ circOut: xC,
+ backIn: _C,
+ backInOut: vC,
+ backOut: gC,
+ anticipate: yC
+}, kC = (e) => typeof e == "string", AC = (e) => {
+ if (/* @__PURE__ */ DC(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ hC(t, n, r, i);
+ return /* @__PURE__ */ pC(t, n, r, i);
}
- return jC(e) ? (AC[e], `${e}`, AC[e]) : e;
-}, NC = [
+ return kC(e) ? (OC[e], `${e}`, OC[e]) : e;
+}, jC = [
"setup",
"read",
"resolveKeyframes",
@@ -27780,7 +27780,7 @@ var gC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 -
];
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
-function PC(e) {
+function MC(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
delta: 0,
timestamp: 0,
@@ -27811,25 +27811,25 @@ function PC(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var FC = 40;
-function IC(e, t) {
+var NC = 40;
+function PC(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = NC.reduce((e, t) => (e[t] = PC(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = $S.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, FC), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
+ }, a = () => n = !0, o = jC.reduce((e, t) => (e[t] = MC(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = ZS.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, NC), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
}, g = () => {
n = !0, r = !0, i.isProcessing || e(h);
};
return {
- schedule: NC.reduce((e, t) => {
+ schedule: jC.reduce((e, t) => {
let r = o[t];
return e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i)), e;
}, {}),
cancel: (e) => {
- for (let t = 0; t < NC.length; t++) o[NC[t]].cancel(e);
+ for (let t = 0; t < jC.length; t++) o[jC[t]].cancel(e);
},
state: i,
steps: o
@@ -27837,59 +27837,59 @@ function IC(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: LC, cancel: RC, state: zC, steps: BC } = /* @__PURE__ */ IC(typeof requestAnimationFrame < "u" ? requestAnimationFrame : iC, !0), VC;
-function HC() {
- VC = void 0;
+var { schedule: FC, cancel: IC, state: LC, steps: RC } = /* @__PURE__ */ PC(typeof requestAnimationFrame < "u" ? requestAnimationFrame : nC, !0), zC;
+function BC() {
+ zC = void 0;
}
-var UC = {
- now: () => (VC === void 0 && UC.set(zC.isProcessing || $S.useManualTiming ? zC.timestamp : performance.now()), VC),
+var VC = {
+ now: () => (zC === void 0 && VC.set(LC.isProcessing || ZS.useManualTiming ? LC.timestamp : performance.now()), zC),
set: (e) => {
- VC = e, queueMicrotask(HC);
+ zC = e, queueMicrotask(BC);
}
-}, WC = (e) => (t) => typeof t == "string" && t.startsWith(e), GC = /*@__PURE__*/ WC("--"), tre = /*@__PURE__*/ WC("var(--"), KC = (e) => tre(e) ? nre.test(e.split("/*")[0].trim()) : !1, nre = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function qC(e) {
+}, HC = (e) => (t) => typeof t == "string" && t.startsWith(e), UC = /*@__PURE__*/ HC("--"), rre = /*@__PURE__*/ HC("var(--"), WC = (e) => rre(e) ? ire.test(e.split("/*")[0].trim()) : !1, ire = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function GC(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var JC = {
+var KC = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
-}, YC = {
- ...JC,
- transform: (e) => QS(0, 1, e)
-}, XC = {
- ...JC,
+}, qC = {
+ ...KC,
+ transform: (e) => XS(0, 1, e)
+}, JC = {
+ ...KC,
default: 1
-}, ZC = (e) => Math.round(e * 1e5) / 1e5, QC = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, YC = (e) => Math.round(e * 1e5) / 1e5, XC = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function rre(e) {
+function are(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var ire = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, $C = (e, t) => (n) => !!(typeof n == "string" && ire.test(n) && n.startsWith(e) || t && !rre(n) && Object.prototype.hasOwnProperty.call(n, t)), ew = (e, t, n) => (r) => {
+var ore = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, ZC = (e, t) => (n) => !!(typeof n == "string" && ore.test(n) && n.startsWith(e) || t && !are(n) && Object.prototype.hasOwnProperty.call(n, t)), QC = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(QC);
+ let [i, a, o, s] = r.match(XC);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, are = (e) => QS(0, 255, e), tw = {
- ...JC,
- transform: (e) => Math.round(are(e))
-}, nw = {
- test: /*@__PURE__*/ $C("rgb", "red"),
- parse: /*@__PURE__*/ ew("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + tw.transform(e) + ", " + tw.transform(t) + ", " + tw.transform(n) + ", " + ZC(YC.transform(r)) + ")"
+}, sre = (e) => XS(0, 255, e), $C = {
+ ...KC,
+ transform: (e) => Math.round(sre(e))
+}, ew = {
+ test: /*@__PURE__*/ ZC("rgb", "red"),
+ parse: /*@__PURE__*/ QC("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + $C.transform(e) + ", " + $C.transform(t) + ", " + $C.transform(n) + ", " + YC(qC.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function ore(e) {
+function cre(e) {
let t = "", n = "", r = "", i = "";
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
red: parseInt(t, 16),
@@ -27898,38 +27898,38 @@ function ore(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var rw = {
- test: /*@__PURE__*/ $C("#"),
- parse: ore,
- transform: nw.transform
-}, iw = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var tw = {
+ test: /*@__PURE__*/ ZC("#"),
+ parse: cre,
+ transform: ew.transform
+}, nw = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), aw = /*@__PURE__*/ iw("deg"), ow = /*@__PURE__*/ iw("%"), sw = /*@__PURE__*/ iw("px"), sre = /*@__PURE__*/ iw("vh"), cre = /*@__PURE__*/ iw("vw"), cw = {
- ...ow,
- parse: (e) => ow.parse(e) / 100,
- transform: (e) => ow.transform(e * 100)
-}, lw = {
- test: /*@__PURE__*/ $C("hsl", "hue"),
- parse: /*@__PURE__*/ ew("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + ow.transform(ZC(t)) + ", " + ow.transform(ZC(n)) + ", " + ZC(YC.transform(r)) + ")"
-}, uw = {
- test: (e) => nw.test(e) || rw.test(e) || lw.test(e),
- parse: (e) => nw.test(e) ? nw.parse(e) : lw.test(e) ? lw.parse(e) : rw.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? nw.transform(e) : lw.transform(e),
+}), rw = /*@__PURE__*/ nw("deg"), iw = /*@__PURE__*/ nw("%"), aw = /*@__PURE__*/ nw("px"), lre = /*@__PURE__*/ nw("vh"), ure = /*@__PURE__*/ nw("vw"), ow = {
+ ...iw,
+ parse: (e) => iw.parse(e) / 100,
+ transform: (e) => iw.transform(e * 100)
+}, sw = {
+ test: /*@__PURE__*/ ZC("hsl", "hue"),
+ parse: /*@__PURE__*/ QC("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + iw.transform(YC(t)) + ", " + iw.transform(YC(n)) + ", " + YC(qC.transform(r)) + ")"
+}, cw = {
+ test: (e) => ew.test(e) || tw.test(e) || sw.test(e),
+ parse: (e) => ew.test(e) ? ew.parse(e) : sw.test(e) ? sw.parse(e) : tw.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? ew.transform(e) : sw.transform(e),
getAnimatableNone: (e) => {
- let t = uw.parse(e);
- return t.alpha = 0, uw.transform(t);
+ let t = cw.parse(e);
+ return t.alpha = 0, cw.transform(t);
}
-}, lre = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
+}, dre = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
-function ure(e) {
- return isNaN(e) && typeof e == "string" && (e.match(QC)?.length || 0) + (e.match(lre)?.length || 0) > 0;
+function fre(e) {
+ return isNaN(e) && typeof e == "string" && (e.match(XC)?.length || 0) + (e.match(dre)?.length || 0) > 0;
}
-var dw = "number", fw = "color", dre = "var", fre = "var(", pw = "${}", pre = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
-function mw(e) {
+var lw = "number", uw = "color", pre = "var", mre = "var(", dw = "${}", hre = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
+function fw(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -27937,51 +27937,51 @@ function mw(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(pre, (e) => (uw.test(e) ? (r.color.push(a), i.push(fw), n.push(uw.parse(e))) : e.startsWith(fre) ? (r.var.push(a), i.push(dre), n.push(e)) : (r.number.push(a), i.push(dw), n.push(parseFloat(e))), ++a, pw)).split(pw),
+ split: t.replace(hre, (e) => (cw.test(e) ? (r.color.push(a), i.push(uw), n.push(cw.parse(e))) : e.startsWith(mre) ? (r.var.push(a), i.push(pre), n.push(e)) : (r.number.push(a), i.push(lw), n.push(parseFloat(e))), ++a, dw)).split(dw),
indexes: r,
types: i
};
}
-function mre(e) {
- return mw(e).values;
+function gre(e) {
+ return fw(e).values;
}
-function hw({ split: e, types: t }) {
+function pw({ split: e, types: t }) {
let n = e.length;
return (r) => {
let i = "";
for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
let e = t[a];
- i += e === dw ? ZC(r[a]) : e === fw ? uw.transform(r[a]) : r[a];
+ i += e === lw ? YC(r[a]) : e === uw ? cw.transform(r[a]) : r[a];
}
return i;
};
}
-function hre(e) {
- return hw(mw(e));
+function _re(e) {
+ return pw(fw(e));
}
-var gre = (e) => typeof e == "number" ? 0 : uw.test(e) ? uw.getAnimatableNone(e) : e, _re = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : gre(e);
-function vre(e) {
- let t = mw(e);
- return hw(t)(t.values.map((e, n) => _re(e, t.split[n])));
+var vre = (e) => typeof e == "number" ? 0 : cw.test(e) ? cw.getAnimatableNone(e) : e, yre = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : vre(e);
+function bre(e) {
+ let t = fw(e);
+ return pw(t)(t.values.map((e, n) => yre(e, t.split[n])));
}
-var gw = {
- test: ure,
- parse: mre,
- createTransformer: hre,
- getAnimatableNone: vre
+var mw = {
+ test: fre,
+ parse: gre,
+ createTransformer: _re,
+ getAnimatableNone: bre
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function _w(e, t, n) {
+function hw(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function yre({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function xre({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = _w(s, r, e + 1 / 3), a = _w(s, r, e), o = _w(s, r, e - 1 / 3);
+ i = hw(s, r, e + 1 / 3), a = hw(s, r, e), o = hw(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -27992,61 +27992,61 @@ function yre({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function vw(e, t) {
+function gw(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var yw = (e, t, n) => e + (t - e) * n, bw = (e, t, n) => {
+var _w = (e, t, n) => e + (t - e) * n, vw = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, bre = [
- rw,
- nw,
- lw
-], xre = (e) => bre.find((t) => t.test(e));
-function xw(e) {
- let t = xre(e);
+}, Sre = [
+ tw,
+ ew,
+ sw
+], Cre = (e) => Sre.find((t) => t.test(e));
+function yw(e) {
+ let t = Cre(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === lw && (n = yre(n)), n;
+ return t === sw && (n = xre(n)), n;
}
-var Sw = (e, t) => {
- let n = xw(e), r = xw(t);
- if (!n || !r) return vw(e, t);
+var bw = (e, t) => {
+ let n = yw(e), r = yw(t);
+ if (!n || !r) return gw(e, t);
let i = { ...n };
- return (e) => (i.red = bw(n.red, r.red, e), i.green = bw(n.green, r.green, e), i.blue = bw(n.blue, r.blue, e), i.alpha = yw(n.alpha, r.alpha, e), nw.transform(i));
-}, Cw = /* @__PURE__ */ new Set(["none", "hidden"]);
-function Sre(e, t) {
- return Cw.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = vw(n.red, r.red, e), i.green = vw(n.green, r.green, e), i.blue = vw(n.blue, r.blue, e), i.alpha = _w(n.alpha, r.alpha, e), ew.transform(i));
+}, xw = /* @__PURE__ */ new Set(["none", "hidden"]);
+function wre(e, t) {
+ return xw.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function Cre(e, t) {
- return (n) => yw(e, t, n);
+function Tre(e, t) {
+ return (n) => _w(e, t, n);
}
-function ww(e) {
- return typeof e == "number" ? Cre : typeof e == "string" ? KC(e) ? vw : uw.test(e) ? Sw : Ere : Array.isArray(e) ? Tw : typeof e == "object" ? uw.test(e) ? Sw : wre : vw;
+function Sw(e) {
+ return typeof e == "number" ? Tre : typeof e == "string" ? WC(e) ? gw : cw.test(e) ? bw : Ore : Array.isArray(e) ? Cw : typeof e == "object" ? cw.test(e) ? bw : Ere : gw;
}
-function Tw(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => ww(e)(e, t[n]));
+function Cw(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => Sw(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function wre(e, t) {
+function Ere(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = ww(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Sw(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function Tre(e, t) {
+function Dre(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -28058,50 +28058,50 @@ function Tre(e, t) {
}
return n;
}
-var Ere = (e, t) => {
- let n = gw.createTransformer(t), r = mw(e), i = mw(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Cw.has(e) && !i.values.length || Cw.has(t) && !r.values.length ? Sre(e, t) : aC(Tw(Tre(r, i), i.values), n) : (`${e}${t}`, vw(e, t));
+var Ore = (e, t) => {
+ let n = mw.createTransformer(t), r = fw(e), i = fw(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? xw.has(e) && !i.values.length || xw.has(t) && !r.values.length ? wre(e, t) : rC(Cw(Dre(r, i), i.values), n) : (`${e}${t}`, gw(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function Ew(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? yw(e, t, n) : ww(e)(e, t);
+function ww(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? _w(e, t, n) : Sw(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var Dre = (e) => {
+var kre = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => LC.update(t, e),
- stop: () => RC(t),
- now: () => zC.isProcessing ? zC.timestamp : UC.now()
+ start: (e = !0) => FC.update(t, e),
+ stop: () => IC(t),
+ now: () => LC.isProcessing ? LC.timestamp : VC.now()
};
-}, Dw = (e, t, n = 10) => {
+}, Tw = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, Ow = 2e4;
-function kw(e) {
+}, Ew = 2e4;
+function Dw(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function Ore(e, t = 100, n) {
+function Are(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(kw(r), Ow);
+ }), i = Math.min(Dw(r), Ew);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ lC(i)
+ duration: /* @__PURE__ */ sC(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var Aw = {
+var Ow = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -28122,31 +28122,31 @@ var Aw = {
minDamping: .05,
maxDamping: 1
};
-function jw(e, t) {
+function kw(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var kre = 12;
-function Are(e, t, n) {
+var jre = 12;
+function Mre(e, t, n) {
let r = n;
- for (let n = 1; n < kre; n++) r -= e(r) / t(r);
+ for (let n = 1; n < jre; n++) r -= e(r) / t(r);
return r;
}
-var Mw = .001;
-function jre({ duration: e = Aw.duration, bounce: t = Aw.bounce, velocity: n = Aw.velocity, mass: r = Aw.mass }) {
+var Aw = .001;
+function Nre({ duration: e = Ow.duration, bounce: t = Ow.bounce, velocity: n = Ow.velocity, mass: r = Ow.mass }) {
let i, a;
- Aw.maxDuration;
+ Ow.maxDuration;
let o = 1 - t;
- o = QS(Aw.minDamping, Aw.maxDamping, o), e = QS(Aw.minDuration, Aw.maxDuration, /* @__PURE__ */ lC(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = jw(t, o), c = Math.exp(-i);
- return Mw - a / s * c;
+ o = XS(Ow.minDamping, Ow.maxDamping, o), e = XS(Ow.minDuration, Ow.maxDuration, /* @__PURE__ */ sC(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = kw(t, o), c = Math.exp(-i);
+ return Aw - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = jw(t ** 2, o);
- return (-i(t) + Mw > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = kw(t ** 2, o);
+ return (-i(t) + Aw > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = Are(i, a, s);
- if (e = /* @__PURE__ */ cC(e), isNaN(c)) return {
- stiffness: Aw.stiffness,
- damping: Aw.damping,
+ let s = 5 / e, c = Mre(i, a, s);
+ if (e = /* @__PURE__ */ oC(e), isNaN(c)) return {
+ stiffness: Ow.stiffness,
+ damping: Ow.damping,
duration: e
};
{
@@ -28158,47 +28158,47 @@ function jre({ duration: e = Aw.duration, bounce: t = Aw.bounce, velocity: n = A
};
}
}
-var Mre = ["duration", "bounce"], Nre = [
+var Pre = ["duration", "bounce"], Fre = [
"stiffness",
"damping",
"mass"
];
-function Nw(e, t) {
+function jw(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function Pre(e) {
+function Ire(e) {
let t = {
- velocity: Aw.velocity,
- stiffness: Aw.stiffness,
- damping: Aw.damping,
- mass: Aw.mass,
+ velocity: Ow.velocity,
+ stiffness: Ow.stiffness,
+ damping: Ow.damping,
+ mass: Ow.mass,
isResolvedFromDuration: !1,
...e
};
- if (!Nw(e, Nre) && Nw(e, Mre)) {
+ if (!jw(e, Fre) && jw(e, Pre)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * QS(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * XS(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: Aw.mass,
+ mass: Ow.mass,
stiffness: i,
damping: a
};
} else {
- let n = jre({
+ let n = Nre({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: Aw.mass
+ mass: Ow.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function Pw(e = Aw.visualDuration, t = Aw.bounce) {
+function Mw(e = Ow.visualDuration, t = Ow.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -28206,13 +28206,13 @@ function Pw(e = Aw.visualDuration, t = Aw.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = Pre({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = Ire({
...n,
- velocity: -/* @__PURE__ */ lC(n.velocity || 0)
- }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ lC(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? Aw.restSpeed.granular : Aw.restSpeed.default, i ||= v ? Aw.restDelta.granular : Aw.restDelta.default;
+ velocity: -/* @__PURE__ */ sC(n.velocity || 0)
+ }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ sC(Math.sqrt(c / u)), v = Math.abs(g) < 5;
+ r ||= v ? Ow.restSpeed.granular : Ow.restSpeed.default, i ||= v ? Ow.restDelta.granular : Ow.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = jw(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = kw(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -28234,42 +28234,42 @@ function Pw(e = Aw.visualDuration, t = Aw.bounce) {
}
let T = {
calculatedDuration: p && d || null,
- velocity: (e) => /* @__PURE__ */ cC(b(e)),
+ velocity: (e) => /* @__PURE__ */ oC(b(e)),
next: (e) => {
if (!p && h < 1) {
- let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ cC(t * (C * n + w * a));
+ let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ oC(t * (C * n + w * a));
return s.done = Math.abs(l) <= r && Math.abs(o - c) <= i, s.value = s.done ? o : c, s;
}
let t = y(e);
if (p) s.done = e >= d;
else {
- let n = /* @__PURE__ */ cC(b(e));
+ let n = /* @__PURE__ */ oC(b(e));
s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
}
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(kw(T), Ow), t = Dw((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(Dw(T), Ew), t = Tw((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-Pw.applyToOptions = (e) => {
- let t = Ore(e, 100, Pw);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ cC(t.duration), e.type = "keyframes", e;
+Mw.applyToOptions = (e) => {
+ let t = Are(e, 100, Mw);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ oC(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var Fre = 5;
-function Fw(e, t, n) {
- let r = Math.max(t - Fre, 0);
- return /* @__PURE__ */ uC(n - e(r), t - r);
+var Lre = 5;
+function Nw(e, t, n) {
+ let r = Math.max(t - Lre, 0);
+ return /* @__PURE__ */ cC(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function Iw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function Pw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -28279,9 +28279,9 @@ function Iw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = Pw({
+ p(f.value) && (x = e, S = Mw({
keyframes: [f.value, m(f.value)],
- velocity: Fw(y, e, f.value),
+ velocity: Nw(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -28298,59 +28298,59 @@ function Iw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function Ire(e, t, n) {
- let r = [], i = n || $S.mix || Ew, a = e.length - 1;
+function Rre(e, t, n) {
+ let r = [], i = n || ZS.mix || ww, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = aC(Array.isArray(t) ? t[n] || iC : t, a)), r.push(a);
+ t && (a = rC(Array.isArray(t) ? t[n] || nC : t, a)), r.push(a);
}
return r;
}
-function Lw(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function Fw(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = Ire(t, r, i), c = s.length, l = (n) => {
+ let s = Rre(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
- let i = /* @__PURE__ */ oC(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ iC(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(QS(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(XS(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function Lre(e, t) {
+function zre(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ oC(0, t, r);
- e.push(yw(n, 1, i));
+ let i = /* @__PURE__ */ iC(0, t, r);
+ e.push(_w(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function Rre(e) {
+function Bre(e) {
let t = [0];
- return Lre(t, e.length - 1), t;
+ return zre(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function zre(e, t) {
+function Vre(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function Bre(e, t) {
- return e.map(() => t || DC).splice(0, e.length - 1);
+function Hre(e, t) {
+ return e.map(() => t || TC).splice(0, e.length - 1);
}
-function Rw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ OC(r) ? r.map(MC) : MC(r), a = {
+function Iw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ EC(r) ? r.map(AC) : AC(r), a = {
done: !1,
value: t[0]
- }, o = Lw(zre(n && n.length === t.length ? n : Rre(t), e), t, { ease: Array.isArray(i) ? i : Bre(t, i) });
+ }, o = Fw(Vre(n && n.length === t.length ? n : Bre(t), e), t, { ease: Array.isArray(i) ? i : Hre(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -28358,26 +28358,26 @@ function Rw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var Vre = (e) => e !== null;
-function zw(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(Vre), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Ure = (e) => e !== null;
+function Lw(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Ure), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var Hre = {
- decay: Iw,
- inertia: Iw,
- tween: Rw,
- keyframes: Rw,
- spring: Pw
+var Wre = {
+ decay: Pw,
+ inertia: Pw,
+ tween: Iw,
+ keyframes: Iw,
+ spring: Mw
};
-function Bw(e) {
- typeof e.type == "string" && (e.type = Hre[e.type]);
+function Rw(e) {
+ typeof e.type == "string" && (e.type = Wre[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Vw = class {
+var zw = class {
constructor() {
this.updateFinished();
}
@@ -28395,21 +28395,21 @@ var Vw = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, Ure = (e) => e / 100, Hw = class extends Vw {
+}, Gre = (e) => e / 100, Bw = class extends zw {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
value: void 0
}, this.stop = () => {
let { motionValue: e } = this.options;
- e && e.updatedAt !== UC.now() && this.tick(UC.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ e && e.updatedAt !== VC.now() && this.tick(VC.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
}
initAnimation() {
let { options: e } = this;
- Bw(e);
- let { type: t = Rw, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Rw;
- s !== Rw && typeof o[0] != "number" && (this.mixKeyframes = aC(Ure, Ew(o[0], o[1])), o = [0, 100]);
+ Rw(e);
+ let { type: t = Iw, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Iw;
+ s !== Iw && typeof o[0] != "number" && (this.mixKeyframes = rC(Gre, ww(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -28418,7 +28418,7 @@ var Vw = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = kw(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = Dw(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -28436,54 +28436,54 @@ var Vw = class {
let v = this.currentTime, y = n;
if (u) {
let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
- !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = QS(0, 1, n) * o;
+ !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = XS(0, 1, n) * o;
}
let b;
_ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== Iw && (b.value = zw(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== Pw && (b.value = Lw(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
}
get duration() {
- return /* @__PURE__ */ lC(this.calculatedDuration);
+ return /* @__PURE__ */ sC(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ lC(e);
+ return this.duration + /* @__PURE__ */ sC(e);
}
get time() {
- return /* @__PURE__ */ lC(this.currentTime);
+ return /* @__PURE__ */ sC(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ cC(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
+ e = /* @__PURE__ */ oC(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
let e = this.currentTime;
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return Fw((e) => this.generator.next(e).value, e, t);
+ return Nw((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(UC.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ lC(this.currentTime));
+ t && this.driver && this.updateTime(VC.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ sC(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = Dre, startTime: t } = this.options;
+ let { driver: e = kre, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
}
pause() {
- this.state = "paused", this.updateTime(UC.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(VC.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -28509,12 +28509,12 @@ var Vw = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function Uw(e) {
+function Vw(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var Ww = (e) => e * 180 / Math.PI, Gw = (e) => Kw(Ww(Math.atan2(e[1], e[0]))), Wre = {
+var Hw = (e) => e * 180 / Math.PI, Uw = (e) => Ww(Hw(Math.atan2(e[1], e[0]))), Kre = {
x: 4,
y: 5,
translateX: 4,
@@ -28522,54 +28522,54 @@ var Ww = (e) => e * 180 / Math.PI, Gw = (e) => Kw(Ww(Math.atan2(e[1], e[0]))), W
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: Gw,
- rotateZ: Gw,
- skewX: (e) => Ww(Math.atan(e[1])),
- skewY: (e) => Ww(Math.atan(e[2])),
+ rotate: Uw,
+ rotateZ: Uw,
+ skewX: (e) => Hw(Math.atan(e[1])),
+ skewY: (e) => Hw(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, Kw = (e) => (e %= 360, e < 0 && (e += 360), e), qw = Gw, Jw = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Yw = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Gre = {
+}, Ww = (e) => (e %= 360, e < 0 && (e += 360), e), Gw = Uw, Kw = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), qw = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), qre = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Jw,
- scaleY: Yw,
- scale: (e) => (Jw(e) + Yw(e)) / 2,
- rotateX: (e) => Kw(Ww(Math.atan2(e[6], e[5]))),
- rotateY: (e) => Kw(Ww(Math.atan2(-e[2], e[0]))),
- rotateZ: qw,
- rotate: qw,
- skewX: (e) => Ww(Math.atan(e[4])),
- skewY: (e) => Ww(Math.atan(e[1])),
+ scaleX: Kw,
+ scaleY: qw,
+ scale: (e) => (Kw(e) + qw(e)) / 2,
+ rotateX: (e) => Ww(Hw(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => Ww(Hw(Math.atan2(-e[2], e[0]))),
+ rotateZ: Gw,
+ rotate: Gw,
+ skewX: (e) => Hw(Math.atan(e[4])),
+ skewY: (e) => Hw(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Xw(e) {
+function Jw(e) {
return +!!e.includes("scale");
}
-function Zw(e, t) {
- if (!e || e === "none") return Xw(t);
+function Yw(e, t) {
+ if (!e || e === "none") return Jw(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = Gre, i = n;
+ if (n) r = qre, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = Wre, i = t;
+ r = Kre, i = t;
}
- if (!i) return Xw(t);
- let a = r[t], o = i[1].split(",").map(qre);
+ if (!i) return Jw(t);
+ let a = r[t], o = i[1].split(",").map(Yre);
return typeof a == "function" ? a(o) : o[a];
}
-var Kre = (e, t) => {
+var Jre = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return Zw(n, t);
+ return Yw(n, t);
};
-function qre(e) {
+function Yre(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var Qw = [
+var Xw = [
"transformPerspective",
"x",
"y",
@@ -28587,19 +28587,19 @@ var Qw = [
"skew",
"skewX",
"skewY"
-], $w = /* @__PURE__ */ new Set([...Qw, "pathRotation"]), eT = (e) => e === JC || e === sw, Jre = /* @__PURE__ */ new Set([
+], Zw = /* @__PURE__ */ new Set([...Xw, "pathRotation"]), Qw = (e) => e === KC || e === aw, Xre = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), Yre = Qw.filter((e) => !Jre.has(e));
-function Xre(e) {
+]), Zre = Xw.filter((e) => !Xre.has(e));
+function Qre(e) {
let t = [];
- return Yre.forEach((n) => {
+ return Zre.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var tT = {
+var $w = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -28612,18 +28612,18 @@ var tT = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => Zw(t, "x"),
- y: (e, { transform: t }) => Zw(t, "y")
+ x: (e, { transform: t }) => Yw(t, "x"),
+ y: (e, { transform: t }) => Yw(t, "y")
};
-tT.translateX = tT.x, tT.translateY = tT.y;
+$w.translateX = $w.x, $w.translateY = $w.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var nT = /* @__PURE__ */ new Set(), rT = !1, iT = !1, aT = !1;
-function oT() {
- if (iT) {
- let e = Array.from(nT).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var eT = /* @__PURE__ */ new Set(), tT = !1, nT = !1, rT = !1;
+function iT() {
+ if (nT) {
+ let e = Array.from(eT).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = Xre(e);
+ let t = Qre(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -28635,22 +28635,22 @@ function oT() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- iT = !1, rT = !1, nT.forEach((e) => e.complete(aT)), nT.clear();
+ nT = !1, tT = !1, eT.forEach((e) => e.complete(rT)), eT.clear();
}
-function sT() {
- nT.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (iT = !0);
+function aT() {
+ eT.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (nT = !0);
});
}
-function Zre() {
- aT = !0, sT(), oT(), aT = !1;
+function $re() {
+ rT = !0, aT(), iT(), rT = !1;
}
-var cT = class {
+var oT = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (nT.add(this), rT || (rT = !0, LC.read(sT), LC.resolveKeyframes(oT))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (eT.add(this), tT || (tT = !0, FC.read(aT), FC.resolveKeyframes(iT))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -28663,70 +28663,70 @@ var cT = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- Uw(e);
+ Vw(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), nT.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), eT.delete(this);
}
cancel() {
- this.state === "scheduled" && (nT.delete(this), this.state = "pending");
+ this.state === "scheduled" && (eT.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, lT = (e) => e.startsWith("--");
+}, sT = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function uT(e, t, n) {
- lT(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function cT(e, t, n) {
+ sT(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Qre = {};
+var eie = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function dT(e, t) {
- let n = /* @__PURE__ */ rC(e);
- return () => Qre[t] ?? n();
+function lT(e, t) {
+ let n = /* @__PURE__ */ tC(e);
+ return () => eie[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var $re = /* @__PURE__ */ dT(() => window.ScrollTimeline !== void 0, "scrollTimeline"), fT = /*@__PURE__*/ dT(() => {
+var tie = /* @__PURE__ */ lT(() => window.ScrollTimeline !== void 0, "scrollTimeline"), uT = /*@__PURE__*/ lT(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), pT = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, mT = {
+}, "linearEasing"), dT = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, fT = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ pT([
+ circIn: /*@__PURE__*/ dT([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ pT([
+ circOut: /*@__PURE__*/ dT([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ pT([
+ backIn: /*@__PURE__*/ dT([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ pT([
+ backOut: /*@__PURE__*/ dT([
.33,
1.53,
.69,
@@ -28735,15 +28735,15 @@ var $re = /* @__PURE__ */ dT(() => window.ScrollTimeline !== void 0, "scrollTime
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function hT(e, t) {
- if (e) return typeof e == "function" ? fT() ? Dw(e, t) : "ease-out" : /* @__PURE__ */ kC(e) ? pT(e) : Array.isArray(e) ? e.map((e) => hT(e, t) || mT.easeOut) : mT[e];
+function pT(e, t) {
+ if (e) return typeof e == "function" ? uT() ? Tw(e, t) : "ease-out" : /* @__PURE__ */ DC(e) ? dT(e) : Array.isArray(e) ? e.map((e) => pT(e, t) || fT.easeOut) : fT[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function eie(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function nie(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = hT(s, i);
+ let d = pT(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -28757,26 +28757,26 @@ function eie(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function gT(e) {
+function mT(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function tie({ type: e, ...t }) {
- return gT(e) && fT() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function rie({ type: e, ...t }) {
+ return mT(e) && uT() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var _T = class extends Vw {
+var hT = class extends zw {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = tie(e);
- this.animation = eie(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = rie(e);
+ this.animation = nie(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = zw(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), uT(t, n, e), this.animation.cancel();
+ let e = Lw(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), cT(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -28807,18 +28807,18 @@ var _T = class extends Vw {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ lC(Number(e));
+ return /* @__PURE__ */ sC(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ lC(e);
+ return this.duration + /* @__PURE__ */ sC(e);
}
get time() {
- return /* @__PURE__ */ lC(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ sC(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ cC(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ oC(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -28836,24 +28836,24 @@ var _T = class extends Vw {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && $re() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), iC) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && tie() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), nC) : r(this);
}
-}, vT = {
- anticipate: xC,
- backInOut: bC,
- circInOut: wC
+}, gT = {
+ anticipate: yC,
+ backInOut: vC,
+ circInOut: SC
};
-function nie(e) {
- return e in vT;
+function iie(e) {
+ return e in gT;
}
-function rie(e) {
- typeof e.ease == "string" && nie(e.ease) && (e.ease = vT[e.ease]);
+function aie(e) {
+ typeof e.ease == "string" && iie(e.ease) && (e.ease = gT[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var yT = 10, iie = class extends _T {
+var _T = 10, oie = class extends hT {
constructor(e) {
- rie(e), Bw(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ aie(e), Rw(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -28862,48 +28862,48 @@ var yT = 10, iie = class extends _T {
t.set(e);
return;
}
- let o = new Hw({
+ let o = new Bw({
...a,
autoplay: !1
- }), s = Math.max(yT, UC.now() - this.startTime), c = QS(0, yT, s - yT), l = o.sample(s).value, { name: u } = this.options;
- i && u && uT(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(_T, VC.now() - this.startTime), c = XS(0, _T, s - _T), l = o.sample(s).value, { name: u } = this.options;
+ i && u && cT(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, bT = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (gw.test(e) || e === "0") && !e.startsWith("url("));
+}, vT = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (mw.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function aie(e) {
+function sie(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function oie(e, t, n, r) {
+function cie(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = bT(i, t), s = bT(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : aie(e) || (n === "spring" || gT(n)) && r;
+ let a = e[e.length - 1], o = vT(i, t), s = vT(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : sie(e) || (n === "spring" || mT(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function xT(e) {
+function yT(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var ST = /* @__PURE__ */ new Set([
+var bT = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), sie = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function cie(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && sie.test(e[t])) return !0;
+]), lie = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function uie(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && lie.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var lie = /* @__PURE__ */ new Set([
+var die = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -28914,20 +28914,20 @@ var lie = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), uie = /*@__PURE__*/ rC(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function die(e) {
+]), fie = /*@__PURE__*/ tC(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function pie(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return uie() && n && (ST.has(n) || lie.has(n) && cie(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return fie() && n && (bT.has(n) || die.has(n) && uie(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var fie = 40, pie = class extends Vw {
+var mie = 40, hie = class extends zw {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = UC.now();
+ }, this.createdAt = VC.now();
let d = {
autoplay: e,
delay: t,
@@ -28939,33 +28939,33 @@ var fie = 40, pie = class extends Vw {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || cT;
+ }, f = l?.KeyframeResolver || oT;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
- this.resolvedAt = UC.now();
+ this.resolvedAt = VC.now();
let u = !0;
- oie(e, i, a, o) || (u = !1, ($S.instantAnimations || !s) && l?.(zw(e, n, t)), e[0] = e[e.length - 1], xT(n), n.repeat = 0);
+ cie(e, i, a, o) || (u = !1, (ZS.instantAnimations || !s) && l?.(Lw(e, n, t)), e[0] = e[e.length - 1], yT(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > fie ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > mie ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && die(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && pie(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new iie({
+ m = new oie({
...d,
element: p
});
} catch {
- m = new Hw(d);
+ m = new Bw(d);
}
- else m = new Hw(d);
+ else m = new Bw(d);
m.finished.then(() => {
this.notifyFinished();
- }).catch(iC), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
+ }).catch(nC), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
return this._animation ? this.animation.finished : this._finished;
@@ -28974,7 +28974,7 @@ var fie = 40, pie = class extends Vw {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Zre()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), $re()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -29015,7 +29015,7 @@ var fie = 40, pie = class extends Vw {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
-}, mie = class {
+}, gie = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -29055,10 +29055,10 @@ var fie = 40, pie = class extends Vw {
return this.getAll("startTime");
}
get duration() {
- return CT(this.animations, "duration");
+ return xT(this.animations, "duration");
}
get iterationDuration() {
- return CT(this.animations, "iterationDuration");
+ return xT(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -29076,7 +29076,7 @@ var fie = 40, pie = class extends Vw {
this.runAll("complete");
}
};
-function CT(e, t) {
+function xT(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -29086,32 +29086,32 @@ function CT(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var hie = class extends mie {
+var _ie = class extends gie {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, wT = /* @__PURE__ */ new WeakMap(), gie = (e, t = "") => `${e}:${t}`;
-function _ie(e) {
- let t = wT.get(e);
- return t || (t = /* @__PURE__ */ new Map(), wT.set(e, t)), t;
+}, ST = /* @__PURE__ */ new WeakMap(), vie = (e, t = "") => `${e}:${t}`;
+function yie(e) {
+ let t = ST.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), ST.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function TT(e, t, n, r = 0, i = 1) {
+function CT(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var ET = 30, vie = (e) => !isNaN(parseFloat(e)), DT = { current: void 0 }, yie = class {
+var wT = 30, bie = (e) => !isNaN(parseFloat(e)), TT = { current: void 0 }, xie = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = UC.now();
+ let t = VC.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = UC.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = vie(this.current));
+ this.current = e, this.updatedAt = VC.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = bie(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -29120,10 +29120,10 @@ var ET = 30, vie = (e) => !isNaN(parseFloat(e)), DT = { current: void 0 }, yie =
return this.on("change", e);
}
on(e, t) {
- this.events[e] || (this.events[e] = new sC());
+ this.events[e] || (this.events[e] = new aC());
let n = this.events[e].add(t);
return e === "change" ? () => {
- n(), LC.read(() => {
+ n(), FC.read(() => {
this.events.change.getSize() || this.stop();
});
} : n;
@@ -29153,16 +29153,16 @@ var ET = 30, vie = (e) => !isNaN(parseFloat(e)), DT = { current: void 0 }, yie =
this.dependents && this.dependents.delete(e);
}
get() {
- return DT.current && DT.current.push(this), this.current;
+ return TT.current && TT.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = UC.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ET) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, ET);
- return /* @__PURE__ */ uC(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = VC.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > wT) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, wT);
+ return /* @__PURE__ */ cC(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -29184,12 +29184,12 @@ var ET = 30, vie = (e) => !isNaN(parseFloat(e)), DT = { current: void 0 }, yie =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function OT(e, t) {
- return new yie(e, t);
+function ET(e, t) {
+ return new xie(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function kT(e, t) {
+function DT(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -29201,26 +29201,26 @@ function kT(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function AT(e, t) {
+function OT(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : kT(n, e);
+ return n === e ? n : DT(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var bie = {
+var Sie = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, xie = (e) => ({
+}, Cie = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), Sie = {
+}), wie = {
type: "keyframes",
duration: .8
-}, Cie = {
+}, Tie = {
type: "keyframes",
ease: [
.25,
@@ -29229,7 +29229,7 @@ var bie = {
1
],
duration: .3
-}, wie = (e, { keyframes: t }) => t.length > 2 ? Sie : $w.has(e) ? e.startsWith("scale") ? xie(t[1]) : bie : Cie, Tie = /* @__PURE__ */ new Set([
+}, Eie = (e, { keyframes: t }) => t.length > 2 ? wie : Zw.has(e) ? e.startsWith("scale") ? Cie(t[1]) : Sie : Tie, Die = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -29241,15 +29241,15 @@ var bie = {
"from",
"elapsed"
]);
-function Eie(e) {
- for (let t in e) if (!Tie.has(t)) return !0;
+function Oie(e) {
+ for (let t in e) if (!Die.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var jT = (e, t, n, r = {}, i, a) => (o) => {
- let s = AT(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ cC(c);
+var kT = (e, t, n, r = {}, i, a) => (o) => {
+ let s = OT(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ oC(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -29266,160 +29266,160 @@ var jT = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- Eie(s) || Object.assign(u, wie(e, u)), u.duration &&= /* @__PURE__ */ cC(u.duration), u.repeatDelay &&= /* @__PURE__ */ cC(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ Oie(s) || Object.assign(u, Eie(e, u)), u.duration &&= /* @__PURE__ */ oC(u.duration), u.repeatDelay &&= /* @__PURE__ */ oC(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (xT(u), u.delay === 0 && (d = !0)), ($S.instantAnimations || $S.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, xT(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = zw(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (yT(u), u.delay === 0 && (d = !0)), (ZS.instantAnimations || ZS.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, yT(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Lw(u.keyframes, s);
if (e !== void 0) {
- LC.update(() => {
+ FC.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new Hw(u) : new pie(u);
-}, Die = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function Oie(e) {
- let t = Die.exec(e);
+ return s.isSync ? new Bw(u) : new hie(u);
+}, kie = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function Aie(e) {
+ let t = kie.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function MT(e, t, n = 1) {
+function AT(e, t, n = 1) {
`${e}`;
- let [r, i] = Oie(e);
+ let [r, i] = Aie(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return eC(e) ? parseFloat(e) : e;
+ return QS(e) ? parseFloat(e) : e;
}
- return KC(i) ? MT(i, t, n + 1) : i;
+ return WC(i) ? AT(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function NT(e) {
+function jT(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function PT(e, t, n, r) {
+function MT(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = NT(r);
+ let [i, a] = jT(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = NT(r);
+ let [i, a] = jT(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function FT(e, t, n) {
+function NT(e, t, n) {
let r = e.getProps();
- return PT(r, t, n === void 0 ? r.custom : n, e);
+ return MT(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var IT = /* @__PURE__ */ new Set([
+var PT = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...Qw
-]), LT = (e) => Array.isArray(e);
+ ...Xw
+]), FT = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function kie(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, OT(n));
+function jie(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, ET(n));
}
-function Aie(e) {
- return LT(e) ? e[e.length - 1] || 0 : e;
+function Mie(e) {
+ return FT(e) ? e[e.length - 1] || 0 : e;
}
-function jie(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = FT(e, t) || {};
+function Nie(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = NT(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) kie(e, t, Aie(i[t]));
+ for (let t in i) jie(e, t, Mie(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var RT = (e) => !!(e && e.getVelocity);
+var IT = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function Mie(e) {
- return !!(RT(e) && e.add);
+function Pie(e) {
+ return !!(IT(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function zT(e, t) {
+function LT(e, t) {
let n = e.getValue("willChange");
- if (Mie(n)) return n.add(t);
- if (!n && $S.WillChange) {
- let n = new $S.WillChange("auto");
+ if (Pie(n)) return n.add(t);
+ if (!n && ZS.WillChange) {
+ let n = new ZS.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function BT(e) {
+function RT(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var VT = "data-" + BT("framerAppearId");
+var zT = "data-" + RT("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function HT(e) {
- return e.props[VT];
+function BT(e) {
+ return e.props[zT];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function Nie({ protectedKeys: e, needsAnimating: t }, n) {
+function Fie({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function UT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function VT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? kT(a, c) : c;
+ a = a ? DT(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && Nie(f, t)) continue;
+ if (i === void 0 || f && Fie(f, t)) continue;
let o = {
delay: n,
- ...AT(a || {}, t)
+ ...OT(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- LC.update(() => r.set(i));
+ FC.update(() => r.set(i));
continue;
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = HT(e);
+ let n = BT(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, LC);
+ let e = window.MotionHandoffAnimation(n, t, FC);
e !== null && (o.startTime = e, p = !0);
}
}
- zT(e, t);
+ LT(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(jT(t, r, i, m && IT.has(t) ? { type: !1 } : o, e, p));
+ r.start(kT(t, r, i, m && PT.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => LC.update(() => {
- o && jie(e, o);
+ let t = () => FC.update(() => {
+ o && Nie(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -29427,12 +29427,12 @@ function UT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function WT(e, t, n = {}) {
- let r = FT(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function HT(e, t, n = {}) {
+ let r = NT(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(UT(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(VT(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return Pie(e, t, r, a, o, s, n);
+ return Iie(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -29440,26 +29440,26 @@ function WT(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function Pie(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function Iie(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(WT(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(HT(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + TT(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + CT(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function Fie(e, t, n = {}) {
+function Lie(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => WT(e, t, n));
+ let i = t.map((t) => HT(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = WT(e, t, n);
+ } else if (typeof t == "string") r = HT(e, t, n);
else {
- let i = typeof t == "function" ? FT(e, t, n.custom) : t;
- r = Promise.all(UT(e, i, n));
+ let i = typeof t == "function" ? NT(e, t, n.custom) : t;
+ r = Promise.all(VT(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -29467,176 +29467,176 @@ function Fie(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var Iie = {
+var Rie = {
test: (e) => e === "auto",
parse: (e) => e
-}, GT = (e) => (t) => t.test(e), KT = [
- JC,
- sw,
- ow,
+}, UT = (e) => (t) => t.test(e), WT = [
+ KC,
aw,
- cre,
- sre,
- Iie
-], qT = (e) => KT.find(GT(e));
+ iw,
+ rw,
+ ure,
+ lre,
+ Rie
+], GT = (e) => WT.find(UT(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function Lie(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || nC(e);
+function zie(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || eC(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var Rie = /* @__PURE__ */ new Set([
+var Bie = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function zie(e) {
+function Vie(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(QC) || [];
+ let [r] = n.match(XC) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!Rie.has(t);
+ let i = n.replace(r, ""), a = +!!Bie.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var Bie = /\b([a-z-]*)\(.*?\)/gu, JT = {
- ...gw,
+var Hie = /\b([a-z-]*)\(.*?\)/gu, KT = {
+ ...mw,
getAnimatableNone: (e) => {
- let t = e.match(Bie);
- return t ? t.map(zie).join(" ") : e;
+ let t = e.match(Hie);
+ return t ? t.map(Vie).join(" ") : e;
}
-}, YT = {
- ...gw,
+}, qT = {
+ ...mw,
getAnimatableNone: (e) => {
- let t = gw.parse(e);
- return gw.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = mw.parse(e);
+ return mw.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, XT = {
- ...JC,
+}, JT = {
+ ...KC,
transform: Math.round
-}, ZT = {
- borderWidth: sw,
- borderTopWidth: sw,
- borderRightWidth: sw,
- borderBottomWidth: sw,
- borderLeftWidth: sw,
- borderRadius: sw,
- borderTopLeftRadius: sw,
- borderTopRightRadius: sw,
- borderBottomRightRadius: sw,
- borderBottomLeftRadius: sw,
- width: sw,
- maxWidth: sw,
- height: sw,
- maxHeight: sw,
- top: sw,
- right: sw,
- bottom: sw,
- left: sw,
- inset: sw,
- insetBlock: sw,
- insetBlockStart: sw,
- insetBlockEnd: sw,
- insetInline: sw,
- insetInlineStart: sw,
- insetInlineEnd: sw,
- padding: sw,
- paddingTop: sw,
- paddingRight: sw,
- paddingBottom: sw,
- paddingLeft: sw,
- paddingBlock: sw,
- paddingBlockStart: sw,
- paddingBlockEnd: sw,
- paddingInline: sw,
- paddingInlineStart: sw,
- paddingInlineEnd: sw,
- margin: sw,
- marginTop: sw,
- marginRight: sw,
- marginBottom: sw,
- marginLeft: sw,
- marginBlock: sw,
- marginBlockStart: sw,
- marginBlockEnd: sw,
- marginInline: sw,
- marginInlineStart: sw,
- marginInlineEnd: sw,
- fontSize: sw,
- backgroundPositionX: sw,
- backgroundPositionY: sw,
- rotate: aw,
- pathRotation: aw,
- rotateX: aw,
- rotateY: aw,
- rotateZ: aw,
- scale: XC,
- scaleX: XC,
- scaleY: XC,
- scaleZ: XC,
- skew: aw,
- skewX: aw,
- skewY: aw,
- distance: sw,
- translateX: sw,
- translateY: sw,
- translateZ: sw,
- x: sw,
- y: sw,
- z: sw,
- perspective: sw,
- transformPerspective: sw,
- opacity: YC,
- originX: cw,
- originY: cw,
- originZ: sw,
- zIndex: XT,
- fillOpacity: YC,
- strokeOpacity: YC,
- numOctaves: XT
-}, Vie = {
- ...ZT,
- color: uw,
- backgroundColor: uw,
- outlineColor: uw,
- fill: uw,
- stroke: uw,
- borderColor: uw,
- borderTopColor: uw,
- borderRightColor: uw,
- borderBottomColor: uw,
- borderLeftColor: uw,
- filter: JT,
- WebkitFilter: JT,
- mask: YT,
- WebkitMask: YT
-}, QT = (e) => Vie[e], Hie = /*@__PURE__*/ new Set([JT, YT]);
-function $T(e, t) {
- let n = QT(e);
- return Hie.has(n) || (n = gw), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+}, YT = {
+ borderWidth: aw,
+ borderTopWidth: aw,
+ borderRightWidth: aw,
+ borderBottomWidth: aw,
+ borderLeftWidth: aw,
+ borderRadius: aw,
+ borderTopLeftRadius: aw,
+ borderTopRightRadius: aw,
+ borderBottomRightRadius: aw,
+ borderBottomLeftRadius: aw,
+ width: aw,
+ maxWidth: aw,
+ height: aw,
+ maxHeight: aw,
+ top: aw,
+ right: aw,
+ bottom: aw,
+ left: aw,
+ inset: aw,
+ insetBlock: aw,
+ insetBlockStart: aw,
+ insetBlockEnd: aw,
+ insetInline: aw,
+ insetInlineStart: aw,
+ insetInlineEnd: aw,
+ padding: aw,
+ paddingTop: aw,
+ paddingRight: aw,
+ paddingBottom: aw,
+ paddingLeft: aw,
+ paddingBlock: aw,
+ paddingBlockStart: aw,
+ paddingBlockEnd: aw,
+ paddingInline: aw,
+ paddingInlineStart: aw,
+ paddingInlineEnd: aw,
+ margin: aw,
+ marginTop: aw,
+ marginRight: aw,
+ marginBottom: aw,
+ marginLeft: aw,
+ marginBlock: aw,
+ marginBlockStart: aw,
+ marginBlockEnd: aw,
+ marginInline: aw,
+ marginInlineStart: aw,
+ marginInlineEnd: aw,
+ fontSize: aw,
+ backgroundPositionX: aw,
+ backgroundPositionY: aw,
+ rotate: rw,
+ pathRotation: rw,
+ rotateX: rw,
+ rotateY: rw,
+ rotateZ: rw,
+ scale: JC,
+ scaleX: JC,
+ scaleY: JC,
+ scaleZ: JC,
+ skew: rw,
+ skewX: rw,
+ skewY: rw,
+ distance: aw,
+ translateX: aw,
+ translateY: aw,
+ translateZ: aw,
+ x: aw,
+ y: aw,
+ z: aw,
+ perspective: aw,
+ transformPerspective: aw,
+ opacity: qC,
+ originX: ow,
+ originY: ow,
+ originZ: aw,
+ zIndex: JT,
+ fillOpacity: qC,
+ strokeOpacity: qC,
+ numOctaves: JT
+}, Uie = {
+ ...YT,
+ color: cw,
+ backgroundColor: cw,
+ outlineColor: cw,
+ fill: cw,
+ stroke: cw,
+ borderColor: cw,
+ borderTopColor: cw,
+ borderRightColor: cw,
+ borderBottomColor: cw,
+ borderLeftColor: cw,
+ filter: KT,
+ WebkitFilter: KT,
+ mask: qT,
+ WebkitMask: qT
+}, XT = (e) => Uie[e], Wie = /*@__PURE__*/ new Set([KT, qT]);
+function ZT(e, t) {
+ let n = XT(e);
+ return Wie.has(n) || (n = mw), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var Uie = /* @__PURE__ */ new Set([
+var Gie = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Wie(e, t, n) {
+function Kie(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !Uie.has(t) && mw(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !Gie.has(t) && fw(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = $T(n, i);
+ if (i && n) for (let r of t) e[r] = ZT(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var Gie = class extends cT {
+var qie = class extends oT {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -29646,34 +29646,34 @@ var Gie = class extends cT {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), KC(r))) {
- let i = MT(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), WC(r))) {
+ let i = AT(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !IT.has(n) || e.length !== 2) return;
- let [r, i] = e, a = qT(r), o = qT(i);
- if (qC(r) !== qC(i) && tT[n]) {
+ if (this.resolveNoneKeyframes(), !PT.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = GT(r), o = GT(i);
+ if (GC(r) !== GC(i) && $w[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (eT(a) && eT(o)) for (let t = 0; t < e.length; t++) {
+ if (Qw(a) && Qw(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else tT[n] && (this.needsMeasurement = !0);
+ else $w[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || Lie(e[t])) && n.push(t);
- n.length && Wie(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || zie(e[t])) && n.push(t);
+ n.length && Kie(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = tT[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = $w[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -29683,23 +29683,23 @@ var Gie = class extends cT {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = tT[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = $w[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, eE = [
+}, QT = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], Kie = /* @__PURE__ */ new Set([
+], Jie = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...eE,
+ ...QT,
"width",
"maxWidth",
"height",
@@ -29743,12 +29743,12 @@ var Gie = class extends cT {
]);
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function qie(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Kie.has(t) && (e[n] = e[n] + "px");
+function Yie(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Jie.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function tE(e, t, n) {
+function $T(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -29761,34 +29761,34 @@ function tE(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var nE = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var eE = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function rE(e) {
- return tC(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function tE(e) {
+ return $S(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: iE, cancel: Jie } = /* @__PURE__ */ IC(queueMicrotask, !1), aE = {
+var { schedule: nE, cancel: Xie } = /* @__PURE__ */ PC(queueMicrotask, !1), rE = {
x: !1,
y: !1
};
-function oE() {
- return aE.x || aE.y;
+function iE() {
+ return rE.x || rE.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Yie(e) {
- return e === "x" || e === "y" ? aE[e] ? null : (aE[e] = !0, () => {
- aE[e] = !1;
- }) : aE.x || aE.y ? null : (aE.x = aE.y = !0, () => {
- aE.x = aE.y = !1;
+function Zie(e) {
+ return e === "x" || e === "y" ? rE[e] ? null : (rE[e] = !0, () => {
+ rE[e] = !1;
+ }) : rE.x || rE.y ? null : (rE.x = rE.y = !0, () => {
+ rE.x = rE.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function sE(e, t) {
- let n = tE(e), r = new AbortController();
+function aE(e, t) {
+ let n = $T(e), r = new AbortController();
return [
n,
{
@@ -29801,11 +29801,11 @@ function sE(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Xie(e) {
- return !(e.pointerType === "touch" || oE());
+function Qie(e) {
+ return !(e.pointerType === "touch" || iE());
}
-function Zie(e, t, n = {}) {
- let [r, i, a] = sE(e, n);
+function $ie(e, t, n = {}) {
+ let [r, i, a] = aE(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -29825,7 +29825,7 @@ function Zie(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!Xie(n)) return;
+ if (!Qie(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -29834,130 +29834,130 @@ function Zie(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var cE = (e, t) => t ? e === t || cE(e, t.parentElement) : !1, lE = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Qie = /* @__PURE__ */ new Set([
+var oE = (e, t) => t ? e === t || oE(e, t.parentElement) : !1, sE = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, eae = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function $ie(e) {
- return Qie.has(e.tagName) || e.isContentEditable === !0;
+function tae(e) {
+ return eae.has(e.tagName) || e.isContentEditable === !0;
}
-var eae = /* @__PURE__ */ new Set([
+var nae = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function tae(e) {
- return eae.has(e.tagName) || e.isContentEditable === !0;
+function rae(e) {
+ return nae.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var uE = /* @__PURE__ */ new WeakSet();
+var cE = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function dE(e) {
+function lE(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function fE(e, t) {
+function uE(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var nae = (e, t) => {
+var iae = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = dE(() => {
- if (uE.has(n)) return;
- fE(n, "down");
- let e = dE(() => {
- fE(n, "up");
+ let r = lE(() => {
+ if (cE.has(n)) return;
+ uE(n, "down");
+ let e = lE(() => {
+ uE(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => fE(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => uE(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function pE(e) {
- return lE(e) && !oE();
+function dE(e) {
+ return sE(e) && !iE();
}
-var mE = /* @__PURE__ */ new WeakSet();
-function rae(e, t, n = {}) {
- let [r, i, a] = sE(e, n), o = (e) => {
+var fE = /* @__PURE__ */ new WeakSet();
+function aae(e, t, n = {}) {
+ let [r, i, a] = aE(e, n), o = (e) => {
let r = e.currentTarget;
- if (!pE(e) || mE.has(e)) return;
- uE.add(r), n.stopPropagation && mE.add(e);
+ if (!dE(e) || fE.has(e)) return;
+ cE.add(r), n.stopPropagation && fE.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), uE.has(r) && uE.delete(r), pE(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), cE.has(r) && cE.delete(r), dE(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || cE(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || oE(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), rE(e) && (e.addEventListener("focus", (e) => nae(e, i)), !$ie(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), tE(e) && (e.addEventListener("focus", (e) => iae(e, i)), !tae(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function hE(e, t) {
+function pE(e, t) {
let n = window.getComputedStyle(e);
- return lT(t) ? n.getPropertyValue(t) : n[t];
+ return sT(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function gE(e) {
- return tC(e) && "ownerSVGElement" in e;
+function mE(e) {
+ return $S(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var _E = /* @__PURE__ */ new WeakMap(), vE, yE = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : gE(r) && "getBBox" in r ? r.getBBox()[t] : r[n], iae = /*@__PURE__*/ yE("inline", "width", "offsetWidth"), aae = /*@__PURE__*/ yE("block", "height", "offsetHeight");
-function oae({ target: e, borderBoxSize: t }) {
- _E.get(e)?.forEach((n) => {
+var hE = /* @__PURE__ */ new WeakMap(), gE, _E = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : mE(r) && "getBBox" in r ? r.getBBox()[t] : r[n], oae = /*@__PURE__*/ _E("inline", "width", "offsetWidth"), sae = /*@__PURE__*/ _E("block", "height", "offsetHeight");
+function cae({ target: e, borderBoxSize: t }) {
+ hE.get(e)?.forEach((n) => {
n(e, {
get width() {
- return iae(e, t);
+ return oae(e, t);
},
get height() {
- return aae(e, t);
+ return sae(e, t);
}
});
});
}
-function sae(e) {
- e.forEach(oae);
+function lae(e) {
+ e.forEach(cae);
}
-function cae() {
- typeof ResizeObserver > "u" || (vE = new ResizeObserver(sae));
+function uae() {
+ typeof ResizeObserver > "u" || (gE = new ResizeObserver(lae));
}
-function lae(e, t) {
- vE || cae();
- let n = tE(e);
+function dae(e, t) {
+ gE || uae();
+ let n = $T(e);
return n.forEach((e) => {
- let n = _E.get(e);
- n || (n = /* @__PURE__ */ new Set(), _E.set(e, n)), n.add(t), vE?.observe(e);
+ let n = hE.get(e);
+ n || (n = /* @__PURE__ */ new Set(), hE.set(e, n)), n.add(t), gE?.observe(e);
}), () => {
n.forEach((e) => {
- let n = _E.get(e);
- n?.delete(t), n?.size || vE?.unobserve(e);
+ let n = hE.get(e);
+ n?.delete(t), n?.size || gE?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var bE = /* @__PURE__ */ new Set(), xE;
-function uae() {
- xE = () => {
+var vE = /* @__PURE__ */ new Set(), yE;
+function fae() {
+ yE = () => {
let e = {
get width() {
return window.innerWidth;
@@ -29966,49 +29966,49 @@ function uae() {
return window.innerHeight;
}
};
- bE.forEach((t) => t(e));
- }, window.addEventListener("resize", xE);
+ vE.forEach((t) => t(e));
+ }, window.addEventListener("resize", yE);
}
-function dae(e) {
- return bE.add(e), xE || uae(), () => {
- bE.delete(e), !bE.size && typeof xE == "function" && (window.removeEventListener("resize", xE), xE = void 0);
+function pae(e) {
+ return vE.add(e), yE || fae(), () => {
+ vE.delete(e), !vE.size && typeof yE == "function" && (window.removeEventListener("resize", yE), yE = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function SE(e, t) {
- return typeof e == "function" ? dae(e) : lae(e, t);
+function bE(e, t) {
+ return typeof e == "function" ? pae(e) : dae(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var CE = {
+var xE = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function fae(e) {
- return gE(e) && e.tagName === "svg";
+function mae(e) {
+ return mE(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function pae(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = Lw(i, a, o);
+function hae(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = Fw(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function mae(e, t, n = {}) {
+function gae(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = TE(e.get()), r = TE(a);
+ let t = CE(e.get()), r = CE(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new Hw({
+ c(), i = new Bw({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -30023,10 +30023,10 @@ function mae(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(wE(e, s)), LC.postRender(u);
- }, c), RT(t)) {
+ a = e, o = (e) => t(SE(e, s)), FC.postRender(u);
+ }, c), IT(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(wE(t, s), !1)) : e.set(wE(t, s));
+ r ? (r = !1, e.jump(SE(t, s), !1)) : e.set(SE(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -30034,46 +30034,46 @@ function mae(e, t, n = {}) {
}
return c;
}
-function wE(e, t) {
+function SE(e, t) {
return t ? e + t : e;
}
-function TE(e) {
+function CE(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var hae = [
- ...KT,
- uw,
- gw
-], gae = (e) => hae.find(GT(e)), EE = () => ({
+var _ae = [
+ ...WT,
+ cw,
+ mw
+], vae = (e) => _ae.find(UT(e)), wE = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
+}), TE = () => ({
+ x: wE(),
+ y: wE()
+}), EE = () => ({
+ min: 0,
+ max: 0
}), DE = () => ({
x: EE(),
y: EE()
-}), OE = () => ({
- min: 0,
- max: 0
-}), kE = () => ({
- x: OE(),
- y: OE()
-}), _ae = /* @__PURE__ */ new WeakMap();
+}), yae = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function AE(e) {
+function OE(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function jE(e) {
+function kE(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var ME = [
+var AE = [
"animate",
"whileInView",
"whileFocus",
@@ -30081,29 +30081,29 @@ var ME = [
"whileTap",
"whileDrag",
"exit"
-], NE = ["initial", ...ME];
+], jE = ["initial", ...AE];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function PE(e) {
- return AE(e.animate) || NE.some((t) => jE(e[t]));
+function ME(e) {
+ return OE(e.animate) || jE.some((t) => kE(e[t]));
}
-function FE(e) {
- return !!(PE(e) || e.variants);
+function NE(e) {
+ return !!(ME(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function vae(e, t, n) {
+function bae(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (RT(i)) e.addValue(r, i);
- else if (RT(a)) e.addValue(r, OT(i, { owner: e }));
+ if (IT(i)) e.addValue(r, i);
+ else if (IT(a)) e.addValue(r, ET(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, OT(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, ET(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -30112,18 +30112,18 @@ function vae(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var IE = { current: null }, LE = { current: !1 }, yae = typeof window < "u";
-function RE() {
- if (LE.current = !0, yae) {
+var PE = { current: null }, FE = { current: !1 }, xae = typeof window < "u";
+function IE() {
+ if (FE.current = !0, xae) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => IE.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => PE.current = e.matches;
e.addEventListener("change", t), t();
- } else IE.current = !1;
+ } else PE.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var zE = [
+var LE = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -30131,38 +30131,38 @@ var zE = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], BE = {};
-function VE(e) {
- BE = e;
+], RE = {};
+function zE(e) {
+ RE = e;
}
-function bae() {
- return BE;
+function Sae() {
+ return RE;
}
-var xae = class {
+var Cae = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = cT, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = oT, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
- let e = UC.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, LC.render(this.render, !1, !0));
+ let e = VC.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, FC.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = PE(t), this.isVariantNode = FE(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = ME(t), this.isVariantNode = NE(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && RT(t) && t.set(c[e]);
+ c[e] !== void 0 && IT(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, _ae.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (LE.current || RE(), this.shouldReduceMotion = IE.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, yae.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (FE.current || IE(), this.shouldReduceMotion = PE.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
- this.projection && this.projection.unmount(), RC(this.notifyUpdate), RC(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), IC(this.notifyUpdate), IC(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
for (let e in this.events) this.events[e].clear();
for (let e in this.features) {
let t = this.features[e];
@@ -30177,24 +30177,24 @@ var xae = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && ST.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new _T({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && bT.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new hT({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ cC(o)
+ duration: /* @__PURE__ */ oC(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = $w.has(e);
+ let n = Zw.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && LC.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && FC.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i && i();
@@ -30205,8 +30205,8 @@ var xae = class {
}
updateFeatures() {
let e = "animation";
- for (e in BE) {
- let t = BE[e];
+ for (e in RE) {
+ let t = RE[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -30219,7 +30219,7 @@ var xae = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : kE();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : DE();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -30229,13 +30229,13 @@ var xae = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < zE.length; t++) {
- let n = zE[t];
+ for (let t = 0; t < LE.length; t++) {
+ let n = LE[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = vae(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = bae(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -30271,11 +30271,11 @@ var xae = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = OT(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = ET(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (eC(n) || nC(n)) ? n = parseFloat(n) : !gae(n) && gw.test(t) && (n = $T(e, t)), this.setBaseTarget(e, RT(n) ? n.get() : n)), RT(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (QS(n) || eC(n)) ? n = parseFloat(n) : !vae(n) && mw.test(t) && (n = ZT(e, t)), this.setBaseTarget(e, IT(n) ? n.get() : n)), IT(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -30283,25 +30283,25 @@ var xae = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = PT(this.props, t, this.presenceContext?.custom);
+ let r = MT(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !RT(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !IT(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
- return this.events[e] || (this.events[e] = new sC()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new aC()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- iE.render(this.render);
+ nE.render(this.render);
}
-}, HE = class extends xae {
+}, BE = class extends Cae {
constructor() {
- super(...arguments), this.KeyframeResolver = Gie;
+ super(...arguments), this.KeyframeResolver = qie;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -30316,11 +30316,11 @@ var xae = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- RT(e) && (this.childSubscription = e.on("change", (e) => {
+ IT(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, UE = class {
+}, VE = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -30328,7 +30328,7 @@ var xae = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function WE({ top: e, left: t, right: n, bottom: r }) {
+function HE({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -30340,7 +30340,7 @@ function WE({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Sae({ x: e, y: t }) {
+function wae({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -30348,7 +30348,7 @@ function Sae({ x: e, y: t }) {
left: e.min
};
}
-function Cae(e, t) {
+function Tae(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -30366,37 +30366,37 @@ function Cae(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function GE(e) {
+function UE(e) {
return e === void 0 || e === 1;
}
-function KE({ scale: e, scaleX: t, scaleY: n }) {
- return !GE(e) || !GE(t) || !GE(n);
+function WE({ scale: e, scaleX: t, scaleY: n }) {
+ return !UE(e) || !UE(t) || !UE(n);
}
-function qE(e) {
- return KE(e) || JE(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function GE(e) {
+ return WE(e) || KE(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function JE(e) {
- return YE(e.x) || YE(e.y);
+function KE(e) {
+ return qE(e.x) || qE(e.y);
}
-function YE(e) {
+function qE(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function XE(e, t, n) {
+function JE(e, t, n) {
return n + t * (e - n);
}
-function ZE(e, t, n, r, i) {
- return i !== void 0 && (e = XE(e, i, r)), XE(e, n, r) + t;
+function YE(e, t, n, r, i) {
+ return i !== void 0 && (e = JE(e, i, r)), JE(e, n, r) + t;
}
-function QE(e, t = 0, n = 1, r, i) {
- e.min = ZE(e.min, t, n, r, i), e.max = ZE(e.max, t, n, r, i);
+function XE(e, t = 0, n = 1, r, i) {
+ e.min = YE(e.min, t, n, r, i), e.max = YE(e.max, t, n, r, i);
}
-function $E(e, { x: t, y: n }) {
- QE(e.x, t.translate, t.scale, t.originPoint), QE(e.y, n.translate, n.scale, n.originPoint);
+function ZE(e, { x: t, y: n }) {
+ XE(e.x, t.translate, t.scale, t.originPoint), XE(e.y, n.translate, n.scale, n.originPoint);
}
-var eD = .999999999999, tD = 1.0000000000001;
-function wae(e, t, n, r = !1) {
+var QE = .999999999999, $E = 1.0000000000001;
+function Eae(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -30404,44 +30404,44 @@ function wae(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (nD(e.x, -a.scroll.offset.x), nD(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, $E(e, o)), r && qE(a.latestValues) && aD(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (eD(e.x, -a.scroll.offset.x), eD(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ZE(e, o)), r && GE(a.latestValues) && rD(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < tD && t.x > eD && (t.x = 1), t.y < tD && t.y > eD && (t.y = 1);
+ t.x < $E && t.x > QE && (t.x = 1), t.y < $E && t.y > QE && (t.y = 1);
}
-function nD(e, t) {
+function eD(e, t) {
e.min += t, e.max += t;
}
-function rD(e, t, n, r, i = .5) {
- QE(e, t, n, yw(e.min, e.max, i), r);
+function tD(e, t, n, r, i = .5) {
+ XE(e, t, n, _w(e.min, e.max, i), r);
}
-function iD(e, t) {
+function nD(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function aD(e, t, n) {
+function rD(e, t, n) {
let r = n ?? e;
- rD(e.x, iD(t.x, r.x), t.scaleX, t.scale, t.originX), rD(e.y, iD(t.y, r.y), t.scaleY, t.scale, t.originY);
+ tD(e.x, nD(t.x, r.x), t.scaleX, t.scale, t.originX), tD(e.y, nD(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function oD(e, t) {
- return WE(Cae(e.getBoundingClientRect(), t));
+function iD(e, t) {
+ return HE(Tae(e.getBoundingClientRect(), t));
}
-function Tae(e, t, n) {
- let r = oD(e, n), { scroll: i } = t;
- return i && (nD(r.x, i.offset.x), nD(r.y, i.offset.y)), r;
+function Dae(e, t, n) {
+ let r = iD(e, n), { scroll: i } = t;
+ return i && (eD(r.x, i.offset.x), eD(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var Eae = {
+var Oae = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, Dae = Qw.length;
-function Oae(e, t, n) {
+}, kae = Xw.length;
+function Aae(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < Dae; a++) {
- let o = Qw[a], s = e[o];
+ for (let a = 0; a < kae; a++) {
+ let o = Xw[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -30450,154 +30450,154 @@ function Oae(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = nE(s, ZT[o]);
+ let e = eE(s, YT[o]);
if (!c) {
i = !1;
- let t = Eae[o] || o;
+ let t = Oae[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${nE(a, ZT.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${eE(a, YT.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function sD(e, t, n) {
+function aD(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if ($w.has(e)) {
+ if (Zw.has(e)) {
o = !0;
continue;
}
- if (GC(e)) {
+ if (UC(e)) {
i[e] = n;
continue;
}
{
- let t = nE(n, ZT[e]);
+ let t = eE(n, YT[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = Oae(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = Aae(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function cD(e, { style: t, vars: n }, r, i) {
+function oD(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function lD(e, t) {
+function sD(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var uD = { correct: (e, t) => {
+var cD = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
- if (sw.test(e)) e = parseFloat(e);
+ if (aw.test(e)) e = parseFloat(e);
else return e;
}
- return `${lD(e, t.target.x)}% ${lD(e, t.target.y)}%`;
-} }, kae = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = gw.parse(e);
+ return `${sD(e, t.target.x)}% ${sD(e, t.target.y)}%`;
+} }, jae = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = mw.parse(e);
if (i.length > 5) return r;
- let a = gw.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = mw.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = yw(s, c, .5);
+ let l = _w(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, dD = {
+} }, lD = {
borderRadius: {
- ...uD,
- applyTo: [...eE]
+ ...cD,
+ applyTo: [...QT]
},
- borderTopLeftRadius: uD,
- borderTopRightRadius: uD,
- borderBottomLeftRadius: uD,
- borderBottomRightRadius: uD,
- boxShadow: kae
+ borderTopLeftRadius: cD,
+ borderTopRightRadius: cD,
+ borderBottomLeftRadius: cD,
+ borderBottomRightRadius: cD,
+ boxShadow: jae
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function fD(e, { layout: t, layoutId: n }) {
- return $w.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!dD[e] || e === "opacity");
+function uD(e, { layout: t, layoutId: n }) {
+ return Zw.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!lD[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function pD(e, t, n) {
+function dD(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (RT(r[t]) || i && RT(i[t]) || fD(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (IT(r[t]) || i && IT(i[t]) || uD(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function Aae(e) {
+function Mae(e) {
return window.getComputedStyle(e);
}
-var jae = class extends HE {
+var Nae = class extends BE {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = cD;
+ super(...arguments), this.type = "html", this.renderInstance = oD;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if ($w.has(t)) return this.projection?.isProjecting ? Xw(t) : Kre(e, t);
+ if (Zw.has(t)) return this.projection?.isProjecting ? Jw(t) : Jre(e, t);
{
- let n = Aae(e), r = (GC(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = Mae(e), r = (UC(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return oD(e, t);
+ return iD(e, t);
}
build(e, t, n) {
- sD(e, t, n.transformTemplate);
+ aD(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return pD(e, t, n);
+ return dD(e, t, n);
}
-}, Mae = {
+}, Pae = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, Nae = {
+}, Fae = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function Pae(e, t, n = 1, r = 0, i = !0) {
+function Iae(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Mae : Nae;
+ let a = i ? Pae : Fae;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Fae = [
+var Lae = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function mD(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (sD(e, s, l), c) {
+function fD(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (aD(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of Fae) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Pae(d, i, a, o, !1);
+ for (let e of Lae) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Iae(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var hD = /* @__PURE__ */ new Set([
+var pD = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -30621,68 +30621,68 @@ var hD = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), gD = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), mD = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function Iae(e, t, n, r) {
- cD(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(hD.has(n) ? n : BT(n), t.attrs[n]);
+function Rae(e, t, n, r) {
+ oD(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(pD.has(n) ? n : RT(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function _D(e, t, n) {
- let r = pD(e, t, n);
- for (let n in e) if (RT(e[n]) || RT(t[n])) {
- let t = Qw.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function hD(e, t, n) {
+ let r = dD(e, t, n);
+ for (let n in e) if (IT(e[n]) || IT(t[n])) {
+ let t = Xw.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var Lae = class extends HE {
+var zae = class extends BE {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = kE;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = DE;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if ($w.has(t)) {
- let e = QT(t);
+ if (Zw.has(t)) {
+ let e = XT(t);
return e && e.default || 0;
}
- return t = hD.has(t) ? t : BT(t), e.getAttribute(t);
+ return t = pD.has(t) ? t : RT(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return _D(e, t, n);
+ return hD(e, t, n);
}
build(e, t, n) {
- mD(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ fD(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- Iae(e, t, n, r);
+ Rae(e, t, n, r);
}
mount(e) {
- this.isSVGTag = gD(e.tagName), super.mount(e);
+ this.isSVGTag = mD(e.tagName), super.mount(e);
}
-}, Rae = NE.length;
-function vD(e) {
+}, Bae = jE.length;
+function gD(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && vD(e.parent) || {};
+ let t = e.parent && gD(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < Rae; n++) {
- let r = NE[n], i = e.props[r];
- (jE(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < Bae; n++) {
+ let r = jE[n], i = e.props[r];
+ (kE(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function yD(e, t) {
+function _D(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -30691,13 +30691,13 @@ function yD(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var zae = [...ME].reverse(), Bae = ME.length;
-function Vae(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => Fie(e, t, n)));
+var Vae = [...AE].reverse(), Hae = AE.length;
+function Uae(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => Lie(e, t, n)));
}
-function Hae(e) {
- let t = Vae(e), n = xD(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = FT(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function Wae(e) {
+ let t = Uae(e), n = yD(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = NT(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -30712,12 +30712,12 @@ function Hae(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = vD(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < Bae; t++) {
- let p = zae[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = jE(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = gD(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < Hae; t++) {
+ let p = Vae[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = kE(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || AE(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || OE(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -30725,7 +30725,7 @@ function Hae(e) {
});
continue;
}
- let y = Uae(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = Gae(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -30739,7 +30739,7 @@ function Hae(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = LT(t) && LT(n) ? !yD(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = FT(t) && FT(n) ? !_D(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -30749,10 +30749,10 @@ function Hae(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = FT(r, t);
+ let { parent: r } = e, i = NT(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = TT(r.enteringChildren, e, t);
+ n.delay = CT(r.enteringChildren, e, t);
}
}
return {
@@ -30764,7 +30764,7 @@ function Hae(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = FT(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = NT(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -30788,14 +30788,14 @@ function Hae(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = xD(), i = !0;
+ n = yD(), i = !0;
}
};
}
-function Uae(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !yD(t, e) : !1;
+function Gae(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !_D(t, e) : !1;
}
-function bD(e = !1) {
+function vD(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -30803,115 +30803,115 @@ function bD(e = !1) {
prevResolvedValues: {}
};
}
-function xD() {
+function yD() {
return {
- animate: bD(!0),
- whileInView: bD(),
- whileHover: bD(),
- whileTap: bD(),
- whileDrag: bD(),
- whileFocus: bD(),
- exit: bD()
+ animate: vD(!0),
+ whileInView: vD(),
+ whileHover: vD(),
+ whileTap: vD(),
+ whileDrag: vD(),
+ whileFocus: vD(),
+ exit: vD()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function SD(e, t) {
+function bD(e, t) {
e.min = t.min, e.max = t.max;
}
-function CD(e, t) {
- SD(e.x, t.x), SD(e.y, t.y);
+function xD(e, t) {
+ bD(e.x, t.x), bD(e.y, t.y);
}
-function wD(e, t) {
+function SD(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var Wae = .9999, Gae = 1.0001, Kae = -.01, qae = .01;
-function TD(e) {
+var Kae = .9999, qae = 1.0001, Jae = -.01, Yae = .01;
+function CD(e) {
return e.max - e.min;
}
-function Jae(e, t, n) {
+function Xae(e, t, n) {
return Math.abs(e - t) <= n;
}
-function ED(e, t, n, r = .5) {
- e.origin = r, e.originPoint = yw(t.min, t.max, e.origin), e.scale = TD(n) / TD(t), e.translate = yw(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Wae && e.scale <= Gae || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Kae && e.translate <= qae || isNaN(e.translate)) && (e.translate = 0);
+function wD(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = _w(t.min, t.max, e.origin), e.scale = CD(n) / CD(t), e.translate = _w(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Kae && e.scale <= qae || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Jae && e.translate <= Yae || isNaN(e.translate)) && (e.translate = 0);
}
-function DD(e, t, n, r) {
- ED(e.x, t.x, n.x, r ? r.originX : void 0), ED(e.y, t.y, n.y, r ? r.originY : void 0);
+function TD(e, t, n, r) {
+ wD(e.x, t.x, n.x, r ? r.originX : void 0), wD(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function OD(e, t, n, r = 0) {
- e.min = (r ? yw(n.min, n.max, r) : n.min) + t.min, e.max = e.min + TD(t);
+function ED(e, t, n, r = 0) {
+ e.min = (r ? _w(n.min, n.max, r) : n.min) + t.min, e.max = e.min + CD(t);
}
-function Yae(e, t, n, r) {
- OD(e.x, t.x, n.x, r?.x), OD(e.y, t.y, n.y, r?.y);
+function Zae(e, t, n, r) {
+ ED(e.x, t.x, n.x, r?.x), ED(e.y, t.y, n.y, r?.y);
}
-function kD(e, t, n, r = 0) {
- let i = r ? yw(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + TD(t);
+function DD(e, t, n, r = 0) {
+ let i = r ? _w(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + CD(t);
}
-function AD(e, t, n, r) {
- kD(e.x, t.x, n.x, r?.x), kD(e.y, t.y, n.y, r?.y);
+function OD(e, t, n, r) {
+ DD(e.x, t.x, n.x, r?.x), DD(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function jD(e, t, n, r, i) {
- return e -= t, e = XE(e, 1 / n, r), i !== void 0 && (e = XE(e, 1 / i, r)), e;
+function kD(e, t, n, r, i) {
+ return e -= t, e = JE(e, 1 / n, r), i !== void 0 && (e = JE(e, 1 / i, r)), e;
}
-function Xae(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (ow.test(t) && (t = parseFloat(t), t = yw(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = yw(a.min, a.max, r);
- e === a && (s -= t), e.min = jD(e.min, t, n, s, i), e.max = jD(e.max, t, n, s, i);
+function Qae(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (iw.test(t) && (t = parseFloat(t), t = _w(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = _w(a.min, a.max, r);
+ e === a && (s -= t), e.min = kD(e.min, t, n, s, i), e.max = kD(e.max, t, n, s, i);
}
-function MD(e, t, [n, r, i], a, o) {
- Xae(e, t[n], t[r], t[i], t.scale, a, o);
+function AD(e, t, [n, r, i], a, o) {
+ Qae(e, t[n], t[r], t[i], t.scale, a, o);
}
-var Zae = [
+var $ae = [
"x",
"scaleX",
"originX"
-], Qae = [
+], eoe = [
"y",
"scaleY",
"originY"
];
-function ND(e, t, n, r) {
- MD(e.x, t, Zae, n ? n.x : void 0, r ? r.x : void 0), MD(e.y, t, Qae, n ? n.y : void 0, r ? r.y : void 0);
+function jD(e, t, n, r) {
+ AD(e.x, t, $ae, n ? n.x : void 0, r ? r.x : void 0), AD(e.y, t, eoe, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function PD(e) {
+function MD(e) {
return e.translate === 0 && e.scale === 1;
}
-function FD(e) {
- return PD(e.x) && PD(e.y);
+function ND(e) {
+ return MD(e.x) && MD(e.y);
}
-function ID(e, t) {
+function PD(e, t) {
return e.min === t.min && e.max === t.max;
}
-function $ae(e, t) {
- return ID(e.x, t.x) && ID(e.y, t.y);
+function toe(e, t) {
+ return PD(e.x, t.x) && PD(e.y, t.y);
}
-function LD(e, t) {
+function FD(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function RD(e, t) {
- return LD(e.x, t.x) && LD(e.y, t.y);
+function ID(e, t) {
+ return FD(e.x, t.x) && FD(e.y, t.y);
}
-function zD(e) {
- return TD(e.x) / TD(e.y);
+function LD(e) {
+ return CD(e.x) / CD(e.y);
}
-function BD(e, t) {
+function RD(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function VD(e) {
+function zD(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function eoe(e, t, n) {
+function noe(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -30922,81 +30922,81 @@ function eoe(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var toe = eE.length, HD = (e) => typeof e == "string" ? parseFloat(e) : e, UD = (e) => typeof e == "number" || sw.test(e);
-function noe(e, t, n, r, i, a) {
- i ? (e.opacity = yw(0, n.opacity ?? 1, roe(r)), e.opacityExit = yw(t.opacity ?? 1, 0, ioe(r))) : a && (e.opacity = yw(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < toe; i++) {
- let a = eE[i], o = WD(t, a), s = WD(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || UD(o) === UD(s) ? (e[a] = Math.max(yw(HD(o), HD(s), r), 0), (ow.test(s) || ow.test(o)) && (e[a] += "%")) : e[a] = s);
+var roe = QT.length, BD = (e) => typeof e == "string" ? parseFloat(e) : e, VD = (e) => typeof e == "number" || aw.test(e);
+function ioe(e, t, n, r, i, a) {
+ i ? (e.opacity = _w(0, n.opacity ?? 1, aoe(r)), e.opacityExit = _w(t.opacity ?? 1, 0, ooe(r))) : a && (e.opacity = _w(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < roe; i++) {
+ let a = QT[i], o = HD(t, a), s = HD(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || VD(o) === VD(s) ? (e[a] = Math.max(_w(BD(o), BD(s), r), 0), (iw.test(s) || iw.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = yw(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = _w(t.rotate || 0, n.rotate || 0, r));
}
-function WD(e, t) {
+function HD(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var roe = /*@__PURE__*/ GD(0, .5, CC), ioe = /*@__PURE__*/ GD(.5, .95, iC);
-function GD(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ oC(e, t, r));
+var aoe = /*@__PURE__*/ UD(0, .5, xC), ooe = /*@__PURE__*/ UD(.5, .95, nC);
+function UD(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ iC(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function aoe(e, t, n) {
- let r = RT(e) ? e : OT(e);
- return r.start(jT("", r, t, n)), r.animation;
+function soe(e, t, n) {
+ let r = IT(e) ? e : ET(e);
+ return r.start(kT("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function KD(e, t, n, r = { passive: !0 }) {
+function WD(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var ooe = (e, t) => e.depth - t.depth, soe = class {
+var coe = (e, t) => e.depth - t.depth, loe = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- XS(this.children, e), this.isDirty = !0;
+ JS(this.children, e), this.isDirty = !0;
}
remove(e) {
- ZS(this.children, e), this.isDirty = !0;
+ YS(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(ooe), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(coe), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function coe(e, t) {
- let n = UC.now(), r = ({ timestamp: i }) => {
+function uoe(e, t) {
+ let n = VC.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (RC(r), e(a - t));
+ a >= t && (IC(r), e(a - t));
};
- return LC.setup(r, !0), () => RC(r);
+ return FC.setup(r, !0), () => IC(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function qD(e) {
- return RT(e) ? e.get() : e;
+function GD(e) {
+ return IT(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var loe = class {
+var doe = class {
constructor() {
this.members = [];
}
add(e) {
- XS(this.members, e);
+ JS(this.members, e);
for (let t = this.members.length - 1; t >= 0; t--) {
let n = this.members[t];
if (n === e || n === this.lead || n === this.prevLead) continue;
let r = n.instance;
- (!r || r.isConnected === !1) && !n.snapshot && (ZS(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (YS(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (ZS(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (YS(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
let e = this.members[this.members.length - 1];
e && this.promote(e);
}
@@ -31027,51 +31027,51 @@ var loe = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, JD = {
+}, KD = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, YD = {
+}, qD = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, XD = [
+}, JD = [
"",
"X",
"Y",
"Z"
-], uoe = 1e3, doe = 0;
-function ZD(e, t, n, r) {
+], foe = 1e3, poe = 0;
+function YD(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function QD(e) {
+function XD(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = HT(t);
+ let n = BT(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", LC, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", FC, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && QD(r);
+ r && !r.hasCheckedOptimisedAppear && XD(r);
}
-function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function ZD({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = doe++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = poe++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, CE.value && (YD.nodes = YD.calculatedTargetDeltas = YD.calculatedProjections = 0), this.nodes.forEach(moe), this.nodes.forEach(boe), this.nodes.forEach(xoe), this.nodes.forEach(hoe), CE.addProjectionMetrics && CE.addProjectionMetrics(YD);
+ this.projectionUpdateScheduled = !1, xE.value && (qD.nodes = qD.calculatedTargetDeltas = qD.calculatedProjections = 0), this.nodes.forEach(goe), this.nodes.forEach(Soe), this.nodes.forEach(Coe), this.nodes.forEach(_oe), xE.addProjectionMetrics && xE.addProjectionMetrics(qD);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new soe());
+ this.root === this && (this.nodes = new loe());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new sC()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new aC()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -31082,15 +31082,15 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = gE(t) && !fae(t), this.instance = t;
+ this.isSVG = mE(t) && !mae(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
- LC.read(() => {
+ FC.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = coe(i, 250), JD.hasAnimatedSinceResize && (JD.hasAnimatedSinceResize = !1, this.nodes.forEach(nO)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = uoe(i, 250), KD.hasAnimatedSinceResize && (KD.hasAnimatedSinceResize = !1, this.nodes.forEach(eO)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -31098,23 +31098,23 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || Eoe, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !RD(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Ooe, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !ID(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...AT(a, "layout"),
+ ...OT(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || nO(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || eO(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
unmount() {
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
let e = this.getStack();
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), RC(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), IC(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -31129,7 +31129,7 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Soe), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(woe), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -31140,7 +31140,7 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && QD(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && XD(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -31154,39 +31154,39 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(_oe), this.nodes.forEach(eO);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(yoe), this.nodes.forEach(QD);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(tO);
+ this.nodes.forEach($D);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(voe), this.nodes.forEach(yoe), this.nodes.forEach(foe), this.nodes.forEach(poe)) : this.nodes.forEach(tO), this.clearAllSnapshots();
- let e = UC.now();
- zC.delta = QS(0, 1e3 / 60, e - zC.timestamp), zC.timestamp = e, zC.isProcessing = !0, BC.update.process(zC), BC.preRender.process(zC), BC.render.process(zC), zC.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(boe), this.nodes.forEach(xoe), this.nodes.forEach(moe), this.nodes.forEach(hoe)) : this.nodes.forEach($D), this.clearAllSnapshots();
+ let e = VC.now();
+ LC.delta = XS(0, 1e3 / 60, e - LC.timestamp), LC.timestamp = e, LC.isProcessing = !0, RC.update.process(LC), RC.preRender.process(LC), RC.render.process(LC), LC.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, iE.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, nE.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(goe), this.sharedNodes.forEach(Coe);
+ this.nodes.forEach(voe), this.sharedNodes.forEach(Toe);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, LC.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, FC.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- LC.postRender(() => {
+ FC.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !TD(this.snapshot.measuredBox.x) && !TD(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !CD(this.snapshot.measuredBox.x) && !CD(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= kE(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= DE(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -31205,12 +31205,12 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !FD(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || qE(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !ND(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || GE(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), Doe(n), {
+ return e && (n = this.removeTransform(n)), koe(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -31220,42 +31220,42 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return kE();
+ if (!e) return DE();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Ooe))) {
+ if (!(this.scroll?.wasRoot || this.path.some(Aoe))) {
let { scroll: e } = this.root;
- e && (nD(t.x, e.offset.x), nD(t.y, e.offset.y));
+ e && (eD(t.x, e.offset.x), eD(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = kE();
- if (CD(t, e), this.scroll?.wasRoot) return t;
+ let t = DE();
+ if (xD(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && CD(t, e), nD(t.x, i.offset.x), nD(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && xD(t, e), eD(t.x, i.offset.x), eD(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || kE();
- CD(r, e);
+ let r = n || DE();
+ xD(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (nD(r.x, -n.scroll.offset.x), nD(r.y, -n.scroll.offset.y)), qE(n.latestValues) && aD(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (eD(r.x, -n.scroll.offset.x), eD(r.y, -n.scroll.offset.y)), GE(n.latestValues) && rD(r, n.latestValues, n.layout?.layoutBox);
}
- return qE(this.latestValues) && aD(r, this.latestValues, this.layout?.layoutBox), r;
+ return GE(this.latestValues) && rD(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = kE();
- CD(t, e);
+ let t = DE();
+ xD(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!qE(n.latestValues)) continue;
+ if (!GE(n.latestValues)) continue;
let r;
- n.instance && (KE(n.latestValues) && n.updateSnapshot(), r = kE(), CD(r, n.measurePageBox())), ND(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (WE(n.latestValues) && n.updateSnapshot(), r = DE(), xD(r, n.measurePageBox())), jD(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return qE(this.latestValues) && ND(t, this.latestValues), t;
+ return GE(this.latestValues) && jD(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -31271,7 +31271,7 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
}
forceRelativeParentToResolveTarget() {
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== zC.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== LC.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -31280,36 +31280,36 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
let { layout: r, layoutId: i } = this.options;
if (!this.layout || !(r || i)) return;
- this.resolvedRelativeTargetAt = zC.timestamp;
+ this.resolvedRelativeTargetAt = LC.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = kE(), this.targetWithTransforms = kE()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Yae(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : CD(this.target, this.layout.layoutBox), $E(this.target, this.targetDelta)) : CD(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), CE.value && YD.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = DE(), this.targetWithTransforms = DE()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Zae(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : xD(this.target, this.layout.layoutBox), ZE(this.target, this.targetDelta)) : xD(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), xE.value && qD.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || KE(this.parent.latestValues) || JE(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || WE(this.parent.latestValues) || KE(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = kE(), this.relativeTargetOrigin = kE(), AD(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), CD(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = DE(), this.relativeTargetOrigin = DE(), OD(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), xD(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
}
calcProjection() {
let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === zC.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === LC.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- CD(this.layoutCorrected, this.layout.layoutBox);
+ xD(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- wae(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = kE());
+ Eae(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = DE());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (wD(this.prevProjectionDelta.x, this.projectionDelta.x), wD(this.prevProjectionDelta.y, this.projectionDelta.y)), DD(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !BD(this.projectionDelta.x, this.prevProjectionDelta.x) || !BD(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), CE.value && YD.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (SD(this.prevProjectionDelta.x, this.projectionDelta.x), SD(this.prevProjectionDelta.y, this.projectionDelta.y)), TD(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !RD(this.projectionDelta.x, this.prevProjectionDelta.x) || !RD(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), xE.value && qD.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -31325,22 +31325,22 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = DE(), this.projectionDelta = DE(), this.projectionDeltaWithTransform = DE();
+ this.prevProjectionDelta = TE(), this.projectionDelta = TE(), this.projectionDeltaWithTransform = TE();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = DE();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = TE();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = kE(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Toe));
+ let s = DE(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Doe));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = yw(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = yw(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (rO(o.x, e.x, n), rO(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (AD(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), woe(this.relativeTarget, this.relativeTargetOrigin, s, n), f && $ae(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= kE(), CD(f, this.relativeTarget)), c && (this.animationValues = a, noe(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = _w(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = _w(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (tO(o.x, e.x, n), tO(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (OD(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Eoe(this.relativeTarget, this.relativeTargetOrigin, s, n), f && toe(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= DE(), xD(f, this.relativeTarget)), c && (this.animationValues = a, ioe(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (RC(this.pendingAnimation), void 0), this.pendingAnimation = LC.update(() => {
- JD.hasAnimatedSinceResize = !0, this.motionValue ||= OT(0), this.motionValue.jump(0, !1), this.currentAnimation = aoe(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (IC(this.pendingAnimation), void 0), this.pendingAnimation = FC.update(() => {
+ KD.hasAnimatedSinceResize = !0, this.motionValue ||= ET(0), this.motionValue.jump(0, !1), this.currentAnimation = soe(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -31359,23 +31359,23 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(uoe), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(foe), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && cO(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || kE();
- let t = TD(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && oO(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || DE();
+ let t = CD(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = TD(this.layout.layoutBox.y);
+ let r = CD(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- CD(t, n), aD(t, i), DD(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ xD(t, n), rD(t, i), TD(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new loe()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new doe()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -31412,8 +31412,8 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && ZD("z", e, r, this.animationValues);
- for (let t = 0; t < XD.length; t++) ZD(`rotate${XD[t]}`, e, r, this.animationValues), ZD(`skew${XD[t]}`, e, r, this.animationValues);
+ n.z && YD("z", e, r, this.animationValues);
+ for (let t = 0; t < JD.length; t++) YD(`rotate${JD[t]}`, e, r, this.animationValues), YD(`skew${JD[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -31426,71 +31426,71 @@ function $D({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = qD(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = GD(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = qD(t?.pointerEvents) || ""), this.hasProjected && !qE(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = GD(t?.pointerEvents) || ""), this.hasProjected && !GE(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = eoe(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = noe(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in dD) {
+ for (let t in lD) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = dD[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = lD[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? qD(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? GD(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(eO), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(QD), this.root.sharedNodes.clear();
}
};
}
-function foe(e) {
+function moe(e) {
e.updateLayout();
}
-function poe(e) {
+function hoe(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") VD((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = TD(r);
+ if (i === "size") zD((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = CD(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- SD(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else cO(i, t.layoutBox, n) && VD((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = TD(n[r]);
+ bD(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else oO(i, t.layoutBox, n) && zD((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = CD(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = DE();
- DD(o, n, t.layoutBox);
- let s = DE();
- a ? DD(s, e.applyTransform(r, !0), t.measuredBox) : DD(s, n, t.layoutBox);
- let c = !FD(o), l = !1;
+ let o = TE();
+ TD(o, n, t.layoutBox);
+ let s = TE();
+ a ? TD(s, e.applyTransform(r, !0), t.measuredBox) : TD(s, n, t.layoutBox);
+ let c = !ND(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = kE();
- AD(s, t.layoutBox, i.layoutBox, o);
- let c = kE();
- AD(c, n, a.layoutBox, o), RD(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = DE();
+ OD(s, t.layoutBox, i.layoutBox, o);
+ let c = DE();
+ OD(c, n, a.layoutBox, o), ID(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -31508,59 +31508,59 @@ function poe(e) {
}
e.options.transition = void 0;
}
-function moe(e) {
- CE.value && YD.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function goe(e) {
+ xE.value && qD.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function hoe(e) {
+function _oe(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function goe(e) {
+function voe(e) {
e.clearSnapshot();
}
-function eO(e) {
+function QD(e) {
e.clearMeasurements();
}
-function _oe(e) {
+function yoe(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function tO(e) {
+function $D(e) {
e.isLayoutDirty = !1;
}
-function voe(e) {
+function boe(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function yoe(e) {
+function xoe(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function nO(e) {
+function eO(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function boe(e) {
+function Soe(e) {
e.resolveTargetDelta();
}
-function xoe(e) {
+function Coe(e) {
e.calcProjection();
}
-function Soe(e) {
+function woe(e) {
e.resetSkewAndRotation();
}
-function Coe(e) {
+function Toe(e) {
e.removeLeadSnapshot();
}
-function rO(e, t, n) {
- e.translate = yw(t.translate, 0, n), e.scale = yw(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
+function tO(e, t, n) {
+ e.translate = _w(t.translate, 0, n), e.scale = _w(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function iO(e, t, n, r) {
- e.min = yw(t.min, n.min, r), e.max = yw(t.max, n.max, r);
+function nO(e, t, n, r) {
+ e.min = _w(t.min, n.min, r), e.max = _w(t.max, n.max, r);
}
-function woe(e, t, n, r) {
- iO(e.x, t.x, n.x, r), iO(e.y, t.y, n.y, r);
+function Eoe(e, t, n, r) {
+ nO(e.x, t.x, n.x, r), nO(e.y, t.y, n.y, r);
}
-function Toe(e) {
+function Doe(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var Eoe = {
+var Ooe = {
duration: .45,
ease: [
.4,
@@ -31568,39 +31568,39 @@ var Eoe = {
.1,
1
]
-}, aO = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), oO = aO("applewebkit/") && !aO("chrome/") ? Math.round : iC;
-function sO(e) {
- e.min = oO(e.min), e.max = oO(e.max);
+}, rO = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), iO = rO("applewebkit/") && !rO("chrome/") ? Math.round : nC;
+function aO(e) {
+ e.min = iO(e.min), e.max = iO(e.max);
}
-function Doe(e) {
- sO(e.x), sO(e.y);
+function koe(e) {
+ aO(e.x), aO(e.y);
}
-function cO(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Jae(zD(t), zD(n), .2);
+function oO(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !Xae(LD(t), LD(n), .2);
}
-function Ooe(e) {
+function Aoe(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var koe = $D({
- attachResizeListener: (e, t) => KD(e, "resize", t),
+var joe = ZD({
+ attachResizeListener: (e, t) => WD(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), lO = { current: void 0 }, uO = $D({
+}), sO = { current: void 0 }, cO = ZD({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!lO.current) {
- let e = new koe({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), lO.current = e;
+ if (!sO.current) {
+ let e = new joe({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), sO.current = e;
}
- return lO.current;
+ return sO.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
@@ -31609,18 +31609,18 @@ var koe = $D({
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function Aoe(e, t, n, r) {
+function Moe(e, t, n, r) {
if (e == null) return [];
- let i = tE(e, r), a = i.length, o = [];
+ let i = $T(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...AT(s, e) };
- i.duration &&= /* @__PURE__ */ cC(i.duration), i.delay &&= /* @__PURE__ */ cC(i.delay);
- let a = _ie(r), c = gie(e, i.pseudoElement || ""), l = a.get(c);
+ let i = { ...OT(s, e) };
+ i.duration &&= /* @__PURE__ */ oC(i.duration), i.delay &&= /* @__PURE__ */ oC(i.delay);
+ let a = yie(r), c = vie(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -31636,40 +31636,40 @@ function Aoe(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = hE(r, i)), Uw(t), qie(t, i), !a && t.length < 2 && t.unshift(hE(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = pE(r, i)), Vw(t), Yie(t, i), !a && t.length < 2 && t.unshift(pE(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new _T(r);
+ let { map: t, key: n, options: r } = o[e], i = new hT(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var joe = /*@__PURE__*/ ((e) => {
+var Noe = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new hie(Aoe(t, n, r, e));
+ return new _ie(Moe(t, n, r, e));
}
return t;
-})(), dO = (e, t) => Math.abs(e - t);
-function Moe(e, t) {
- let n = dO(e.x, t.x), r = dO(e.y, t.y);
+})(), lO = (e, t) => Math.abs(e - t);
+function Poe(e, t) {
+ let n = lO(e.x, t.x), r = lO(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Noe = {
+var Foe = {
selection: {
- type: Pw,
+ type: Mw,
duration: .16,
bounce: 0
},
hover: {
- type: Pw,
+ type: Mw,
duration: .08,
bounce: 0
}
};
-function fO(e) {
+function uO(e) {
let [t, n] = (0, L.useState)(null);
return (0, L.useLayoutEffect)(() => {
if (!t) return;
@@ -31690,7 +31690,7 @@ function fO(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = joe(n, { transform: [r, E] }, Noe[e]);
+ l = Noe(n, { transform: [r, E] }, Foe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -31727,8 +31727,8 @@ function fO(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function pO(e) {
- let t = fO("hover");
+function dO(e) {
+ let t = uO("hover");
return /* @__PURE__ */ (0, R.jsx)(bb, {
...e,
ref: t
@@ -31736,7 +31736,7 @@ function pO(e) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var mO = Fi({
+var fO = Fi({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -31760,15 +31760,15 @@ var mO = Fi({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function hO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = Pi(mO.base, mO.size[t], mO.variant[e], a), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+function pO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = Pi(fO.base, fO.size[t], fO.variant[e], a), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
n ? /* @__PURE__ */ (0, R.jsx)(n, {
- className: mO.icon[t],
+ className: fO.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, R.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, R.jsx)(r, {
- className: mO.icon[t],
+ className: fO.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -31795,7 +31795,7 @@ function hO({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var gO = [
+var mO = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -31803,74 +31803,74 @@ var gO = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), Poe = "w-[266px]", Foe = "flex w-full flex-col gap-1 outline-none", _O = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), vO = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), Ioe = "w-[266px]", Loe = "flex w-full flex-col gap-1 outline-none", hO = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), gO = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var Ioe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Loe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Roe = Xi({
+var Roe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", zoe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Boe = Xi({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), zoe = {
+}), Voe = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, Boe = {
+}, Hoe = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, Voe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Hoe = {
+}, Uoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Woe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, Uoe = Xi({
+}, Goe = Xi({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), yO = "border-t border-border-button-default p-4 first:border-t-0";
-function bO({ tone: e = "neutral", status: t, children: n }) {
+}), _O = "border-t border-border-button-default p-4 first:border-t-0";
+function vO({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: `${Voe} ${Hoe[e]}`,
+ className: `${Uoe} ${Woe[e]}`,
children: [t ? /* @__PURE__ */ (0, R.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function xO({ id: e, children: t }) {
+function yO({ id: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function SO({ id: e, gap: t = "none", children: n }) {
+function bO({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, R.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function CO({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function xO({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, R.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${Roe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${Boe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
- className: zoe[e],
+ className: Voe[e],
children: a
}), i ? /* @__PURE__ */ (0, R.jsx)("footer", {
- className: Boe[e],
+ className: Hoe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function wO() {
+function SO() {
let e = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
v(e.current);
@@ -31878,7 +31878,7 @@ function wO() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var TO = Fi({
+var CO = Fi({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -31899,21 +31899,21 @@ var TO = Fi({
small: "size-4 shrink-0"
}
});
-function EO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function wO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
ref: i,
type: r,
- className: Pi(TO.base, TO.size[t], n),
+ className: Pi(CO.base, CO.size[t], n),
...a,
children: /* @__PURE__ */ (0, R.jsx)(e, {
- className: TO.icon[t],
+ className: CO.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function Woe({ className: e }) {
+function Koe({ className: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -31926,8 +31926,8 @@ function Woe({ className: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-folder-open" })
});
}
-var Goe = "打开文件管理器失败,请重试";
-function DO({ path: e, prefix: t, className: n, onRevealed: r }) {
+var qoe = "打开文件管理器失败,请重试";
+function TO({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, L.useState)(!1), [o, s] = (0, L.useState)(""), c = (0, L.useRef)(!0);
(0, L.useEffect)(() => () => {
c.current = !1;
@@ -31938,7 +31938,7 @@ function DO({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await U("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof Bi ? e.message : Goe);
+ c.current && s(e instanceof Bi ? e.message : qoe);
} finally {
c.current && a(!1);
}
@@ -31951,8 +31951,8 @@ function DO({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, R.jsxs)("p", {
className: Pi("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, R.jsx)(EO, {
- icon: Woe,
+ }), /* @__PURE__ */ (0, R.jsx)(wO, {
+ icon: Koe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -31967,7 +31967,7 @@ function DO({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function OO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function EO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : Xi({
@@ -31987,19 +31987,19 @@ function OO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function Koe({ className: e, children: t }) {
+function Joe({ className: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: Pi("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function kO({ className: e, children: t }) {
+function DO({ className: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
className: Pi("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function AO({ label: e, description: t, children: n }) {
+function OO({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: Pi("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -32016,14 +32016,14 @@ function AO({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function jO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function kO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(kO, { children: e })
+ children: /* @__PURE__ */ (0, R.jsx)(DO, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, R.jsx)(kO, { children: e }), /* @__PURE__ */ (0, R.jsx)(Koe, { children: i })] });
+ }) : /* @__PURE__ */ (0, R.jsx)(DO, { children: e }), /* @__PURE__ */ (0, R.jsx)(Joe, { children: i })] });
return r ? /* @__PURE__ */ (0, R.jsx)("form", {
id: t,
"aria-label": e,
@@ -32038,13 +32038,13 @@ function jO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function MO({ children: e }) {
+function AO({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function NO({ divided: e = !1, children: t }) {
+function jO({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -32053,7 +32053,7 @@ function NO({ divided: e = !1, children: t }) {
children: t
});
}
-function PO({ status: e, children: t }) {
+function MO({ status: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -32062,28 +32062,28 @@ function PO({ status: e, children: t }) {
}) : null, t]
});
}
-function FO({ role: e, children: t }) {
+function NO({ role: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function IO({ children: e }) {
+function PO({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function LO({ children: e }) {
+function FO({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function RO({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, R.jsx)(hO, {
+function IO({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, R.jsx)(pO, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
@@ -32097,13 +32097,13 @@ function RO({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function zO({ children: e }) {
+function LO({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function BO({ term: e, children: t }) {
+function RO({ term: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, R.jsx)("dt", {
@@ -32115,7 +32115,7 @@ function BO({ term: e, children: t }) {
})]
});
}
-function VO({ summary: e, defaultOpen: t = !1, children: n }) {
+function zO({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, L.useId)(), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(!1), [s, c] = (0, L.useState)(t);
return /* @__PURE__ */ (0, R.jsxs)("details", {
ref: (e) => {
@@ -32143,7 +32143,7 @@ function VO({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function qoe({ name: e }) {
+function Yoe({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32152,18 +32152,18 @@ function qoe({ name: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function HO({ mark: e }) {
+function BO({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, R.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, R.jsx)(qoe, { name: e });
+ }) : /* @__PURE__ */ (0, R.jsx)(Yoe, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function UO({ toast: e, mode: t, monitor: n }) {
+function VO({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Zn({
queryKey: us,
queryFn: ({ signal: e }) => ds(e),
@@ -32187,7 +32187,7 @@ function UO({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Joe = [
+var Xoe = [
{
label: "扫描并补全资料",
icon: Ze,
@@ -32203,13 +32203,13 @@ var Joe = [
icon: rt,
command: { stage: "collect" }
}
-], Yoe = Pi(_O, vO, "text-body-2-medium"), Xoe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Zoe = (e) => {
+], Zoe = Pi(hO, gO, "text-body-2-medium"), Qoe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", $oe = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, Qoe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Zoe(e);
-function $oe({ busy: e, onRun: t }) {
+}, ese = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + $oe(e);
+function tse({ busy: e, onRun: t }) {
let n = (0, L.useRef)(null), [r, i] = (0, L.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -32240,13 +32240,13 @@ function $oe({ busy: e, onRun: t }) {
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: gO,
- children: /* @__PURE__ */ (0, R.jsx)(pO, {
+ className: mO,
+ children: /* @__PURE__ */ (0, R.jsx)(dO, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Joe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: Xoe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
- className: Yoe,
+ className: Zoe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, R.jsx)(t, {
"aria-hidden": !0,
@@ -32256,8 +32256,8 @@ function $oe({ busy: e, onRun: t }) {
})
})] });
}
-function ese({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = xs(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ys(e.notes || {}), c = wO();
+function nse({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = xs(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ys(e.notes || {}), c = SO();
return /* @__PURE__ */ (0, R.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -32265,7 +32265,7 @@ function ese({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "warning",
title: "处理较慢",
- children: Xoe
+ children: Qoe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
@@ -32277,7 +32277,7 @@ function ese({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, R.jsxs)(VO, {
+ children: /* @__PURE__ */ (0, R.jsxs)(zO, {
summary: a.label,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "relative",
@@ -32308,7 +32308,7 @@ function ese({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, R.jsx)(DO, {
+ children: /* @__PURE__ */ (0, R.jsx)(TO, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -32322,13 +32322,13 @@ function ese({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "success",
title: "处理完成",
- children: Qoe(n)
+ children: ese(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, R.jsx)(DO, {
+ children: /* @__PURE__ */ (0, R.jsx)(TO, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -32340,8 +32340,8 @@ function ese({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function WO(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = UO(e), o = Qn({
+function HO(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = VO(e), o = Qn({
mutationFn: (e) => U(ls, e),
onSuccess: (e) => {
a(), K.setQueryData(us, e), K.invalidateQueries({ queryKey: us });
@@ -32355,23 +32355,23 @@ function WO(e) {
};
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, R.jsx)(CO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(xO, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(hO, {
+ /* @__PURE__ */ (0, R.jsx)(pO, {
href: "/scraping",
size: "small",
trailingIcon: Ue,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ s.candidates ? /* @__PURE__ */ (0, R.jsx)(pO, {
href: "/review",
size: "small",
trailingIcon: Ue,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, R.jsx)($oe, {
+ /* @__PURE__ */ (0, R.jsx)(tse, {
busy: l,
onRun: d
})
@@ -32379,12 +32379,12 @@ function WO(e) {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(SO, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, R.jsx)(bO, { children: "扫描与采集" }),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Ioe
+ children: Roe
}),
- s.status === "running" ? /* @__PURE__ */ (0, R.jsx)(OO, {
+ s.status === "running" ? /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: u,
value: s.checked,
@@ -32392,7 +32392,7 @@ function WO(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, R.jsx)(ese, {
+ }), /* @__PURE__ */ (0, R.jsx)(nse, {
state: s,
problem: c,
settled: i,
@@ -32408,7 +32408,7 @@ function WO(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function tse(e) {
+function rse(e) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -32422,7 +32422,7 @@ function tse(e) {
})
});
}
-function nse(e) {
+function ise(e) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -32436,7 +32436,7 @@ function nse(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function rse(e, t, n) {
+function ase(e, t, n) {
(0, L.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -32450,7 +32450,7 @@ function rse(e, t, n) {
n
]);
}
-function ise(e, t) {
+function ose(e, t) {
let n = (0, L.useRef)(!1);
return (0, L.useEffect)(() => {
if (!e) return;
@@ -32464,11 +32464,11 @@ function ise(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var GO = (0, L.createContext)("md");
-function KO({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var UO = (0, L.createContext)("md");
+function WO({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, L.useRef)(null), u = (0, L.useRef)(null), [d, f] = (0, L.useState)(!1);
- rse(d, () => f(!1), [l, u]);
- let p = ise(d, l);
+ ase(d, () => f(!1), [l, u]);
+ let p = ose(d, l);
return /* @__PURE__ */ (0, R.jsx)(ene, {
ref: s,
...c,
@@ -32481,16 +32481,16 @@ function KO({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: [/* @__PURE__ */ (0, R.jsx)(rne, {
className: Pi("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, R.jsx)(tse, { className: Pi("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, R.jsx)(rse, { className: Pi("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, R.jsx)(Ey, {
ref: u,
isNonModal: !0,
offset: 4,
- className: Pi(Poe, gO, "p-2", n),
+ className: Pi(Ioe, mO, "p-2", n),
children: /* @__PURE__ */ (0, R.jsx)(Pee, {
items: a,
- className: Pi(Foe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, R.jsx)(GO.Provider, {
+ className: Pi(Loe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, R.jsx)(UO.Provider, {
value: r,
children: i
})
@@ -32498,19 +32498,19 @@ function KO({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function qO({ className: e, children: t, ...n }) {
- let r = (0, L.useContext)(GO);
+function GO({ className: e, children: t, ...n }) {
+ let r = (0, L.useContext)(UO);
return /* @__PURE__ */ (0, R.jsx)(Lee, {
...n,
- className: (t) => Pi(_O, 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) => Pi(hO, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var JO = 2e3, ase = (e) => e, ose = (e, t) => t;
-function YO(e) {
- let { queryKey: t, jobOf: n = ase, withJob: r = ose, idlePollMs: i } = e, [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(null), l = (0, L.useRef)(e);
+var KO = 2e3, sse = (e) => e, cse = (e, t) => t;
+function qO(e) {
+ let { queryKey: t, jobOf: n = sse, withJob: r = cse, idlePollMs: i } = e, [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(null), l = (0, L.useRef)(e);
(0, L.useEffect)(() => {
l.current = e;
});
@@ -32519,7 +32519,7 @@ function YO(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? JO : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? KO : i ?? !1;
}
}), d = Qn({
mutationFn: (e) => l.current.start(e),
@@ -32550,12 +32550,12 @@ function YO(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var sse = (e) => _[e] || e, XO = (e) => K.setQueryData(Es, e);
-function cse() {
+var lse = (e) => _[e] || e, JO = (e) => K.setQueryData(Es, e);
+function use() {
let e = Zn({
queryKey: Es,
queryFn: ({ signal: e }) => ks(e),
- refetchInterval: (e) => e.state.data?.status === "running" && JO
+ refetchInterval: (e) => e.state.data?.status === "running" && KO
}), t = Zn({
queryKey: Ds,
queryFn: ({ signal: e }) => As(e)
@@ -32564,18 +32564,18 @@ function cse() {
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => XO(await U(Ts, {
+ onConfirm: async () => JO(await U(Ts, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => U(Ts, { stop: !0 }, "POST", e), XO), d = Ns(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => U(Ts, { stop: !0 }, "POST", e), JO), d = Ns(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, R.jsx)(CO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(xO, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(KO, {
+ footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -32583,10 +32583,10 @@ function cse() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, R.jsxs)(qO, {
+ children: o.map((e) => /* @__PURE__ */ (0, R.jsxs)(GO, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, R.jsx)(HO, { mark: sse(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, R.jsx)(BO, { mark: lse(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, R.jsx)(V, {
onClick: u,
@@ -32600,10 +32600,10 @@ function cse() {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(SO, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, R.jsx)(bO, { children: "媒体修复" }),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Loe
+ children: zoe
}),
s && a.total ? /* @__PURE__ */ (0, R.jsx)(ra, {
label: "修复进度",
@@ -32641,7 +32641,7 @@ function cse() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var ZO = {
+var YO = {
md: {
box: "size-4",
glyph: "size-4",
@@ -32655,8 +32655,8 @@ var ZO = {
gap: "gap-1.5"
}
};
-function QO({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = ZO[t], c = n || r, l = o && !a;
+function XO({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = YO[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
className: Pi("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Pi("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Pi("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"),
@@ -32683,13 +32683,13 @@ function QO({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function $O({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = ZO[n];
+function ZO({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = YO[n];
return /* @__PURE__ */ (0, R.jsx)(ree, {
ref: r,
...i,
className: (t) => Pi("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(QO, {
+ children: (e) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(XO, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, R.jsx)("span", {
@@ -32700,7 +32700,7 @@ function $O({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function ek({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function QO({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: Pi("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, R.jsx)(Fne, {
@@ -32712,7 +32712,7 @@ function ek({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/row-click.ts
-var lse = [
+var dse = [
"a",
"button",
"input",
@@ -32725,15 +32725,15 @@ var lse = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function tk(e, t) {
+function $O(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(lse);
+ let r = n.closest(dse);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function nk({ children: e, follow: t = !1, onRowClick: n }) {
+function ek({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -32741,15 +32741,15 @@ function nk({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && tk(e, r) && n(r.dataset.key);
+ r && $O(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var use = To("unlink"), rk = To("rotate-cw"), dse = "站点返回 404 或 410,确认这个地址不存在。", fse = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", pse = "删除前会逐条重验一次;此操作不可撤销。", mse = "暂时无法读取进度,正在重新连接…", ik = (e) => Number(e || 0).toLocaleString();
-function ak({ label: e, value: t, note: n }) {
+var fse = To("unlink"), tk = To("rotate-cw"), pse = "站点返回 404 或 410,确认这个地址不存在。", mse = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", hse = "删除前会逐条重验一次;此操作不可撤销。", gse = "暂时无法读取进度,正在重新连接…", nk = (e) => Number(e || 0).toLocaleString();
+function rk({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -32768,11 +32768,11 @@ function ak({ label: e, value: t, note: n }) {
]
});
}
-function ok({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function ik({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: yO,
+ className: _O,
children: [
/* @__PURE__ */ (0, R.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -32785,13 +32785,13 @@ function ok({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, R.jsx)(nk, { children: /* @__PURE__ */ (0, R.jsxs)(ek, {
+ /* @__PURE__ */ (0, R.jsx)(ek, { children: /* @__PURE__ */ (0, R.jsxs)(QO, {
"aria-label": e,
size: "sm",
children: [/* @__PURE__ */ (0, R.jsxs)(xS, { children: [
i ? /* @__PURE__ */ (0, R.jsx)(SS, {
id: "pick",
- children: /* @__PURE__ */ (0, R.jsx)($O, {
+ children: /* @__PURE__ */ (0, R.jsx)(ZO, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -32823,7 +32823,7 @@ function ok({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
] }), /* @__PURE__ */ (0, R.jsx)(wS, { children: t.map((e) => /* @__PURE__ */ (0, R.jsxs)(DS, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)($O, {
+ i ? /* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)(ZO, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
@@ -32858,11 +32858,11 @@ function ok({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function hse() {
+function _se() {
let e = Zn({
queryKey: Ec,
queryFn: ({ signal: e }) => jc(e)
- }), [t, n] = (0, L.useState)([]), r = YO({
+ }), [t, n] = (0, L.useState)([]), r = qO({
queryKey: Oc,
queryFn: ({ signal: e }) => Pc(e),
start: Fc,
@@ -32875,7 +32875,7 @@ function hse() {
exact: !0
});
}
- }), i = YO({
+ }), i = qO({
queryKey: Dc,
queryFn: ({ signal: e }) => Mc(e),
start: Nc,
@@ -32918,7 +32918,7 @@ function hse() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, R.jsx)(W, {
tone: "neutral",
title: "任务状态",
- children: mse
+ children: gse
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
@@ -32926,12 +32926,12 @@ function hse() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, R.jsx)(OO, {
+ y = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: Rc(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, R.jsx)(OO, {
+ }) : null, c ? /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -32939,38 +32939,38 @@ function hse() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
- className: Uoe,
+ className: Goe,
children: [
- /* @__PURE__ */ (0, R.jsx)(ok, {
+ /* @__PURE__ */ (0, R.jsx)(ik, {
title: "地址已失效",
items: u,
- hint: dse
+ hint: pse
}),
- /* @__PURE__ */ (0, R.jsx)(ok, {
+ /* @__PURE__ */ (0, R.jsx)(ik, {
title: "本次未访问成功",
items: d,
- hint: fse,
+ hint: mse,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, R.jsxs)(bO, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: rk,
+ children: /* @__PURE__ */ (0, R.jsxs)(vO, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
+ leadingIcon: tk,
disabled: !t.length,
...G(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: rk,
+ leadingIcon: tk,
...G(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, R.jsx)(bO, {
+ l && u.length ? /* @__PURE__ */ (0, R.jsx)(vO, {
tone: "error",
- status: pse,
+ status: hse,
children: /* @__PURE__ */ (0, R.jsx)(V, {
variant: "danger",
...G(c),
@@ -32979,7 +32979,7 @@ function hse() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, R.jsx)("p", {
- className: `${yO} text-body-regular text-notification-success-foreground`,
+ className: `${_O} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -32990,21 +32990,21 @@ function hse() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, R.jsx)(xO, {
+ /* @__PURE__ */ (0, R.jsx)(yO, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, R.jsxs)(CO, {
+ /* @__PURE__ */ (0, R.jsxs)(xO, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: use,
+ leadingIcon: fse,
...G(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, R.jsx)(SO, {
+ /* @__PURE__ */ (0, R.jsx)(bO, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -33015,13 +33015,13 @@ function hse() {
children: H(e.error)
}) : p ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, R.jsx)(ak, {
+ children: [/* @__PURE__ */ (0, R.jsx)(rk, {
label: "链接总数",
- value: ik(p.total),
- note: `分布在 ${ik(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(ak, {
+ value: nk(p.total),
+ note: `分布在 ${nk(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(rk, {
label: kc[e] || e,
- value: ik(t)
+ value: nk(t)
}, e))]
}), m ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -33050,7 +33050,7 @@ function hse() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function sk({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+function vse({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
return /* @__PURE__ */ (0, R.jsxs)($m, {
"data-label": "true",
...a,
@@ -33071,7 +33071,7 @@ function sk({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function ck({ isInvalid: e = !1, className: t, ...n }) {
+function yse({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, R.jsx)(hh, {
slot: e ? "errorMessage" : "description",
...n,
@@ -33080,15 +33080,15 @@ function ck({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var lk = (0, L.createContext)({});
-function uk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, R.jsx)(lk.Provider, {
+var ak = (0, L.createContext)({});
+function ok({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, R.jsx)(ak.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, R.jsx)(YS, {
+ children: /* @__PURE__ */ (0, R.jsx)(qS, {
...a,
"data-input-size": e,
className: Pi("group flex h-max w-full flex-col items-start gap-1", r),
@@ -33096,8 +33096,8 @@ function uk({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-uk.displayName = "TextField";
-var dk = Fi({
+ok.displayName = "TextField";
+var sk = Fi({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -33126,44 +33126,44 @@ var dk = Fi({
].join(" "),
icon: "size-5 shrink-0"
});
-function fk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, L.useContext)(lk), u = e ?? l.size ?? "medium", d = r != null;
+function ck({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, L.useContext)(ak), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, R.jsx)(aee, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Pi(dk.field, d ? dk.fieldWithAddonSize[u] : dk.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 }) => Pi(sk.field, d ? sk.fieldWithAddonSize[u] : sk.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
children: /* @__PURE__ */ (0, R.jsxs)("div", {
- className: dk.content,
+ className: sk.content,
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
- className: dk.leftSection,
+ className: sk.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, R.jsx)(t, {
- className: dk.icon,
+ className: sk.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, R.jsx)(see, {
ref: o,
...c,
- className: Pi(dk.input, l.inputClassName, a)
+ className: Pi(sk.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, R.jsx)(n, {
- className: dk.icon,
+ className: sk.icon,
"aria-hidden": !0
}) : null]
})
});
}
-fk.displayName = "InputBase";
-function pk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, R.jsx)(uk, {
+ck.displayName = "InputBase";
+function lk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, R.jsx)(ok, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- e && /* @__PURE__ */ (0, R.jsx)(sk, {
+ e && /* @__PURE__ */ (0, R.jsx)(vse, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, R.jsx)(fk, {
+ /* @__PURE__ */ (0, R.jsx)(ck, {
ref: c,
groupRef: l,
placeholder: r,
@@ -33172,21 +33172,21 @@ function pk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, R.jsx)(ck, {
+ t && /* @__PURE__ */ (0, R.jsx)(yse, {
isInvalid: d,
children: t
})
] })
});
}
-pk.displayName = "Input";
+lk.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var mk = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, gse = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", _se = 8;
-function vse({ plan: e }) {
+var bse = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, xse = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Sse = 8;
+function Cse({ plan: e }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, _se).map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
+ children: e.rows.slice(0, Sse).map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, R.jsx)("span", {
@@ -33212,7 +33212,7 @@ function vse({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function yse({ toast: t, failure: n }) {
+function wse({ toast: t, failure: n }) {
let r = Zn({
queryKey: il,
queryFn: ({ signal: e }) => al(e)
@@ -33240,7 +33240,7 @@ function yse({ toast: t, failure: n }) {
let t = dl.test(H(e)) ? "dir" : "file";
h(t), (t === "dir" ? v : g).current?.focus();
}
- }), S = YO({
+ }), S = qO({
queryKey: il,
queryFn: ({ signal: e }) => al(e),
start: cl,
@@ -33259,7 +33259,7 @@ function yse({ toast: t, failure: n }) {
x.isPending || !c || (h(null), x.mutate(y()));
}, k = () => void b({
title: "按模板整理文件",
- body: mk(E),
+ body: bse(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -33267,13 +33267,13 @@ function yse({ toast: t, failure: n }) {
})
}), A = () => void b({
title: "回滚上一批整理",
- body: gse,
+ body: xse,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
if (M?.status === "running") {
let e = M.message || M.stage || "正在整理文件…";
- j = /* @__PURE__ */ (0, R.jsx)(OO, {
+ j = /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: e,
value: M.checked,
@@ -33295,7 +33295,7 @@ function yse({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: H(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, R.jsx)(OO, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: "正在按模板算计划…"
}) : x.isError ? j = /* @__PURE__ */ (0, R.jsx)(W, {
@@ -33306,8 +33306,8 @@ function yse({ toast: t, failure: n }) {
tone: "neutral",
title: "预览结果",
children: ml(w)
- }), T ? /* @__PURE__ */ (0, R.jsx)(vse, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, R.jsxs)(CO, {
+ }), T ? /* @__PURE__ */ (0, R.jsx)(Cse, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, R.jsxs)(xO, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -33331,7 +33331,7 @@ function yse({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, R.jsx)(SO, {
+ /* @__PURE__ */ (0, R.jsx)(bO, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -33351,20 +33351,20 @@ function yse({ toast: t, failure: n }) {
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, R.jsx)(KO, {
+ a.length ? /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), h(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, R.jsxs)(qO, {
+ children: a.map((t) => /* @__PURE__ */ (0, R.jsxs)(GO, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, R.jsx)(HO, { mark: _[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, R.jsx)(BO, { mark: _[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -33375,7 +33375,7 @@ function yse({ toast: t, failure: n }) {
p({ file: e }), h(null);
}
}),
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -33415,36 +33415,36 @@ function yse({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var bse = To("git-compare"), xse = To("rotate-cw"), Sse = "暂时无法读取进度,正在重新连接…", hk = "清理失效条目", gk = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", _k = (e) => Number(e || 0).toLocaleString();
-function vk({ scan: e }) {
+var Tse = To("git-compare"), Ese = To("rotate-cw"), Dse = "暂时无法读取进度,正在重新连接…", uk = "清理失效条目", dk = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", fk = (e) => Number(e || 0).toLocaleString();
+function pk({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", {
- className: gk,
+ className: dk,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, R.jsx)("article", {
className: tu(),
children: /* @__PURE__ */ (0, R.jsx)(ru, {
label: Dl[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, R.jsx)(HO, { mark: _[e.location] ?? "database" }),
+ mark: /* @__PURE__ */ (0, R.jsx)(BO, { mark: _[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, R.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${_k(e.missing)} 项` : "—",
+ figure: e.online ? `${fk(e.missing)} 项` : "—",
meta: Ml(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, R.jsxs)("div", {
- className: gk,
+ className: dk,
children: [
/* @__PURE__ */ (0, R.jsx)("article", {
className: tu(),
children: /* @__PURE__ */ (0, R.jsx)(ru, {
label: "待永久删除",
- figure: `${_k(e.missing)} 项`,
+ figure: `${fk(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
@@ -33452,7 +33452,7 @@ function vk({ scan: e }) {
className: tu(),
children: /* @__PURE__ */ (0, R.jsx)(ru, {
label: "空文件夹",
- figure: `${_k(e.empty)} 个`,
+ figure: `${fk(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
@@ -33460,15 +33460,15 @@ function vk({ scan: e }) {
className: tu(),
children: /* @__PURE__ */ (0, R.jsx)(ru, {
label: "可清理的缓存",
- figure: `${_k(t.files)} 个`,
+ figure: `${fk(t.files)} 个`,
meta: t.files ? s(t.bytes) : ""
})
})
]
})] });
}
-function Cse({ toast: e }) {
- let t = YO({
+function mk({ toast: e }) {
+ let t = qO({
queryKey: yl,
queryFn: ({ signal: e }) => Sl(e),
start: Cl,
@@ -33481,17 +33481,17 @@ function Cse({ toast: e }) {
exact: !0
}), t.status !== "complete") return;
let { done: n, left: r } = Nl(t);
- r ? e(`已完成 ${_k(n)} 项,${_k(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ r ? e(`已完成 ${fk(n)} 项,${fk(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = YO({
+ }), n = qO({
queryKey: vl,
queryFn: ({ signal: e }) => bl(e),
start: xl,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : o ? "重新扫描" : "检查文件", l = (e) => void b({
- title: hk,
+ title: uk,
body: jl(e),
- confirmLabel: hk,
+ confirmLabel: uk,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
@@ -33508,7 +33508,7 @@ function Cse({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) p = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, R.jsx)(OO, {
+ else if (t.running) f = /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -33520,11 +33520,11 @@ function Cse({ toast: e }) {
else if (n.query.isError && r) p = /* @__PURE__ */ (0, R.jsx)(W, {
tone: "neutral",
title: "任务状态",
- children: Sse
+ children: Dse
});
else if (r?.status === "running") {
let e = kl(r);
- f = /* @__PURE__ */ (0, R.jsx)(OO, {
+ f = /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -33543,7 +33543,7 @@ function Cse({ toast: e }) {
else if (r?.status === "complete") {
let e = El(r);
p = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(vk, { scan: r }),
+ /* @__PURE__ */ (0, R.jsx)(pk, { scan: r }),
e ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "neutral",
title: "清理内容",
@@ -33555,7 +33555,7 @@ function Cse({ toast: e }) {
variant: "danger",
...G(a),
onClick: () => l(r),
- children: a ? "正在复核并清理…" : hk
+ children: a ? "正在复核并清理…" : uk
}) : /* @__PURE__ */ (0, R.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -33572,16 +33572,16 @@ function Cse({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, R.jsx)(xO, {
+ /* @__PURE__ */ (0, R.jsx)(yO, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, R.jsxs)(CO, {
+ /* @__PURE__ */ (0, R.jsxs)(xO, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, R.jsx)(V, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? xse : bse,
+ leadingIcon: o && !i ? Ese : Tse,
...G(i),
onClick: () => {
i || n.start.mutate();
@@ -33589,7 +33589,7 @@ function Cse({ toast: e }) {
children: c
}),
children: [
- /* @__PURE__ */ (0, R.jsx)(SO, {
+ /* @__PURE__ */ (0, R.jsx)(bO, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -33615,10 +33615,10 @@ function Cse({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function yk(e, t) {
+function hk(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function bk({ section: e, label: t, icon: n, value: r, open: i }) {
+function gk({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
className: tu({ interactive: !0 }),
@@ -33632,17 +33632,17 @@ function bk({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var wse = To("square-check-big"), Tse = To("sparkles"), Ese = To("file-stack"), Dse = To("file-archive"), Ose = To("trash"), kse = [
+var Ose = To("square-check-big"), kse = To("sparkles"), Ase = To("file-stack"), jse = To("file-archive"), Mse = To("trash"), Nse = [
Il,
Is,
Qo
-], Ase = () => {
- for (let e of kse) K.invalidateQueries({
+], Pse = () => {
+ for (let e of Nse) K.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function jse({ toast: e, failure: t, open: n }) {
+function Fse({ toast: e, failure: t, open: n }) {
let r = Zn({
queryKey: Il,
queryFn: ({ signal: e }) => Hl(e)
@@ -33666,46 +33666,46 @@ function jse({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, R.jsxs)("div", {
className: nu,
children: [
- /* @__PURE__ */ (0, R.jsx)(bk, {
+ /* @__PURE__ */ (0, R.jsx)(gk, {
section: "review",
label: "人工复核",
- icon: wse,
+ icon: Ose,
open: n,
- value: yk(r, Kl)
+ value: hk(r, Kl)
}),
- /* @__PURE__ */ (0, R.jsx)(bk, {
+ /* @__PURE__ */ (0, R.jsx)(gk, {
section: "quality",
label: "高清版",
- icon: Tse,
+ icon: kse,
open: n,
- value: yk(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: hk(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, R.jsx)(bk, {
+ /* @__PURE__ */ (0, R.jsx)(gk, {
section: "duplicates",
label: "重复文件",
- icon: Ese,
+ icon: Ase,
open: n,
- value: yk(a, (e) => Number(e.total || 0) ? {
+ value: hk(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${s(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, R.jsx)(bk, {
+ /* @__PURE__ */ (0, R.jsx)(gk, {
section: "ads",
label: "垃圾文件",
- icon: Dse,
+ icon: jse,
open: n,
- value: yk(o, (e) => ({
+ value: hk(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
meta: ql(e)
}))
}),
- /* @__PURE__ */ (0, R.jsx)(bk, {
+ /* @__PURE__ */ (0, R.jsx)(gk, {
section: "trash",
label: "回收站",
- icon: Ose,
+ icon: Mse,
open: n,
- value: yk(c, (e) => ({
+ value: hk(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${s(e.bytes || 0)}` : ""
}))
@@ -33718,29 +33718,29 @@ function jse({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, R.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, R.jsx)(WO, {
+ children: /* @__PURE__ */ (0, R.jsx)(HO, {
toast: u,
monitor: !0,
- onComplete: Ase
+ onComplete: Pse
})
}),
/* @__PURE__ */ (0, R.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, R.jsx)(cse, {})
+ children: /* @__PURE__ */ (0, R.jsx)(use, {})
}),
- /* @__PURE__ */ (0, R.jsx)(yse, {
+ /* @__PURE__ */ (0, R.jsx)(wse, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(hse, {}),
- wl(l.data) ? /* @__PURE__ */ (0, R.jsx)(Cse, { toast: e }) : null
+ /* @__PURE__ */ (0, R.jsx)(_se, {}),
+ wl(l.data) ? /* @__PURE__ */ (0, R.jsx)(mk, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function xk({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function _k({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -33767,7 +33767,7 @@ function xk({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function Sk(e) {
+function vk(e) {
(0, L.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -33785,9 +33785,9 @@ function Sk(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function Mse({ title: e, children: t }) {
+function Ise({ title: e, children: t }) {
let n = (0, L.useRef)(null);
- return Sk(n), /* @__PURE__ */ (0, R.jsxs)("div", {
+ return vk(n), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -33800,9 +33800,9 @@ function Mse({ title: e, children: t }) {
}), t]
});
}
-function Ck({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function yk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, L.useRef)(null);
- return Sk(d), /* @__PURE__ */ (0, R.jsxs)("div", {
+ return vk(d), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -33829,22 +33829,23 @@ function Ck({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
]
});
}
-var Nse = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function wk({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var Lse = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function bk({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: Pi(Nse, r),
+ className: Pi(Lse, r),
onClick: n,
children: e
});
}
-var Pse = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function Tk({ children: e, onPress: t, busy: n = !1 }) {
+var Rse = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function xk({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
- className: Pse,
+ "data-glass-pill": "",
+ className: Rse,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -33855,11 +33856,11 @@ function Tk({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var Fse = To("play"), Ise = To("file-stack"), Lse = Xi({
+var zse = To("play"), Bse = To("file-stack"), Vse = Xi({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), Ek = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Dk = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Ok = "font-mono text-caption-1-regular leading-5 text-text-secondary", kk = () => {
+}), Sk = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Ck = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", wk = "font-mono text-caption-1-regular leading-5 text-text-secondary", Tk = () => {
K.invalidateQueries({
queryKey: Qo,
exact: !0
@@ -33868,16 +33869,16 @@ var Fse = To("play"), Ise = To("file-stack"), Lse = Xi({
exact: !0
});
};
-function Ak(e) {
+function Ek(e) {
return e.identical ? /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${Dk} text-(--keep)`,
+ className: `${Ck} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${Dk} text-text-secondary`,
+ className: `${Ck} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Rse({ file: t, openItem: n }) {
+function Dk({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -33887,7 +33888,7 @@ function Rse({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, R.jsx)(Fse, {
+ children: [/* @__PURE__ */ (0, R.jsx)(zse, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, R.jsx)("img", {
@@ -33911,39 +33912,39 @@ function Rse({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, R.jsx)("i", {
- className: `${Ek} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${Sk} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, R.jsx)("i", {
- className: `${Ek} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${Sk} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, R.jsxs)("span", {
- className: `${Ok} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, R.jsx)(HO, { mark: _[t.location] || "database" }), /* @__PURE__ */ (0, R.jsx)("span", {
+ className: `${wk} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, R.jsx)(BO, { mark: _[t.location] || "database" }), /* @__PURE__ */ (0, R.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, R.jsx)("span", {
- className: Ok,
+ className: wk,
children: s(t.size || 0)
}),
/* @__PURE__ */ (0, R.jsx)("span", {
- className: Ok,
+ className: wk,
children: o(t.duration)
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${Ok} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${wk} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function zse({ openItem: t, toast: n, failure: r }) {
+function Hse({ openItem: t, toast: n, failure: r }) {
let i = Zn({
queryKey: Qo,
queryFn: ({ signal: e }) => es(e)
@@ -33953,13 +33954,13 @@ function zse({ openItem: t, toast: n, failure: r }) {
}), [o, c] = (0, L.useState)(""), l = Qn({
mutationFn: (e) => cs(e, "dispose"),
onSuccess: (e, t) => {
- kk(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ Tk(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
await cs(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- kk();
+ Tk();
}
} });
},
@@ -33986,15 +33987,15 @@ function zse({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, R.jsx)(xk, {
+ /* @__PURE__ */ (0, R.jsx)(_k, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${s(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, R.jsxs)(Mse, {
+ d.length ? /* @__PURE__ */ (0, R.jsxs)(Ise, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, R.jsx)(Tk, {
+ /* @__PURE__ */ (0, R.jsx)(xk, {
busy: o === "all:largest",
onPress: () => p({
groups: d,
@@ -34003,7 +34004,7 @@ function zse({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, R.jsx)(Tk, {
+ /* @__PURE__ */ (0, R.jsx)(xk, {
busy: o === "all:longest",
onPress: () => p({
groups: d,
@@ -34012,7 +34013,7 @@ function zse({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- as(d, f).map((t) => /* @__PURE__ */ (0, R.jsx)(Tk, {
+ as(d, f).map((t) => /* @__PURE__ */ (0, R.jsx)(xk, {
busy: o === `all:${t}`,
onPress: () => p({
groups: d,
@@ -34035,7 +34036,7 @@ function zse({ openItem: t, toast: n, failure: r }) {
let i = [n], a = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": n.code,
- className: Lse,
+ className: Vse,
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -34047,9 +34048,9 @@ function zse({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${s(n.reclaimable)}`
}),
- Ak(n),
+ Ek(n),
n.cross_drive ? /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${Dk} text-text-secondary`,
+ className: `${Ck} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, R.jsxs)("span", {
@@ -34102,13 +34103,13 @@ function zse({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, R.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, R.jsx)(Rse, {
+ }), /* @__PURE__ */ (0, R.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, R.jsx)(Dk, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
}) : /* @__PURE__ */ (0, R.jsx)(Qi, {
- icon: Ise,
+ icon: Bse,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -34117,7 +34118,7 @@ function zse({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-function Bse(e, t) {
+function Use(e, t) {
if (!t.contains(e)) return null;
let n = 0, r = 0;
for (let i = e; i && i !== t; i = i.offsetParent) n += i.offsetLeft, r += i.offsetTop;
@@ -34133,11 +34134,11 @@ function Bse(e, t) {
h: e.offsetHeight
};
}
-function jk(e, t, n, r) {
+function Ok(e, t, n, r) {
let i = (0, L.useRef)(null), a = (0, L.useCallback)((r, a) => {
let o = e.current, s = t.current, c = o?.parentElement;
if (!o) return;
- let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? Bse(l, c) : null;
+ let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? Use(l, c) : null;
if (!u || !u.w) {
o.hidden = !0;
return;
@@ -34175,33 +34176,33 @@ function jk(e, t, n, r) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function Mk(e) {
- let t = fO("selection");
- return /* @__PURE__ */ (0, R.jsx)(HS, {
+function kk(e) {
+ let t = uO("selection");
+ return /* @__PURE__ */ (0, R.jsx)(BS, {
...e,
ref: t
});
}
-function Nk(e) {
- let t = fO("selection");
+function Ak(e) {
+ let t = uO("selection");
return /* @__PURE__ */ (0, R.jsx)(dx, {
...e,
ref: t
});
}
-var Pk = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", Fk = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Vse = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Ik = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Lk = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Hse = (e) => e === "videos", Rk = () => /* @__PURE__ */ (0, R.jsx)("span", {
+var jk = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", Mk = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Wse = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Nk = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Pk = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Gse = (e) => e === "videos", Fk = () => /* @__PURE__ */ (0, R.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function Use(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Hse(t), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = jk(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = jk(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function Kse(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Gse(t), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = Ok(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = Ok(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, L.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(zk, {
+ }, [c]), /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Ik, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, R.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, R.jsx)(yk, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -34221,13 +34222,13 @@ function Use(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Wse, {
+ top: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(qse, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, R.jsx)(Rk, {}) : null] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, R.jsx)(Fk, {}) : null] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -34247,11 +34248,11 @@ function Use(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, R.jsx)(Rk, {})]
+ }, e.k)), /* @__PURE__ */ (0, R.jsx)(Fk, {})]
}), /* @__PURE__ */ (0, R.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, R.jsxs)(wk, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, R.jsxs)(bk, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -34263,10 +34264,10 @@ function Use(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, R.jsx)(Gse, { ...e })
+ bottom: /* @__PURE__ */ (0, R.jsx)(Jse, { ...e })
})] });
}
-function Wse({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function qse({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -34308,7 +34309,7 @@ function Wse({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function zk({ items: e, hidden: t, actions: n }) {
+function Ik({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -34328,7 +34329,7 @@ function zk({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Gse(e) {
+function Jse(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, R.jsxs)("button", {
@@ -34340,22 +34341,22 @@ function Gse(e) {
dangerouslySetInnerHTML: { __html: l("chevron-left") }
}), /* @__PURE__ */ (0, R.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Kse, {
+ /* @__PURE__ */ (0, R.jsx)(Yse, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, R.jsx)(qse, {
+ t === "videos" && i ? /* @__PURE__ */ (0, R.jsx)(Xse, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, R.jsx)(Jse, {
+ t === "photos" && a ? /* @__PURE__ */ (0, R.jsx)(Zse, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function Kse({ text: e, busy: t }) {
+function Yse({ text: e, busy: t }) {
return /* @__PURE__ */ (0, R.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, R.jsx)("span", {
@@ -34365,7 +34366,7 @@ function Kse({ text: e, busy: t }) {
}) : e
});
}
-function Bk({ name: e, label: t, value: n, options: r, onChange: i }) {
+function Lk({ name: e, label: t, value: n, options: r, onChange: i }) {
return /* @__PURE__ */ (0, R.jsx)(dx, {
name: e,
"aria-label": t,
@@ -34373,14 +34374,14 @@ function Bk({ name: e, label: t, value: n, options: r, onChange: i }) {
value: n,
onChange: i,
"data-entity-layout": "",
- className: Ik,
+ className: Nk,
children: r.map(([e, t, n]) => {
let r = To(n);
return /* @__PURE__ */ (0, R.jsx)(fx, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: Lk,
+ className: Pk,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: t,
className: "contents",
@@ -34390,7 +34391,7 @@ function Bk({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function Vk({ onPress: e, busy: t = !1 }) {
+function Rk({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -34404,25 +34405,25 @@ function Vk({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? ie("正在换一批") : l("shuffle") }
});
}
-function qse({ head: e, actions: t }) {
+function Xse({ head: e, actions: t }) {
return /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(Vk, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, R.jsx)(Bk, {
+ /* @__PURE__ */ (0, R.jsx)(Rk, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, R.jsx)(Lk, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Hk, {
+ /* @__PURE__ */ (0, R.jsx)(zk, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function Hk({ sorts: e, onSort: t }) {
+function zk({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: e.map((e) => {
let n = To(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, R.jsxs)("button", {
@@ -34436,20 +34437,20 @@ function Hk({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function Jse({ head: e, actions: t, helpers: n }) {
+function Zse({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, L.useState)(!1), a = (0, L.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, L.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, R.jsx)(Vk, {
+ e.shuffle ? /* @__PURE__ */ (0, R.jsx)(Rk, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Bk, {
+ /* @__PURE__ */ (0, R.jsx)(Lk, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -34465,34 +34466,34 @@ function Jse({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var Uk = "";
-function Yse(e) {
- let t = !e.tiers, n = nce(e.comboHost);
+var Bk = "";
+function Qse(e) {
+ let t = !e.tiers, n = ace(e.comboHost);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(zk, {
+ n ? (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Ik, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, R.jsx)(Qse, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, R.jsx)(Xse, { ...e })
+ /* @__PURE__ */ (0, R.jsx)(tce, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, R.jsx)($se, { ...e })
]
});
}
-function Xse(e) {
- let { actions: t, helpers: n } = e, r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = jk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function $se(e) {
+ let { actions: t, helpers: n } = e, r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = Ok(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, L.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = Gk(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = Hk(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, L.useLayoutEffect)(() => {
j(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, R.jsx)(Ck, {
+ }, [u]), /* @__PURE__ */ (0, R.jsx)(yk, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -34535,17 +34536,17 @@ function Xse(e) {
}), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, R.jsx)(Wk, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, R.jsx)(Zse, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, R.jsx)(Vk, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, R.jsx)(ece, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, R.jsx)(ece, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, R.jsx)(rce, { ...e })
});
}
-function Zse({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, R.jsxs)(wk, {
+function ece({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, R.jsxs)(bk, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -34556,12 +34557,12 @@ function Zse({ tag: e, onPress: t }) {
})]
});
}
-function Qse(e) {
+function tce(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useCallback)((e) => () => t.moreTops(e), [t]), c = Gk(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = Gk(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useCallback)((e) => () => t.moreTops(e), [t]), c = Hk(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = Hk(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, L.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -34574,7 +34575,7 @@ function Qse(e) {
children: [u ? /* @__PURE__ */ (0, R.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, R.jsx)(Wk, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, R.jsx)(Vk, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -34591,18 +34592,18 @@ function Qse(e) {
}) : null, d ? /* @__PURE__ */ (0, R.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, R.jsx)(Wk, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, R.jsx)(Vk, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, R.jsx)($se, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, R.jsx)(nce, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function $se({ studio: e }) {
+function nce({ studio: e }) {
let [t, n] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-tier-mark": "",
@@ -34616,7 +34617,7 @@ function $se({ studio: e }) {
}) : e.fallback
});
}
-function Wk({ kind: e }) {
+function Vk({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -34632,32 +34633,32 @@ function Wk({ kind: e }) {
children: [/* @__PURE__ */ (0, R.jsx)("span", {}), /* @__PURE__ */ (0, R.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function ece({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function rce({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, L.useState)(!1);
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(tce, { count: e }), /* @__PURE__ */ (0, R.jsxs)("span", {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(ice, { count: e }), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(Vk, {
+ /* @__PURE__ */ (0, R.jsx)(Rk, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, R.jsx)(Bk, {
+ n ? /* @__PURE__ */ (0, R.jsx)(Lk, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, R.jsx)(Hk, {
+ /* @__PURE__ */ (0, R.jsx)(zk, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function tce({ count: e }) {
+function ice({ count: e }) {
let t = (0, L.useRef)(null), n = (0, L.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, L.useLayoutEffect)(() => {
if (!e) {
@@ -34665,7 +34666,7 @@ function tce({ count: e }) {
return;
}
let i = t.current;
- i && (Uk && i.dataset.popCount === void 0 && (i.dataset.popCount = Uk), Uk = r, M(i, r));
+ i && (Bk && i.dataset.popCount === void 0 && (i.dataset.popCount = Bk), Bk = r, M(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, R.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -34681,7 +34682,7 @@ function tce({ count: e }) {
})
}, "skeleton");
}
-function nce(e) {
+function ace(e) {
let [t, n] = (0, L.useState)(null);
return (0, L.useLayoutEffect)(() => {
if (!e) return;
@@ -34691,7 +34692,7 @@ function nce(e) {
};
}, [e]), t;
}
-function Gk(e, t, n, r, i) {
+function Hk(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -34737,15 +34738,15 @@ function Gk(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function Kk({ value: e }) {
+function Uk({ value: e }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var rce = "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 qk({ tabs: e, value: t, label: n, onChange: r }) {
+var oce = "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 Wk({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, L.useRef)(null), a = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
let e = i.current;
@@ -34780,7 +34781,7 @@ function qk({ tabs: e, value: t, label: n, onChange: r }) {
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: rce,
+ className: oce,
onClick: () => {
i || r(e.value);
},
@@ -34796,21 +34797,21 @@ function qk({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/search/search.ts
-var Jk = /* @__PURE__ */ new Set([
+var Gk = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), Yk = /* @__PURE__ */ new Set(["asset"]), Xk = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function ice({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), Kk = /* @__PURE__ */ new Set(["asset"]), qk = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function sce({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || Xk(t).includes(Xk(e)));
+ }, u = t.filter((t) => !e || qk(t).includes(qk(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -34848,7 +34849,7 @@ function ice({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: e.kind,
item: t
}))
- }), h = p.filter((e) => !Yk.has(e.kind)).map(m), g = p.filter((e) => Yk.has(e.kind)).map(m);
+ }), h = p.filter((e) => !Kk.has(e.kind)).map(m), g = p.filter((e) => Kk.has(e.kind)).map(m);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -34857,17 +34858,17 @@ function ice({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function ace(e, t, n = Math.random) {
+function cce(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => Xk(t) === Xk(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => qk(t) === qk(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var oce = () => ({
+var lce = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -34882,7 +34883,7 @@ var oce = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), Zk = (e) => ice({
+}), Jk = (e) => sce({
query: e.query,
history: e.history,
picks: e.picks,
@@ -34890,18 +34891,18 @@ var oce = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), sce = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), Qk = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
+}), uce = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), Yk = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
-function cce(e) {
+function dce(e) {
let t = (0, L.useRef)(e);
t.current = e;
let n = (0, L.useRef)(null);
- n.current ??= oce();
+ n.current ??= lce();
let r = n.current, i = (0, L.useRef)(null), [, a] = (0, L.useReducer)((e) => e + 1, 0), o = (0, L.useRef)(null);
- o.current ??= lce(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= fce(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, L.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -34914,7 +34915,7 @@ function cce(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = Zk(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, R.jsx)(tA, {
+ let c = Jk(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, R.jsx)(Zk, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -34934,7 +34935,7 @@ function cce(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, R.jsx)($k, {
+ c.tabs ? /* @__PURE__ */ (0, R.jsx)(pce, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -34955,7 +34956,7 @@ function cce(e) {
]
});
}
-function lce(e, t, n, r) {
+function fce(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -34969,7 +34970,7 @@ function lce(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- !t || !e().historyLimit || (s([t, ...o().filter((e) => Xk(e) !== Xk(t))]), U("/api/search-history", { query: t }).catch(() => null));
+ !t || !e().historyLimit || (s([t, ...o().filter((e) => qk(e) !== qk(t))]), U("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -35002,9 +35003,9 @@ function lce(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : ace(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : cce(t.pool, o()), t.active = -1;
let a = n();
- a && (sce(Zk(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (uce(Jk(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -35016,7 +35017,7 @@ function lce(e, t, n, r) {
!n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? Zk(t).options : [], v = (e) => {
+ }, _ = () => f() ? Jk(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -35029,7 +35030,7 @@ function lce(e, t, n, r) {
i().blur(), e().actions.openItem(t.item.id);
return;
}
- if (t.type === "suggest" && Jk.has(t.kind)) {
+ if (t.type === "suggest" && Gk.has(t.kind)) {
b(t.kind, t.value);
return;
}
@@ -35081,12 +35082,12 @@ function lce(e, t, n, r) {
await U("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => Xk(t) !== Xk(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => qk(t) !== qk(e))), t.active = -1, r();
},
pickKind: g
};
}
-function $k({ tabs: e, kind: t, onPick: n, wire: r }) {
+function pce({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, L.useRef)(null);
(0, L.useLayoutEffect)(() => {
r(i.current);
@@ -35098,7 +35099,7 @@ function $k({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, R.jsx)(Kk, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, R.jsx)(Uk, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, R.jsxs)("div", {
ref: i,
@@ -35108,8 +35109,8 @@ function $k({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var eA = (e) => e.preventDefault();
-function tA({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var Xk = (e) => e.preventDefault();
+function Zk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -35121,28 +35122,28 @@ function tA({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, R.jsx)(Qk, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, R.jsx)(Yk, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, R.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: eA,
+ onMouseDown: Xk,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, R.jsx)(Qk, { name: "x" })
+ children: /* @__PURE__ */ (0, R.jsx)(Yk, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = Jk.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = Gk.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, R.jsx)(nA, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Qk, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -35168,7 +35169,7 @@ function tA({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, R.jsx)(rA, {
+ /* @__PURE__ */ (0, R.jsx)($k, {
item: s,
kind: c,
helpers: n
@@ -35189,11 +35190,11 @@ function tA({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: eA,
+ onMouseDown: Xk,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, R.jsx)(nA, {
+ children: /* @__PURE__ */ (0, R.jsx)(Qk, {
card: e,
helpers: n
})
@@ -35207,7 +35208,7 @@ function tA({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, R.jsx)(rA, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, R.jsx)($k, {
item: s,
kind: c,
helpers: n
@@ -35221,13 +35222,13 @@ function tA({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
]
});
}
-function nA({ card: e, helpers: t }) {
+function Qk({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function rA({ item: e, kind: t, helpers: n }) {
+function $k({ item: e, kind: t, helpers: n }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-search-face": "",
"data-kind": t,
@@ -35236,8 +35237,8 @@ function rA({ item: e, kind: t, helpers: n }) {
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var iA = (e) => ["feed-new", e ?? "home"], aA = 8, oA = 1500;
-function sA(e, t, n) {
+var eA = (e) => ["feed-new", e ?? "home"], tA = 8, nA = 1500;
+function rA(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -35248,32 +35249,32 @@ function sA(e, t, n) {
setTimeout(e, n);
})]);
}
-async function cA(e, n, r) {
+async function iA(e, n, r) {
let i = new URLSearchParams({ limit: "12" });
e && i.set("entity", String(e));
let a = await t(`/api/feeds/discoveries?${i}`).catch(() => null), o = a && !a.error ? a : null, s = o?.items || [], c = n(o);
- return r && s.length && await sA(c, aA, oA), {
+ return r && s.length && await rA(c, tA, nA), {
items: s,
html: c
};
}
-var lA = (e, t, n = !1) => ({
- queryKey: iA(e),
- queryFn: () => cA(e, t, n),
+var aA = (e, t, n = !1) => ({
+ queryKey: eA(e),
+ queryFn: () => iA(e, t, n),
staleTime: Infinity
-}), uA = (e, n) => t("/api/feeds/discovery", {
+}), oA = (e, n) => t("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: n,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function uce(e) {
- K.removeQueries({ queryKey: iA(null) }), await K.fetchQuery(lA(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function sA(e) {
+ K.removeQueries({ queryKey: eA(null) }), await K.fetchQuery(aA(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var dce = [
+var mce = [
"loc",
"creator",
"tag",
@@ -35283,52 +35284,52 @@ var dce = [
"orient",
"sort",
"dir"
-], dA = {
+], cA = {
media: "videos",
set: 0
-}, fA = (e, t) => [
+}, lA = (e, t) => [
"entity",
e,
t
-], fce = (e, t, n, r) => [
+], hce = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], pA = (e, t, n, r) => [
+], uA = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], mA = (e) => String(e || "").split(",").filter(Boolean), pce = (e, t) => mA(e).includes(t);
-function hA(e, t, n, r, i = 0) {
+], dA = (e) => String(e || "").split(",").filter(Boolean), gce = (e, t) => dA(e).includes(t);
+function fA(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of dce) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of mce) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function gA(e, n, r, i, a, o, s) {
- let c = await t(`/api/items?${hA(e, n, r, i, a)}`, s ? { signal: s } : {});
+async function pA(e, n, r, i, a, o, s) {
+ let c = await t(`/api/items?${fA(e, n, r, i, a)}`, s ? { signal: s } : {});
return o(c.items || []), c;
}
-var _A = (e) => {
+var mA = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = hA(e.kind, e.name, e.filters, t).toString();
+ }, n = fA(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: fce(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => gA(e.kind, e.name, e.filters, t, 0, e.cache, n),
+ queryKey: hce(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => pA(e.kind, e.name, e.filters, t, 0, e.cache, n),
staleTime: Infinity
};
-}, vA = (e, n) => ({
- queryKey: fA(e, n),
+}, hA = (e, n) => ({
+ queryKey: lA(e, n),
queryFn: ({ signal: r }) => t(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(n)}`, { signal: r }),
staleTime: Infinity
});
-function mce(e, t, n, r, i, a) {
+function _ce(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -35337,10 +35338,10 @@ function mce(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var yA = (e, n, r, i) => ({
- queryKey: pA(e, n, r, i),
+var gA = (e, n, r, i) => ({
+ queryKey: uA(e, n, r, i),
queryFn: async ({ pageParam: a }) => {
- let o = await t(mce(e, n, r, i, a?.offset || 0, a?.seed || "")).catch((e) => {
+ let o = await t(_ce(e, n, r, i, a?.offset || 0, a?.seed || "")).catch((e) => {
if (a) throw e;
return { error: String(e) };
});
@@ -35353,8 +35354,8 @@ var yA = (e, n, r, i) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), bA = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function hce(e) {
+}), _A = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function vce(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -35366,51 +35367,51 @@ async function hce(e) {
n
] });
await Promise.all([
- K.fetchQuery(vA(t, n)).then((t) => !t || t.error || !t.id ? null : (K.removeQueries({ queryKey: iA(Number(t.id)) }), K.fetchQuery(lA(Number(t.id), e.helpers.feedRowHtml, !0)))),
- K.fetchQuery(_A(e)),
- K.fetchInfiniteQuery(yA(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? K.fetchInfiniteQuery(yA(t, n, e.media.set, "")) : null
+ K.fetchQuery(hA(t, n)).then((t) => !t || t.error || !t.id ? null : (K.removeQueries({ queryKey: eA(Number(t.id)) }), K.fetchQuery(aA(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ K.fetchQuery(mA(e)),
+ K.fetchInfiniteQuery(gA(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? K.fetchInfiniteQuery(gA(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var gce = "/api/follow/authors", _ce = "/api/follow/tags", vce = (e) => [
+var yce = "/api/follow/authors", bce = "/api/follow/tags", xce = (e) => [
"follow",
"authors",
e
-], yce = (e, t) => [
+], Sce = (e, t) => [
"follow",
"tags",
e,
t
];
-function bce(e, t, n) {
+function Cce(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${gce}?${r}`;
+ return e && r.set("q", e), `${yce}?${r}`;
}
-function xce(e, t, n, r) {
+function wce(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), `${_ce}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${bce}?${i}`;
}
-var Sce = (e, t, n, r) => Hi(bce(e, t, n), r), Cce = (e, t, n, r, i) => Hi(xce(e, t, n, r), i), wce = "/api/index", xA = {
+var Tce = (e, t, n, r) => Hi(Cce(e, t, n), r), Ece = (e, t, n, r, i) => Hi(wce(e, t, n, r), i), Dce = "/api/index", vA = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Tce = {
+}, Oce = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, SA = [
+}, yA = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -35420,26 +35421,26 @@ var Sce = (e, t, n, r) => Hi(bce(e, t, n), r), Cce = (e, t, n, r, i) => Hi(xce(e
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], CA = [
+], bA = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], wA = {
+], xA = {
people: 120,
tags: 180
-}, TA = (e) => e !== "tags", EA = (e) => e === "studios" || e === "agencies";
-function DA(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? CA : SA).some(([t]) => t === e.category);
+}, SA = (e) => e !== "tags", CA = (e) => e === "studios" || e === "agencies";
+function wA(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? bA : yA).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function OA(e) {
+function TA(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -35458,50 +35459,50 @@ function OA(e) {
q: n
};
}
-var kA = (e, t, n = "all") => [
+var EA = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function AA(e, t, n, r, i) {
+function DA(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${wce}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${Dce}?${a}`;
}
-function jA(e) {
- let t = e.what === "people" || e.what === "online-authors" ? wA.people : wA.tags, n = {
+function OA(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? xA.people : xA.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: kA(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => Hi(AA(e.kind, e.q, "all", t, n), r)
+ queryKey: EA(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Hi(DA(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: kA("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Hi(AA("tags", e.q, e.category, t, n), r)
+ queryKey: EA("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Hi(DA("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: vce(e.q),
- queryFn: ({ pageParam: n, signal: r }) => Sce(e.q, t, n, r)
+ queryKey: xce(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Tce(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: yce(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Cce(e.q, e.category, t, n, r)
+ queryKey: Sce(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Ece(e.q, e.category, t, n, r)
};
}
}
-async function Ece(e, t) {
- let n = jA(OA(DA(e)));
+async function kce(e, t) {
+ let n = OA(TA(wA(e)));
K.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -35515,13 +35516,13 @@ async function Ece(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Dce = (e) => e ? e.pages.flatMap((e) => e.items) : [], Oce = (e, t) => `${e}${t ? "+" : ""} 项`, MA = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", kce = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Ace = {
+var Ace = (e) => e ? e.pages.flatMap((e) => e.items) : [], jce = (e, t) => `${e}${t ? "+" : ""} 项`, kA = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Mce = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Nce = {
numeric: !0,
sensitivity: "base"
};
-function jce(e, t) {
+function Pce(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Ace))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Nce))) {
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]);
}
@@ -35529,7 +35530,7 @@ function jce(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function NA({ html: e, face: t, company: n, big: r }) {
+function AA({ html: e, face: t, company: n, big: r }) {
let i = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -35541,8 +35542,8 @@ function NA({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Mce = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function PA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var Fce = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function jA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
...a,
@@ -35552,7 +35553,7 @@ function PA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Mce} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Fce} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -35569,8 +35570,8 @@ function PA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function FA({ kind: e, items: t, layout: n, props: r }) {
- let i = Tce[e], a = EA(e), o = n === "big";
+function MA({ kind: e, items: t, layout: n, props: r }) {
+ let i = Oce[e], a = CA(e), o = n === "big";
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -35578,14 +35579,14 @@ function FA({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, R.jsx)(PA, {
+ return /* @__PURE__ */ (0, R.jsx)(jA, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: kce(e, t),
+ readout: Mce(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, R.jsx)(NA, {
+ children: /* @__PURE__ */ (0, R.jsx)(AA, {
html: n.html,
face: n.face,
company: a,
@@ -35595,21 +35596,21 @@ function FA({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function Nce({ items: e, layout: t, props: n }) {
+function Ice({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(PA, {
+ children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(jA, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, R.jsx)(NA, {
+ children: /* @__PURE__ */ (0, R.jsx)(AA, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -35619,7 +35620,7 @@ function Nce({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function Pce(e) {
+function Lce(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
let a = e.closest(".dual-range");
@@ -35631,8 +35632,8 @@ function Pce(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var IA = "/vendor/swiper/14.2.0/", LA = null, Fce = () => LA ??= Promise.all([new Promise((e, t) => {
- let n = `${IA}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var NA = "/vendor/swiper/14.2.0/", PA = null, Rce = () => PA ??= Promise.all([new Promise((e, t) => {
+ let n = `${NA}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -35646,11 +35647,11 @@ var IA = "/vendor/swiper/14.2.0/", LA = null, Fce = () => LA ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${IA}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${NA}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw LA = null, e;
+ throw PA = null, e;
});
-function Ice(e, t, n) {
+function zce(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -35671,48 +35672,48 @@ function Ice(e, t, n) {
}
};
}
-var RA = (e) => {
+var FA = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : s(t)).replace(" ", "\xA0") : "大小未知";
-}, Lce = (e) => e.asset?.name || e.name || "未命名图片";
-function Rce(t, n) {
+}, Bce = (e) => e.asset?.name || e.name || "未命名图片";
+function Vce(t, n) {
let r = t.asset;
- if (r) return [e[r.location ?? ""] || r.location || "来源未知", RA(r.size)].join(" · ");
+ if (r) return [e[r.location ?? ""] || r.location || "来源未知", FA(r.size)].join(" · ");
let i = (t.total ?? 0) > 1 ? `第 ${t.position} / ${t.total} 张` : "", a = n?.[0] && n[1] ? `${n[0]} × ${n[1]}` : "";
return [
t.source || "在线图片",
i,
a,
- t.size ? RA(t.size) : ""
+ t.size ? FA(t.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var zA = null, BA = null, zce = 0;
-function Bce() {
- return (!BA || !zA?.isConnected) && (BA?.unmount(), zA = document.createElement("div"), zA.className = "peach-react", zA.dataset.photoLightboxHost = "", document.body.append(zA), BA = (0, ze.createRoot)(zA)), BA;
+var IA = null, LA = null, Hce = 0;
+function Uce() {
+ return (!LA || !IA?.isConnected) && (LA?.unmount(), IA = document.createElement("div"), IA.className = "peach-react", IA.dataset.photoLightboxHost = "", document.body.append(IA), LA = (0, ze.createRoot)(IA)), LA;
}
-async function VA(e, t, n) {
+async function RA(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await Fce();
+ r = await Rce();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Bce();
- (0, Re.flushSync)(() => i.render(/* @__PURE__ */ (0, R.jsx)(Vce, {
+ let i = Uce();
+ (0, Re.flushSync)(() => i.render(/* @__PURE__ */ (0, R.jsx)(Wce, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++zce)));
+ }, ++Hce)));
}
-function HA() {
- BA && (0, Re.flushSync)(() => BA.render(null));
+function zA() {
+ LA && (0, Re.flushSync)(() => LA.render(null));
}
-function Vce({ slides: e, index: t, Swiper: n, host: r }) {
+function Wce({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, L.useId)(), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = (0, L.useRef)(null), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = (0, L.useRef)(null), [v, y] = (0, L.useState)(t), [b, x] = (0, L.useState)(100), [S, C] = (0, L.useState)({}), [w, T] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [E, D] = (0, L.useState)(!1), [O, k] = (0, L.useState)({
at: t,
text: ""
@@ -35755,7 +35756,7 @@ function Vce({ slides: e, index: t, Swiper: n, host: r }) {
y(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), g.current = Ice(e, a, x);
+ i(t, 0), g.current = zce(e, a, x);
let l = oe(e, p.current, m.current), h = (e = !1) => {
l.hide(), p.current?.setAttribute("aria-expanded", "false"), e && p.current && document.contains(p.current) && p.current.focus();
};
@@ -35772,13 +35773,13 @@ function Vce({ slides: e, index: t, Swiper: n, host: r }) {
});
v.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : HA());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : zA());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), h(), v.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), g.current = null, _.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, L.useLayoutEffect)(() => {
- h.current && Pce(h.current);
+ h.current && Lce(h.current);
}, [b]);
let A = e[v], j = A.asset ?? null, M = async (e) => {
if (!j || !r || e.getAttribute("aria-busy") === "true") return;
@@ -35809,18 +35810,18 @@ function Vce({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), HA();
+ e.preventDefault(), zA();
},
onClick: (e) => {
let t = e.target;
- _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && HA();
+ _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && zA();
},
children: [
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: HA,
+ onClick: zA,
dangerouslySetInnerHTML: { __html: l("x") }
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -35953,10 +35954,10 @@ function Vce({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: Lce(A)
+ children: Bce(A)
}, v), /* @__PURE__ */ (0, R.jsx)("span", {
"data-photo-detail-meta": "",
- children: Rce(A, S[v])
+ children: Vce(A, S[v])
})]
}),
/* @__PURE__ */ (0, R.jsx)("button", {
@@ -35995,28 +35996,28 @@ function Vce({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function Hce(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, R.jsx)(Uce, {
+function Gce(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, R.jsx)(Kce, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, R.jsx)(Wce, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, R.jsx)(qce, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, R.jsx)(qce, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, R.jsx)(Xce, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function Uce({ roster: e, props: t }) {
+function Kce({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, L.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, R.jsx)(FA, {
+ return /* @__PURE__ */ (0, R.jsx)(MA, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function Wce(e) {
+function qce(e) {
let t = no(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-grid": "",
@@ -36041,16 +36042,16 @@ function Wce(e) {
}) : null]
});
}
-var Gce = (e) => Array.from({ length: e.n }, (t, n) => ({
+var Jce = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), UA = (e) => e.sample === !0, WA = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GA = (e) => UA(e) ? `/sample-thumb?${WA(e)}` : `/photo-thumb?id=${e.id}`, Kce = (e) => UA(e) ? {
- src: `/sample-image?${WA(e)}`,
- thumb: GA(e),
+})), BA = (e) => e.sample === !0, VA = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, HA = (e) => BA(e) ? `/sample-thumb?${VA(e)}` : `/photo-thumb?id=${e.id}`, Yce = (e) => BA(e) ? {
+ src: `/sample-image?${VA(e)}`,
+ thumb: HA(e),
name: e.name,
asset: null,
source: e.source,
@@ -36058,18 +36059,18 @@ var Gce = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: GA(e),
+ thumb: HA(e),
name: e.name || "",
asset: e
};
-function qce({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, L.useMemo)(() => [...e.codeSets.flatMap(Gce), ...e.items], [e]), [s, c] = (0, L.useState)(() => /* @__PURE__ */ new Set()), l = (0, L.useCallback)((e) => c((t) => {
+function Xce({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, L.useMemo)(() => [...e.codeSets.flatMap(Jce), ...e.items], [e]), [s, c] = (0, L.useState)(() => /* @__PURE__ */ new Set()), l = (0, L.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, L.useCallback)((e) => {
- VA(e, o.map(Kce), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, R.jsx)(Jce, {
+ RA(e, o.map(Yce), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, R.jsx)(Zce, {
item: e,
index: t,
lost: s.has(t),
@@ -36087,7 +36088,7 @@ function qce({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(KA, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(UA, {
label: e.code,
title: e.name,
meta: [
@@ -36099,7 +36100,7 @@ function qce({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, R.jsx)(KA, {
+ m.length && e.total ? /* @__PURE__ */ (0, R.jsx)(UA, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -36115,7 +36116,7 @@ function qce({ photos: e, props: t }) {
}, e.items.length) : null
] });
}
-function KA({ label: e, title: t, meta: n }) {
+function UA({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -36132,7 +36133,7 @@ function KA({ label: e, title: t, meta: n }) {
]
});
}
-function Jce({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function Zce({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -36141,7 +36142,7 @@ function Jce({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, R.jsx)("img", {
- src: GA(e),
+ src: HA(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -36150,7 +36151,7 @@ function Jce({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
})
});
}
-function qA(e) {
+function WA(e) {
return {
x0: 0,
y0: 0,
@@ -36158,7 +36159,7 @@ function qA(e) {
y1: e.height
};
}
-function JA(e) {
+function GA(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -36166,40 +36167,40 @@ function JA(e) {
y1: Math.round(e.y1)
};
}
-function YA(e) {
+function KA(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function XA(e, t) {
- if (!YA(e)) return {
+function qA(e, t) {
+ if (!KA(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return qA(e);
+ if (t == null || !(t > 0)) return WA(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return JA({
+ return GA({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Yce(e, t) {
- if (!YA(e) || !(t > 0)) return qA(e);
+function Qce(e, t) {
+ if (!KA(e) || !(t > 0)) return WA(e);
let n = Math.min(e.width, e.height * t);
- return JA({
+ return GA({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Xce(e, t, n) {
- if (!YA(t) || !(n > 0)) return qA(t);
- let r = ZA(e, t), i = XA({
+function $ce(e, t, n) {
+ if (!KA(t) || !(n > 0)) return WA(t);
+ let r = JA(e, t), i = qA({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -36210,8 +36211,8 @@ function Xce(e, t, n) {
y1: r.y0 + i.y1
};
}
-function ZA(e, t, n = null, r = "width") {
- if (!YA(t)) return {
+function JA(e, t, n = null, r = "width") {
+ if (!KA(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -36220,43 +36221,43 @@ function ZA(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return JA({
+ return GA({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function QA(e, t, n, r) {
+function YA(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return JA({
+ return GA({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function $A(e, t, n, r = null) {
- if (!YA(n) || !(t > 0)) return e;
+function XA(e, t, n, r = null) {
+ if (!KA(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return ZA({
+ return JA({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Zce(e, t, n, r, i = null) {
+function ele(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return ZA(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return JA(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Qce(e, t) {
- return YA(t) ? {
+function tle(e, t) {
+ return KA(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -36268,8 +36269,8 @@ function Qce(e, t) {
height: 0
};
}
-function $ce(e, t) {
- if (!YA(t)) return {
+function nle(e, t) {
+ if (!KA(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -36279,7 +36280,7 @@ function $ce(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function ele(e, t) {
+function rle(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}%`,
@@ -36288,17 +36289,17 @@ function ele(e, t) {
height: `${t.height / r * 100}%`
};
}
-function ej(e, t, n) {
+function ZA(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var tle = {
+var ile = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function tj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function QA({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = vf();
return /* @__PURE__ */ (0, R.jsx)(sx, {
isOpen: e,
@@ -36309,7 +36310,7 @@ function tj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
children: /* @__PURE__ */ (0, R.jsx)(Lte, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${tle[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ className: `flex max-h-full w-full ${ile[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
children: /* @__PURE__ */ (0, R.jsx)(bb, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
@@ -36318,7 +36319,7 @@ function tj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function nj({ children: e }) {
+function $A({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -36327,8 +36328,8 @@ function nj({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var nle = .02, rj = 1.08;
-function ij({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var ale = .02, ej = 1.08;
+function tj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, L.useRef)(null), c = (0, L.useRef)(null), [l, u] = (0, L.useState)(!1);
(0, L.useEffect)(() => {
u(!1);
@@ -36339,8 +36340,8 @@ function ij({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: ej(e, n.clientWidth, r.width),
- dy: ej(t, n.clientHeight, r.height)
+ dx: ZA(e, n.clientWidth, r.width),
+ dy: ZA(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -36358,29 +36359,29 @@ function ij({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(QA(n.box, o.dx, o.dy, r));
+ i(YA(n.box, o.dx, o.dy, r));
return;
}
- i(Zce(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(ele(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) * nle), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * ale), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(QA(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(YA(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($A(n, e.key === "-" ? 1 / rj : rj, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(XA(n, e.key === "-" ? 1 / ej : ej, r, t)));
}
- let g = n && r ? Qce(ZA(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? tle(JA(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -36399,7 +36400,7 @@ function ij({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- YA({
+ KA({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -36438,7 +36439,7 @@ function ij({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i($A(n, e.deltaY > 0 ? rj : 1 / rj, r, t));
+ !n || !r || i(XA(n, e.deltaY > 0 ? ej : 1 / ej, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, R.jsx)("span", {
@@ -36460,29 +36461,29 @@ function ij({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var rle = "/api/avatar-choices", aj = "/api/avatar-pick", ile = "/api/avatar-code-cover", ale = "/avatar-choice", oj = (e, t) => [
+var ole = "/api/avatar-choices", nj = "/api/avatar-pick", sle = "/api/avatar-code-cover", cle = "/avatar-choice", rj = (e, t) => [
"avatar-choices",
e,
t
-], sj = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cj = (e, t, n) => `${ale}${sj(e, t)}&ref=${encodeURIComponent(n)}`, lj = (e, t, n) => Hi(rle + sj(e, t), n), uj = (e) => U(ile, { code: e });
-function dj(e, t, n) {
+], ij = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, aj = (e, t, n) => `${cle}${ij(e, t)}&ref=${encodeURIComponent(n)}`, lle = (e, t, n) => Hi(ole + ij(e, t), n), ule = (e) => U(sle, { code: e });
+function oj(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Xce(e.focus, t, n) : XA(t, n);
+ return e.focus && r ? $ce(e.focus, t, n) : qA(t, n);
}
-var fj = (e) => e.crop && YA({
+var sj = (e) => e.crop && KA({
width: e.width,
height: e.height
});
-async function pj(e, t, n) {
+async function cj(e, t, n) {
if (!("file" in n)) {
- await U(aj, {
+ await U(nj, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${aj}${sj(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${nj}${ij(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
@@ -36491,30 +36492,30 @@ async function pj(e, t, n) {
let a = await i.json().catch(() => null);
throw new Bi(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function mj(e, t) {
+function lj(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 hj = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function gj(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${hj(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var uj = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function dj(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${uj(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var _j = (e) => e.cast > 1, vj = (e) => _j(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, yj = {
+var fj = (e) => e.cast > 1, pj = (e) => fj(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mj = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function bj(e) {
+function hj(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 xj = (e) => `${yj[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_j(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Sj = 8, Cj = 3 / 4;
-function wj({ kind: e, entityId: t, name: n, onPicked: r }) {
+var gj = (e) => `${mj[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fj(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), _j = 8, vj = 3 / 4;
+function yj({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -36529,12 +36530,12 @@ function wj({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, R.jsx)(tj, {
+ }), /* @__PURE__ */ (0, R.jsx)(QA, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, R.jsx)(Tj, {
+ children: /* @__PURE__ */ (0, R.jsx)(bj, {
kind: e,
entityId: t,
name: n,
@@ -36543,33 +36544,33 @@ function wj({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, L.useRef)(null), o = wO(), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(null), h = oj(e, t), g = (0, L.useRef)(!1), _ = Zn({
+function bj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, L.useRef)(null), o = SO(), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(null), h = rj(e, t), g = (0, L.useRef)(!1), _ = Zn({
queryKey: h,
- queryFn: ({ signal: n }) => lj(e, t, n),
+ queryFn: ({ signal: n }) => lle(e, t, n),
retryOnMount: !0
});
(0, L.useEffect)(() => () => {
- g.current && K.removeQueries({ queryKey: oj(e, t) });
+ g.current && K.removeQueries({ queryKey: rj(e, t) });
}, [e, t]);
let v = Qn({
- mutationFn: (n) => pj(e, t, n),
+ mutationFn: (n) => cj(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = Qn({
- mutationFn: (e) => uj(e),
+ mutationFn: (e) => ule(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? H(v.error) : "") || (!p && y.error ? H(y.error) : "") || (_.error ? H(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : gj(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? H(v.error) : "") || (!p && y.error ? H(y.error) : "") || (_.error ? H(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : dj(x);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, R.jsx)(nj, { children: /* @__PURE__ */ (0, R.jsx)(bt, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, R.jsx)($A, { children: /* @__PURE__ */ (0, R.jsx)(bt, { className: "size-6" }) }),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -36586,7 +36587,7 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? vj(p) : mj(n, x)
+ children: p ? pj(p) : lj(n, x)
}),
T ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "neutral",
@@ -36598,14 +36599,14 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsx)(EO, {
+ /* @__PURE__ */ (0, R.jsx)(wO, {
icon: Ye,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, R.jsx)(Dj, {
+ }), p ? /* @__PURE__ */ (0, R.jsx)(Sj, {
kind: e,
entityId: t,
choice: p,
@@ -36628,7 +36629,7 @@ function Tj({ 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: Sj }, (e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: _j }, (e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -36641,15 +36642,15 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: xj(n),
+ title: gj(n),
...G(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, R.jsx)(Ej, {
- src: cj(e, t, n.ref),
+ /* @__PURE__ */ (0, R.jsx)(xj, {
+ src: aj(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, R.jsx)("span", {
@@ -36664,7 +36665,7 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- _j(n) ? /* @__PURE__ */ (0, R.jsx)("span", {
+ fj(n) ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, R.jsxs)(Li, {
variant: "caption",
@@ -36685,7 +36686,7 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: /* @__PURE__ */ (0, R.jsx)(lk, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -36720,7 +36721,7 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: /* @__PURE__ */ (0, R.jsx)(lk, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -36740,7 +36741,7 @@ function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Ej({ src: e, choice: t }) {
+function xj({ src: e, choice: t }) {
let n = (0, L.useRef)(null), [r, i] = (0, L.useState)(!1);
(0, L.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -36748,7 +36749,7 @@ function Ej({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = fj(t) ? ele(dj(t, a, Cj), a) : null, s = r ? !0 : void 0;
+ }, o = sj(t) ? rle(oj(t, a, vj), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, R.jsx)("img", {
@@ -36773,23 +36774,23 @@ function Ej({ src: e, choice: t }) {
})]
});
}
-function Dj({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, L.useState)(o[0]), [l, u] = (0, L.useState)(null), [d, f] = (0, L.useState)(null), p = cj(e, t, s), m = wO();
+function Sj({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, L.useState)(o[0]), [l, u] = (0, L.useState)(null), [d, f] = (0, L.useState)(null), p = aj(e, t, s), m = SO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? $ce(d, l) : null;
+ let g = d && l ? nle(d, l) : null;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
ref: m,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, R.jsx)(ij, {
+ children: [/* @__PURE__ */ (0, R.jsx)(tj, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), YA(e) && f(s === n.ref ? dj(n, e, 1) : XA(e, 1));
+ u(e), KA(e) && f(s === n.ref ? oj(n, e, 1) : qA(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -36803,7 +36804,7 @@ function Dj({ 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: bj(e)
+ children: hj(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -36837,7 +36838,7 @@ function Dj({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function Oj({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function Cj({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, L.useRef)(null), o = e?.items.length ? e.html : "";
(0, L.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -36866,12 +36867,12 @@ function Oj({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var kj = {
+var wj = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function Aj({ name: e }) {
- let t = kj[e];
+function Tj({ name: e }) {
+ let t = wj[e];
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -36881,19 +36882,19 @@ function Aj({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function jj(e, t) {
+function Ej(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var Mj = (e) => !!e?.isConnected && e.matches(":popover-open");
-function Nj(e, t, n, r) {
+var Dj = (e) => !!e?.isConnected && e.matches(":popover-open");
+function Oj(e, t, n, r) {
let i = (0, L.useRef)(r);
i.current = r, (0, L.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && Mj(n.current) ? jj(t.current, n.current) : i.current();
+ t.current && Dj(n.current) ? Ej(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -36907,17 +36908,17 @@ function Nj(e, t, n, r) {
n
]);
}
-function Pj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function kj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, L.useRef)(null), s = (0, L.useRef)(null), [c, l] = (0, L.useState)(!1), u = (0, L.useRef)(!1), d = (0, L.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, Mj(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, Dj(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || Mj(s.current)) && (s.current.showPopover(), jj(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || Dj(s.current)) && (s.current.showPopover(), Ej(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return Nj(c, o, s, f), (0, L.useEffect)(() => {
+ return Oj(c, o, s, f), (0, L.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -36943,7 +36944,7 @@ function Pj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && Mj(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && Dj(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -36961,16 +36962,16 @@ function Pj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Fj({ following: e, busy: t, onToggle: n, tip: r }) {
+function Aj({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), [s, c] = (0, L.useState)(!1), l = (0, L.useRef)(!1), u = () => {
- Mj(o.current) && o.current.hidePopover(), c(!1);
+ Dj(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || Mj(o.current) || (o.current.showPopover(), jj(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || Dj(o.current) || (o.current.showPopover(), Ej(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return Nj(s, i, o, () => c(!1)), (0, L.useEffect)(() => {
- i.current && Mj(o.current) && jj(i.current, o.current);
+ return Oj(s, i, o, () => c(!1)), (0, L.useEffect)(() => {
+ i.current && Dj(o.current) && Ej(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, R.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -36979,7 +36980,7 @@ function Fj({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, R.jsx)(Aj, { name: "rss" }),
+ /* @__PURE__ */ (0, R.jsx)(Tj, { name: "rss" }),
/* @__PURE__ */ (0, R.jsx)("input", {
ref: a,
type: "checkbox",
@@ -37014,7 +37015,7 @@ function Fj({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Ij({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function jj({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, L.useState)(!1), o = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
@@ -37025,12 +37026,12 @@ function Ij({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, R.jsx)(Aj, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, R.jsx)(Tj, { name: "chevron-down" })
}), /* @__PURE__ */ (0, R.jsx)(Ey, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: gO,
+ className: mO,
"data-namepick-menu": "",
children: /* @__PURE__ */ (0, R.jsxs)(Ste, {
"aria-label": "名字与别名",
@@ -37048,7 +37049,7 @@ function Ij({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, R.jsx)(Aj, { name: "check" }), /* @__PURE__ */ (0, R.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Tj, { name: "check" }), /* @__PURE__ */ (0, R.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, R.jsx)(uee, { "data-namepick-rule": "" }),
@@ -37057,18 +37058,18 @@ function Ij({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, R.jsx)(Aj, { name: "plus" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Tj, { name: "plus" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Lj = (e) => e === "studio" || e === "agency", Rj = (e) => e === "performer" || e === "creator", zj = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function Bj(e) {
+var Mj = (e) => e === "studio" || e === "agency", Nj = (e) => e === "performer" || e === "creator", Pj = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function Fj(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function Vj(e) {
+function Ij(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -37079,13 +37080,13 @@ function Vj(e) {
linked: !1
} : null;
}
-function Hj(e, t) {
+function Lj(e, t) {
let n = f(e, "performer"), r = c(t);
return r && [e.label, n].map(c).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var Uj = (e) => ({ site: u(e) });
-function Wj(e, t) {
- let r = Vj(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var Rj = (e) => ({ site: u(e) });
+function zj(e, t) {
+ let r = Ij(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -37095,7 +37096,7 @@ function Wj(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${Hj(e, r)} · ${t}`
+ title: `${Lj(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -37106,8 +37107,8 @@ function Wj(e, t) {
if (t === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: Hj(e, r),
- mark: Uj(e)
+ title: Lj(e, r),
+ mark: Rj(e)
};
if (e.link_kind === "social") {
let t = n(i);
@@ -37115,7 +37116,7 @@ function Wj(e, t) {
type: "icon",
url: i,
title: e.label || "",
- mark: t ? { brand: t } : Uj(e)
+ mark: t ? { brand: t } : Rj(e)
};
}
return {
@@ -37123,13 +37124,13 @@ function Wj(e, t) {
url: i,
title: e.label || "",
text: f(e, t, a),
- mark: Uj(e)
+ mark: Rj(e)
};
});
return [...i, ...o];
}
-var Gj = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function ole(e) {
+var Bj = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Vj(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -37186,14 +37187,14 @@ function ole(e) {
tags: e.tags
}), t;
}
-function sle(e) {
+function Hj(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function cle(e) {
+function Uj(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -37204,8 +37205,8 @@ function cle(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o, helpers: s }) {
- let c = Rj(e), l = Lj(e), u = e === "performer" ? ole(n.profile) : [], d = Wj(n, e), f = Gj(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, L.useRef)(null), h = (0, L.useRef)(null);
+function dle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o, helpers: s }) {
+ let c = Nj(e), l = Mj(e), u = e === "performer" ? Vj(n.profile) : [], d = zj(n, e), f = Bj(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, L.useRef)(null), h = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, L.useEffect)(() => {
@@ -37218,7 +37219,7 @@ function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, R.jsx)(ule, {
+ children: [/* @__PURE__ */ (0, R.jsx)(fle, {
kind: e,
name: t,
helpers: s,
@@ -37226,7 +37227,7 @@ function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, R.jsx)(wj, {
+ children: /* @__PURE__ */ (0, R.jsx)(yj, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -37239,14 +37240,14 @@ function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, R.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, R.jsx)(Ij, {
+ children: [/* @__PURE__ */ (0, R.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, R.jsx)(jj, {
current: n.canonical_name,
- choices: Bj(n),
+ choices: Fj(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, R.jsx)(dle, {
+ /* @__PURE__ */ (0, R.jsx)(ple, {
kind: e,
entity: n,
actions: o
@@ -37254,9 +37255,9 @@ function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, R.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, R.jsx)(hle, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, R.jsx)(_le, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, R.jsx)(gle, {
+ f.length || n.feed ? /* @__PURE__ */ (0, R.jsx)(vle, {
entity: n,
actions: o,
helpers: s
@@ -37265,11 +37266,11 @@ function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, R.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(ple, {
+ children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(hle, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, R.jsx)(mle, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, R.jsx)(gle, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -37296,14 +37297,14 @@ function lle({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Oj, {
+ }), a ? (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Cj, {
feedNew: r,
host: a,
wire: s.wireFeedRow,
act: (e, t) => o.feedAction(e, t)
}), a) : null] });
}
-function ule({ kind: e, name: t, helpers: n, people: r, company: a }) {
+function fle({ kind: e, name: t, helpers: n, people: r, company: a }) {
let [o] = (0, L.useState)(() => `${n.portraitImg()}<span>${i(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -37312,8 +37313,8 @@ function ule({ kind: e, name: t, helpers: n, people: r, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function dle({ kind: e, entity: t, actions: n }) {
- let i = Vj(t), a = (e, t) => (r) => {
+function ple({ kind: e, entity: t, actions: n }) {
+ let i = Ij(t), a = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, R.jsx)("a", {
href: r("agency", i.name),
@@ -37322,36 +37323,36 @@ function dle({ kind: e, entity: t, actions: n }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = cle(t.name_groups);
+ let e = Uj(t.name_groups);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, R.jsx)(Aj, { name: "film" }), /* @__PURE__ */ (0, R.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Tj, { name: "film" }), /* @__PURE__ */ (0, R.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, R.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, R.jsx)(Aj, { name: "briefcase" }), /* @__PURE__ */ (0, R.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Tj, { name: "briefcase" }), /* @__PURE__ */ (0, R.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, R.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, R.jsx)(Aj, { name: "id-card" }),
+ /* @__PURE__ */ (0, R.jsx)(Tj, { name: "id-card" }),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, R.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, R.jsx)(Pj, {
+ e.rest > 0 ? /* @__PURE__ */ (0, R.jsx)(kj, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, R.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, R.jsx)(fle, {
+ children: /* @__PURE__ */ (0, R.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, R.jsx)(mle, {
label: e.label,
names: e.names
}, t)) })
@@ -37386,25 +37387,25 @@ function dle({ kind: e, entity: t, actions: n }) {
]
});
}
-function fle({ label: e, names: t }) {
+function mle({ label: e, names: t }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [e ? /* @__PURE__ */ (0, R.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, R.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, R.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function ple({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("dt", { children: [/* @__PURE__ */ (0, R.jsx)(Aj, { name: e }), t] }), /* @__PURE__ */ (0, R.jsx)("dd", {
+function hle({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("dt", { children: [/* @__PURE__ */ (0, R.jsx)(Tj, { name: e }), t] }), /* @__PURE__ */ (0, R.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function mle({ tags: e }) {
- let { shown: t, rest: n } = sle(e);
+function gle({ tags: e }) {
+ let { shown: t, rest: n } = Hj(e);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, R.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, R.jsx)(Pj, {
+ }, e)), n ? /* @__PURE__ */ (0, R.jsx)(kj, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -37419,10 +37420,10 @@ function mle({ tags: e }) {
})
}) : null] });
}
-function Kj({ mark: e }) {
+function Wj({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, R.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, R.jsx)(Aj, { name: e.brand })
+ children: /* @__PURE__ */ (0, R.jsx)(Tj, { name: e.brand })
});
let t = l("globe") + ("site" in e ? `<img src="${i(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, R.jsx)("span", {
@@ -37430,7 +37431,7 @@ function Kj({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function hle({ link: e }) {
+function _le({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, R.jsx)("a", {
"data-link": "icon",
@@ -37439,19 +37440,19 @@ function hle({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, R.jsx)(Kj, { mark: e.mark })
+ children: /* @__PURE__ */ (0, R.jsx)(Wj, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, R.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, R.jsx)(Kj, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, R.jsx)(Wj, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, R.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, R.jsx)(Kj, { mark: { globe: !0 } }), /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, R.jsx)(Wj, { mark: { globe: !0 } }), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -37462,14 +37463,14 @@ function hle({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, R.jsx)(Kj, { mark: e.mark }), /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [/* @__PURE__ */ (0, R.jsx)(Wj, { mark: e.mark }), /* @__PURE__ */ (0, R.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function gle({ entity: e, actions: t, helpers: n }) {
+function vle({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, L.useState)(!!e.feed?.following), [a, o] = (0, L.useState)(!1), s = (0, L.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -37487,34 +37488,34 @@ function gle({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-entry-marks": "",
- children: [Gj(e).map((e, t) => /* @__PURE__ */ (0, R.jsxs)("a", {
+ children: [Bj(e).map((e, t) => /* @__PURE__ */ (0, R.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, R.jsx)(Aj, { name: e.mark }) : /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, R.jsx)(Tj, { name: e.mark }) : /* @__PURE__ */ (0, R.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, R.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, R.jsx)(Fj, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, R.jsx)(Aj, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: zj(r)
+ tip: Pj(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function _le(e) {
- let { kind: t, name: n } = e, r = Zn(vA(t, n)), i = !!r.data?.error, { actions: a } = e;
+function yle(e) {
+ let { kind: t, name: n } = e, r = Zn(hA(t, n)), i = !!r.data?.error, { actions: a } = e;
return (0, L.useLayoutEffect)(() => {
i && a.missing();
}, [a, i]), r.isError ? /* @__PURE__ */ (0, R.jsx)(ro, {
@@ -37522,12 +37523,12 @@ function _le(e) {
onRetry: () => {
r.refetch();
}
- }) : !r.data || i ? null : /* @__PURE__ */ (0, R.jsx)(ble, {
+ }) : !r.data || i ? null : /* @__PURE__ */ (0, R.jsx)(Sle, {
...e,
entity: r.data
});
}
-function qj(e) {
+function Gj(e) {
let [t, n] = (0, L.useState)({
key: e,
n: 1
@@ -37539,14 +37540,14 @@ function qj(e) {
};
return n(r), r.n;
}
-var vle = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function yle(e, t) {
+var ble = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function xle(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function ble(e) {
- let { kind: n, name: r, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = n === "agency" || n === "studio", d = n === "agency" ? i.related_performers || [] : n === "studio" && i.labels || [], f = Number(i.id) || 0, p = $n(yA(n, r, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || bA(m).length > 0, _ = o.media === "photos" && g ? o : dA, [v, y] = (0, L.useState)("people"), x = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [S, C] = (0, L.useState)(x);
+function Sle(e) {
+ let { kind: n, name: r, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = n === "agency" || n === "studio", d = n === "agency" ? i.related_performers || [] : n === "studio" && i.labels || [], f = Number(i.id) || 0, p = $n(gA(n, r, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || _A(m).length > 0, _ = o.media === "photos" && g ? o : cA, [v, y] = (0, L.useState)("people"), x = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [S, C] = (0, L.useState)(x);
S !== x && (C(x), y("videos"));
- let w = u && v === "people" && d.length ? "people" : _.media, T = _A(e), E = Zn(T), D = qj(JSON.stringify(T.queryKey)), [O] = (0, L.useState)(() => (n === "performer" || n === "studio") && (e.jav || (E.data?.items || []).some((e) => e.is_jav)));
+ let w = u && v === "people" && d.length ? "people" : _.media, T = mA(e), E = Zn(T), D = Gj(JSON.stringify(T.queryKey)), [O] = (0, L.useState)(() => (n === "performer" || n === "studio") && (e.jav || (E.data?.items || []).some((e) => e.is_jav)));
(0, L.useLayoutEffect)(() => {
c.javContext(O);
}, [c, O]);
@@ -37556,26 +37557,26 @@ function ble(e) {
}, [e.layout, O]), A = {
jav: e.jav,
seed: e.seed
- }, j = (0, L.useCallback)((t, i) => gA(n, r, a, A, t, e.cache, i), [D]), [M, N] = (0, L.useState)({}), ee = _.set, te = M[ee] || "", P = $n({
- ...yA(n, r, ee, te),
+ }, j = (0, L.useCallback)((t, i) => pA(n, r, a, A, t, e.cache, i), [D]), [M, N] = (0, L.useState)({}), ee = _.set, te = M[ee] || "", P = $n({
+ ...gA(n, r, ee, te),
enabled: w === "photos"
- }), F = P.data?.pages[0], ne = qj(JSON.stringify(pA(n, r, ee, te))), re = (0, L.useMemo)(() => {
+ }), F = P.data?.pages[0], ne = Gj(JSON.stringify(uA(n, r, ee, te))), re = (0, L.useMemo)(() => {
let e = P.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: ne,
- codeSets: t.id ? [] : bA(t),
+ codeSets: t.id ? [] : _A(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [P.data, ne]), ie = P.refetch, ae = P.fetchNextPage, oe = Zn({
- ...lA(f, s.feedRowHtml),
+ ...aA(f, s.feedRowHtml),
enabled: !!f
}), se = (0, L.useRef)(e.feedRevision);
(0, L.useEffect)(() => {
- se.current !== e.feedRevision && (se.current = e.feedRevision, K.invalidateQueries({ queryKey: iA(f) }));
+ se.current !== e.feedRevision && (se.current = e.feedRevision, K.invalidateQueries({ queryKey: eA(f) }));
}, [f, e.feedRevision]);
let ce = !!E.data;
(0, L.useEffect)(() => {
@@ -37592,7 +37593,7 @@ function ble(e) {
le.current = !1;
}, []);
let [ue, de] = (0, L.useState)(0), I = (0, L.useCallback)(async () => {
- await K.invalidateQueries({ queryKey: fA(n, r) }), await K.invalidateQueries({ queryKey: [
+ await K.invalidateQueries({ queryKey: lA(n, r) }), await K.invalidateQueries({ queryKey: [
"entity-items",
n,
r
@@ -37623,7 +37624,7 @@ function ble(e) {
enabled: e
})
}),
- onSuccess: (e, t) => K.setQueryData(fA(n, r), (e) => e && {
+ onSuccess: (e, t) => K.setQueryData(lA(n, r), (e) => e && {
...e,
feed: {
...e.feed,
@@ -37671,12 +37672,12 @@ function ble(e) {
let e = await t("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- le.current && await K.invalidateQueries({ queryKey: iA(f) });
+ le.current && await K.invalidateQueries({ queryKey: eA(f) });
})();
},
- feedAction: uA,
+ feedAction: oA,
avatarPicked: () => {
- K.refetchQueries({ queryKey: fA(n, r) }).then(() => {
+ K.refetchQueries({ queryKey: lA(n, r) }).then(() => {
le.current && de((e) => e + 1);
});
}
@@ -37705,19 +37706,19 @@ function ble(e) {
e === w && !_.set || (y(e === "people" ? "people" : "videos"), c.route(a, e === "photos" ? {
media: "photos",
set: 0
- } : dA));
+ } : cA));
},
setState: (e) => c.route({
...a,
state: e
- }, dA),
+ }, cA),
toggleTag: c.toggleTag,
clearFilter: c.clearFilter,
clearAll: c.clearAll,
setSort: c.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let t = c.reshuffleVideos(), i = _A({
+ let t = c.reshuffleVideos(), i = mA({
kind: n,
name: r,
filters: {
@@ -37732,7 +37733,7 @@ function ble(e) {
await K.fetchQuery(i).catch(() => null);
return;
}
- let t = vle(), i = await K.fetchInfiniteQuery(yA(n, r, ee, t)).catch(() => null);
+ let t = ble(), i = await K.fetchInfiniteQuery(gA(n, r, ee, t)).catch(() => null);
!le.current || !i?.pages[0] || i.pages[0].error || N((e) => ({
...e,
[ee]: t
@@ -37766,7 +37767,7 @@ function ble(e) {
k: e.k,
label: s.tagLabel(e.k),
n: e.n,
- selected: pce(a.tag, e.k)
+ selected: gce(a.tag, e.k)
})), be = h || d.length ? {
label: d.length ? "页面视图" : "媒体类型",
people: d.length ? {
@@ -37792,9 +37793,9 @@ function ble(e) {
if (w === "people") we = `${n === "studio" ? "厂牌" : "艺人"} · ${d.length.toLocaleString()}`;
else if (w === "videos") {
Te = !E.data;
- let e = mA(a.tag).map(s.tagLabel);
+ let e = dA(a.tag).map(s.tagLabel);
we = `视频 · ${(E.data?.total || 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;
- } else F && !F.error ? we = Se ? `${F.title} · ${(F.total || 0).toLocaleString()} 张` : yle(F, bA(F).length) : Te = P.isPending;
+ } else F && !F.error ? we = Se ? `${F.title} · ${(F.total || 0).toLocaleString()} 张` : xle(F, _A(F).length) : Te = P.isPending;
let Ee = (0, L.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -37811,7 +37812,7 @@ function ble(e) {
d
]);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(lle, {
+ /* @__PURE__ */ (0, R.jsx)(dle, {
kind: n,
name: r,
entity: i,
@@ -37821,7 +37822,7 @@ function ble(e) {
actions: he,
helpers: ge
}, ue),
- (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Use, {
+ (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Kse, {
kind: n,
name: r,
view: w,
@@ -37842,7 +37843,7 @@ function ble(e) {
onRetry: () => {
E.refetch();
}
- }) : /* @__PURE__ */ (0, R.jsx)(Hce, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Gce, {
kind: n,
name: r,
view: w,
@@ -37869,21 +37870,21 @@ function ble(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function xle({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Zn(lA(null, n.feedRowHtml)), a = (0, L.useRef)(t);
+function Cle({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = Zn(aA(null, n.feedRowHtml)), a = (0, L.useRef)(t);
return (0, L.useEffect)(() => {
- a.current !== t && (a.current = t, K.invalidateQueries({ queryKey: iA(null) }));
- }, [t]), (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Oj, {
+ a.current !== t && (a.current = t, K.invalidateQueries({ queryKey: eA(null) }));
+ }, [t]), (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(Cj, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: uA,
+ act: oA,
settled: r.settled
}), e);
}
//#endregion
//#region src/follow-sort.ts
-var Jj = [
+var Kj = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -37891,7 +37892,7 @@ var Jj = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Sle = "checked", Yj = {
+], wle = "checked", qj = {
checked: "desc",
added: "desc",
name: "asc",
@@ -37899,32 +37900,32 @@ var Jj = [
source: "asc",
provider: "asc",
status: "asc"
-}, Cle = (e) => Jj.some(([t]) => t === e);
-function Xj(e, t) {
- let n = Cle(e) ? e : Sle;
+}, Tle = (e) => Kj.some(([t]) => t === e);
+function Jj(e, t) {
+ let n = Tle(e) ? e : wle;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : Yj[n]
+ dir: t === "asc" || t === "desc" ? t : qj[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var Zj = "/api/follow", Qj = "/api/follow/credentials", $j = "/api/follow/check", eM = "/api/follow/source", tM = "/api/follow/resolve", wle = "/api/follow/suggest", nM = "/api/follow/author-alias", Tle = "/api/follow/credential", rM = "/api/follow/status", Ele = "/api/feeds", iM = "/api/feeds/source", Dle = "/api/feeds/check", Ole = "/api/feeds/lookup", aM = ["follow-manage"], oM = ["follow-manage", "credentials"], kle = ["follow-manage", "check"], Ale = ["follow-manage", "resolve"], sM = ["follow-manage", "feeds"], jle = (e) => [
+var Yj = "/api/follow", Xj = "/api/follow/credentials", Zj = "/api/follow/check", Qj = "/api/follow/source", $j = "/api/follow/resolve", Ele = "/api/follow/suggest", eM = "/api/follow/author-alias", Dle = "/api/follow/credential", tM = "/api/follow/status", Ole = "/api/feeds", nM = "/api/feeds/source", kle = "/api/feeds/check", Ale = "/api/feeds/lookup", rM = ["follow-manage"], iM = ["follow-manage", "credentials"], jle = ["follow-manage", "check"], Mle = ["follow-manage", "resolve"], aM = ["follow-manage", "feeds"], Nle = (e) => [
"follow-manage",
"suggest",
e
-], cM = [["default", "默认视图"], ["table", "表格视图"]], lM = [
+], oM = [["default", "默认视图"], ["table", "表格视图"]], sM = [
10,
20,
50,
100
-], Mle = Object.fromEntries(Jj), uM = {
+], Ple = Object.fromEntries(Kj), cM = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Nle = (e) => cM.some(([t]) => t === e), Ple = (e) => lM.includes(Number(e)) ? Number(e) : 20, Fle = {
+}, Fle = (e) => oM.some(([t]) => t === e), Ile = (e) => sM.includes(Number(e)) ? Number(e) : 20, Lle = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -37932,25 +37933,25 @@ var Zj = "/api/follow", Qj = "/api/follow/credentials", $j = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, Ile = (e, t) => `按${Mle[e]}${Fle[e][t === "asc" ? 0 : 1]}排序`;
-function dM(e) {
+}, Rle = (e, t) => `按${Ple[e]}${Lle[e][t === "asc" ? 0 : 1]}排序`;
+function lM(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function Lle(e) {
+function zle(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var fM = (e) => e.last_status === "error" || e.last_status === "unauthorized", pM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), mM = {
- source: pM,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || pM(e, t),
- status: (e, t) => dM(e) - dM(t) || pM(e, t)
-}, hM = (e) => Date.parse(e || "") || 0, gM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function _M(e, t = []) {
+var uM = (e) => e.last_status === "error" || e.last_status === "unauthorized", dM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), fM = {
+ source: dM,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || dM(e, t),
+ status: (e, t) => lM(e) - lM(t) || dM(e, t)
+}, pM = (e) => Date.parse(e || "") || 0, mM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function hM(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || gM(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || mM(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return gM(i.canonical_name);
+ if (i) return mM(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -37958,18 +37959,18 @@ function _M(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function vM(e) {
+function gM(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function yM(e) {
+function _M(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function bM(e) {
+function vM(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -37977,31 +37978,31 @@ function bM(e) {
}
return t.map((e) => n.get(e));
}
-function Rle(e, t, n, r = []) {
- let i = bM(e), a = n === Yj[t] ? 1 : -1, o = (e) => _M(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = mM[t];
+function Ble(e, t, n, r = []) {
+ let i = vM(e), a = n === qj[t] ? 1 : -1, o = (e) => hM(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = fM[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => hM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => hM(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => pM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => pM(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
-function zle(e, t, n, r = []) {
+function Vle(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = _M(e, r);
+ let t = hM(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = mM[t];
+ }), a = fM[t];
if (a) {
- let e = n === Yj[t] ? 1 : -1;
+ let e = n === qj[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function xM(e, t, n) {
+function yM(e, t, n) {
let r = Vs(e, t), i = Hs(n, r), a = (i - 1) * t;
return {
page: i,
@@ -38011,91 +38012,91 @@ function xM(e, t, n) {
end: Math.min(a + t, e)
};
}
-function Ble(e, t) {
+function Hle(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function SM(e, t) {
+function bM(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function CM(e, t, n) {
+function xM(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var wM = (e) => Hi(`${Zj}?summary=1`, e), TM = (e) => Hi(Qj, e), Vle = (e) => Hi($j, e), Hle = (e) => Hi(tM, e), Ule = (e, t) => Hi(`${wle}?q=${encodeURIComponent(e)}`, t), EM = (e) => U($j, {
+var SM = (e) => Hi(`${Yj}?summary=1`, e), CM = (e) => Hi(Xj, e), Ule = (e) => Hi(Zj, e), Wle = (e) => Hi($j, e), Gle = (e, t) => Hi(`${Ele}?q=${encodeURIComponent(e)}`, t), wM = (e) => U(Zj, {
...e?.length ? { sources: e } : {},
background: !0
-}), Wle = (e) => U(tM, {
+}), Kle = (e) => U($j, {
lines: e,
background: !0
-}), DM = (e, t) => U(eM, {
+}), TM = (e, t) => U(Qj, {
action: "enabled",
id: e,
enabled: t
-}), OM = (e) => U(eM, {
+}), EM = (e) => U(Qj, {
action: "remove",
id: e
-}), Gle = (e) => U(eM, {
+}), qle = (e) => U(Qj, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), kM = (e, t) => U(nM, {
+}), DM = (e, t) => U(eM, {
action: "add",
canonical: e,
alias: t
-}), Kle = (e) => U(nM, {
+}), Jle = (e) => U(eM, {
action: "remove",
alias: e
-}), qle = (e, t) => U(Tle, {
+}), Yle = (e, t) => U(Dle, {
provider: e,
values: t
-}), Jle = (e, t) => U(rM, {
+}), Xle = (e, t) => U(tM, {
item: e,
to: t
-}), Yle = () => Hi(`${Zj}?status=new&limit=1000`);
-async function AM(e) {
- let t = await Hi(Ele, e);
+}), Zle = () => Hi(`${Yj}?status=new&limit=1000`);
+async function OM(e) {
+ let t = await Hi(Ole, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var jM = (e, t, n) => U(iM, {
+var kM = (e, t, n) => U(nM, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), MM = (e, t) => U(iM, {
+}, "POST", n), AM = (e, t) => U(nM, {
action: "remove",
id: e
-}, "POST", t), NM = (e, t) => U(Dle, t?.length ? { sources: t } : { all: !0 }, "POST", e), Xle = (e, t) => Hi(`${Ole}?q=${encodeURIComponent(e)}`, t), Zle = (e, t, n) => U(iM, {
+}, "POST", t), jM = (e, t) => U(kle, t?.length ? { sources: t } : { all: !0 }, "POST", e), Qle = (e, t) => Hi(`${Ale}?q=${encodeURIComponent(e)}`, t), $le = (e, t, n) => U(nM, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function Qle(e, t = "") {
+async function eue(e, t = "") {
await Promise.all([
K.fetchQuery({
- queryKey: aM,
- queryFn: () => wM(e)
+ queryKey: rM,
+ queryFn: () => SM(e)
}),
K.fetchQuery({
- queryKey: oM,
- queryFn: () => TM(e)
+ queryKey: iM,
+ queryFn: () => CM(e)
}),
t === "feeds" ? K.fetchQuery({
- queryKey: sM,
- queryFn: () => AM(e)
+ queryKey: aM,
+ queryFn: () => OM(e)
}) : null
]);
}
-function PM(e, t) {
- K.setQueryData(aM, (n) => n && {
+function MM(e, t) {
+ K.setQueryData(rM, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -38103,24 +38104,24 @@ function PM(e, t) {
} : n)
});
}
-function FM(e) {
+function NM(e) {
let t = new Set(e);
- K.setQueryData(aM, (e) => e && {
+ K.setQueryData(rM, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var IM = () => K.invalidateQueries({
- queryKey: aM,
+var PM = () => K.invalidateQueries({
+ queryKey: rM,
exact: !0
});
-function $le(e) {
+function tue(e) {
let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];
r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var eue = (e) => (e?.results || []).filter((e) => !e.ok), tue = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", LM = (e) => e.last_checked_at ? Ws(e.last_checked_at) : "未检查", nue = /* @__PURE__ */ new Set([
+var nue = (e) => (e?.results || []).filter((e) => !e.ok), rue = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", FM = (e) => e.last_checked_at ? Ws(e.last_checked_at) : "未检查", iue = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -38133,50 +38134,50 @@ var eue = (e) => (e?.results || []).filter((e) => !e.ok), tue = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), RM = (e) => nue.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", rue = {
+]), IM = (e) => iue.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", aue = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, zM = (e) => !!e.present && !e.missing.length, iue = [
+}, LM = (e) => !!e.present && !e.missing.length, oue = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], aue = [
+], sue = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], BM = {
+], RM = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function VM(e, t) {
+function zM(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function HM(e, t) {
+function BM(e, t) {
return {
queryKey: [
"follow-feed",
- VM(e, 0),
+ zM(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => Hi(VM(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => Hi(zM(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: Yt
};
}
-var UM = ["follow-feed", "credentials"], WM = (e) => Hi(Qj, e).catch(() => ({ providers: [] }));
-async function oue(e, t) {
- let n = HM(e.view, e.revision);
+var VM = ["follow-feed", "credentials"], HM = (e) => Hi(Xj, e).catch(() => ({ providers: [] }));
+async function cue(e, t) {
+ let n = BM(e.view, e.revision);
K.removeQueries({
queryKey: n.queryKey,
exact: !0
}), K.removeQueries({
- queryKey: UM,
+ queryKey: VM,
exact: !0
}), await Promise.all([K.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -38187,11 +38188,11 @@ async function oue(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), K.fetchQuery({
- queryKey: UM,
- queryFn: () => WM(t)
+ queryKey: VM,
+ queryFn: () => HM(t)
})]);
}
-function GM(e) {
+function UM(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -38200,10 +38201,10 @@ function GM(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function KM(e, t, n) {
+function WM(e, t, n) {
return [...e].sort((e, r) => h(n, t(e)) - h(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function qM(e) {
+function GM(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -38211,12 +38212,12 @@ function qM(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function sue(e) {
+function lue(e) {
for (let [, t] of K.getQueriesData({ queryKey: ["follow-feed"] })) {
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let n = t.pages[t.pages.length - 1];
for (let r of t.pages) for (let t of r.groups || []) {
- let r = qM(t).find((t) => t.id === e);
+ let r = GM(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -38227,7 +38228,7 @@ function sue(e) {
}
return null;
}
-function cue(e) {
+function uue(e) {
K.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -38237,7 +38238,7 @@ function cue(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return qM(t).some((t) => t.id === e.id) ? {
+ return GM(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -38247,39 +38248,39 @@ function cue(e) {
}))
});
}
-function lue(e, t) {
+function due(e, t) {
K.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && tN(n, null, e, t));
+ }, (n) => n && $M(n, null, e, t));
}
-function JM(e) {
- return qM(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function KM(e) {
+ return GM(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function YM(e) {
+function qM(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function XM(e) {
+function JM(e) {
let t = /* @__PURE__ */ new Set();
- return qM(e).forEach((e) => YM(e).forEach((e) => t.add(e))), t;
+ return GM(e).forEach((e) => qM(e).forEach((e) => t.add(e))), t;
}
-function ZM(e, t) {
+function YM(e, t) {
let n = t === "images" ? "image" : "video";
- return JM(e).find((e) => YM(e).has(n)) || e.primary;
+ return KM(e).find((e) => qM(e).has(n)) || e.primary;
}
-function QM(e) {
- return JM(e).filter((e) => e.playable && e.media_kind === "video");
+function XM(e) {
+ return KM(e).filter((e) => e.playable && e.media_kind === "video");
}
-var $M = {
+var ZM = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function uue({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${$M[s] || $M.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function fue({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${ZM[s] || ZM.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -38288,14 +38289,14 @@ function uue({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function due(e) {
+function pue(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function eN(e, t, n) {
- return e === t ? BM[e] ? {
+function QM(e, t, n) {
+ return e === t ? RM[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -38303,13 +38304,13 @@ function eN(e, t, n) {
dir: "desc"
};
}
-function fue(e, t, n, r) {
- let i = eN(e, n, r);
+function mue(e, t, n, r) {
+ let i = QM(e, n, r);
if (!i) return "";
- let a = BM[i.sort];
+ let a = RM[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function tN(e, t, n, r) {
+function $M(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -38339,7 +38340,7 @@ function tN(e, t, n, r) {
})
};
}
-function pue(e, t) {
+function hue(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -38359,7 +38360,7 @@ function pue(e, t) {
label: e
})), n;
}
-function mue(e, t) {
+function gue(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -38374,7 +38375,7 @@ function mue(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function hue(e, t) {
+function _ue(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -38383,76 +38384,76 @@ function hue(e, t) {
}
//#endregion
//#region src/sidebar.ts
-function gue(e) {
+function vue(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var nN = (e) => typeof e == "string" ? e : "", rN = (e) => e.aliases;
-function iN(e, t = "") {
- let n = RM(e);
- return n ? `<img class="ficon" src="${n}" alt="${i(t)}"${t ? ` title="${i(t)}"` : ""} loading="lazy" data-drop="self">` : "";
-}
-var aN = (e, t) => _M(e, rN(t));
-function oN(e, t) {
- let { src: n, fallback: r } = yM(e), a = vM(t);
+var eN = (e) => typeof e == "string" ? e : "", tN = (e) => e.aliases;
+function nN(e, t = "") {
+ let n = IM(e);
+ return n ? `<img data-follow-site-icon="" src="${n}" alt="${i(t)}"${t ? ` title="${i(t)}"` : ""} loading="lazy" data-drop="self">` : "";
+}
+var rN = (e, t) => hM(e, tN(t));
+function iN(e, t) {
+ let { src: n, fallback: r } = _M(e), a = gM(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${i(a)}</span>`;
let o = r ? ` data-fallbacks="${i(r)}"` : "";
return `<img class="favatar" src="${i(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${o} data-initial="${i(a)}" data-drop-class="favatar none">`;
}
-function sN(e, t, n) {
- let r = rN(n), i = e.credit, a = i?.poster;
+function aN(e, t, n) {
+ let r = tN(n), i = e.credit, a = i?.poster;
if (!a) {
- let n = _M(t, r);
+ let n = hM(t, r);
return {
- author: n || nN(e.author) || nN(e.source_label) || "创作者未取得",
- avatar: oN(t, n),
+ author: n || eN(e.author) || eN(e.source_label) || "创作者未取得",
+ avatar: iN(t, n),
credited: ""
};
}
- let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && _M(c, r) || a;
+ let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && hM(c, r) || a;
return {
author: l,
- avatar: oN(c, l),
+ avatar: iN(c, l),
credited: i.credited || ""
};
}
-function cN(e, t = e.primary) {
- let n = [];
- e.primary.variant_kind === "wip" ? n.push("<small class=\"javedition followmark wip\">WIP</small>") : e.has_wip && n.push("<small class=\"javedition followmark wip partial\">含 WIP</small>");
- let r = nN(e.primary.version);
- r && n.push(`<small class="javedition followmark ver">${i(r)}</small>`);
- let a = nN(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
- return o && n.push(`<small class="javedition followmark ${a}">${o}</small>`), n.join("");
+function oN(e, t = e.primary) {
+ let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
+ e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
+ let a = eN(e.primary.version);
+ a && n.push(r("version", i(a)));
+ let o = eN(t.audio), s = o === "voiced" ? "配音版" : o === "silent" ? "无声版" : "";
+ return s && n.push(r(o, s)), n.join("");
}
-function lN(e, t = e.primary) {
+function sN(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => iN(e, t) || `<span>${i(t)}</span>`).join("");
- return `<span class="fbadge dup" title="另见 ${i([...n.values()].join("、"))}">另见 ${r}</span>`;
+ let r = [...n].map(([e, t]) => nN(e, t) || `<span>${i(t)}</span>`).join("");
+ return `<span data-follow-seealso="" title="另见 ${i([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function uN(e, t) {
- let n = nN(e.media_error);
+function cN(e, t) {
+ let n = eN(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var dN = (e) => e.published_at ? Ws(e.published_at) : "时间未取得", fN = /* @__PURE__ */ new Set(), pN = [], mN = null;
-function hN() {
- if (mN = null, !pN.length) return;
- let e = pN.splice(0, 200);
+var lN = (e) => e.published_at ? Ws(e.published_at) : "时间未取得", uN = /* @__PURE__ */ new Set(), dN = [], fN = null;
+function pN() {
+ if (fN = null, !dN.length) return;
+ let e = dN.splice(0, 200);
t("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), pN.length && (mN = setTimeout(hN, 800));
+ }).catch(() => {}), dN.length && (fN = setTimeout(pN, 800));
}
-function _ue(e, t, n, r) {
+function yue(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- fN.has(i) || (fN.add(i), pN.push(t === null ? {
+ uN.has(i) || (uN.add(i), dN.push(t === null ? {
item: e,
width: n,
height: r
@@ -38461,15 +38462,15 @@ function _ue(e, t, n, r) {
width: n,
height: r,
media: t
- }), mN ||= setTimeout(hN, 800));
+ }), fN ||= setTimeout(pN, 800));
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var vue = (e) => Number(e) > 0;
-function yue(e) {
+var bue = (e) => Number(e) > 0;
+function xue(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function bue({ src: e, width: t, height: n, onLearn: r }) {
+function Sue({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, L.useState)(!1);
return i ? null : /* @__PURE__ */ (0, R.jsx)("img", {
src: e,
@@ -38485,8 +38486,8 @@ function bue({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function xue(e) {
- let { group: t, authorSources: n, media: r, context: a, selected: s, selectMode: c, busy: u, failure: d, helpers: f, actions: p } = e, m = ZM(t, r), h = r === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => _ue(m.id, v ? v.index : null, e, t) : void 0, S = r === "videos" ? QM(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = uue({
+function Cue(e) {
+ let { group: t, authorSources: n, media: r, context: a, selected: s, selectMode: c, busy: u, failure: d, helpers: f, actions: p } = e, m = YM(t, r), h = r === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => yue(m.id, v ? v.index : null, e, t) : void 0, S = r === "videos" ? XM(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = fue({
cover: _,
coverFace: (g?.thumb_url ? g : m).face,
stack: t.stack,
@@ -38502,7 +38503,7 @@ function xue(e) {
D.current = E.onPointerLeave;
let O = (0, L.useCallback)((e) => {
e && (e._stopHover = () => D.current());
- }, []), k = sN(m, n, a), A = dN(m), j = (m.tags || []).slice(0, 3), M = uN(m, a), N = lN(t, m), ee = m.status === "saved", te = (e) => {
+ }, []), k = aN(m, n, a), A = lN(m), j = (m.tags || []).slice(0, 3), M = cN(m, a), N = sN(t, m), ee = m.status === "saved", te = (e) => {
if (!e.target.closest("[data-media-tag]")) {
if (c || e.shiftKey || e.ctrlKey || e.metaKey) {
e.preventDefault(), p.toggleSelection(m.id, e.shiftKey);
@@ -38536,14 +38537,14 @@ function xue(e) {
"data-follow-open": "",
"aria-label": `打开 ${m.title} 详情`
}),
- _ ? /* @__PURE__ */ (0, R.jsx)(bue, {
+ _ ? /* @__PURE__ */ (0, R.jsx)(Sue, {
src: _,
width: b?.width,
height: b?.height,
onLearn: x
}, _) : /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: iN(m.resource_provider || m.provider) }
+ dangerouslySetInnerHTML: { __html: nN(m.resource_provider || m.provider) }
}),
w.faces.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
"data-mix-faces": "",
@@ -38562,7 +38563,7 @@ function xue(e) {
"data-media-badge": "",
title: m.provider_label,
"aria-label": `来源:${m.provider_label || ""}`,
- dangerouslySetInnerHTML: { __html: iN(m.provider) }
+ dangerouslySetInnerHTML: { __html: nN(m.provider) }
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-media-check": "",
@@ -38571,7 +38572,7 @@ function xue(e) {
},
dangerouslySetInnerHTML: { __html: l("check") }
}),
- vue(m.duration) ? /* @__PURE__ */ (0, R.jsx)("span", {
+ bue(m.duration) ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-media-duration": "",
children: o(m.duration)
}) : null,
@@ -38653,7 +38654,7 @@ function xue(e) {
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: cN(t, m) + i(m.title) }
+ dangerouslySetInnerHTML: { __html: oN(t, m) + i(m.title) }
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-follow-byline": "",
@@ -38664,7 +38665,7 @@ function xue(e) {
}), /* @__PURE__ */ (0, R.jsx)("time", {
dateTime: m.published_at || "",
title: A,
- children: yue(A)
+ children: xue(A)
})]
}),
k.credited ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -38700,10 +38701,10 @@ function xue(e) {
]
});
}
-var Sue = (0, L.memo)(xue), gN = () => /* @__PURE__ */ (0, R.jsx)("span", {
+var wue = (0, L.memo)(Cue), mN = () => /* @__PURE__ */ (0, R.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Cue = To("settings"), wue = To("chevron-down"), Tue = To("history"), Eue = [[
+}), Tue = To("settings"), Eue = To("chevron-down"), Due = To("history"), Oue = [[
"fixed",
"固定比例",
"layout-grid"
@@ -38712,19 +38713,19 @@ var Sue = (0, L.memo)(xue), gN = () => /* @__PURE__ */ (0, R.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function Due(e, t, n) {
+function kue(e, t, n) {
return (0, L.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = KM([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = KM(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = WM([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = WM(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = KM([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = WM([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -38732,7 +38733,7 @@ function Due(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => XM(e).forEach((e) => {
+ r.forEach((e) => JM(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -38747,7 +38748,7 @@ function Due(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => XM(e).has(_)),
+ visible: r.filter((e) => JM(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -38760,15 +38761,15 @@ function Due(e, t, n) {
n
]);
}
-function Oue(e) {
- let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = HM(t, r), s = $n(o), c = Zn({
- queryKey: UM,
- queryFn: ({ signal: e }) => WM(e)
- }), l = (0, L.useMemo)(() => GM(s.data), [s.data]), u = (0, L.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), d = (0, L.useMemo)(() => ({
+function Aue(e) {
+ let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = BM(t, r), s = $n(o), c = Zn({
+ queryKey: VM,
+ queryFn: ({ signal: e }) => HM(e)
+ }), l = (0, L.useMemo)(() => UM(s.data), [s.data]), u = (0, L.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), d = (0, L.useMemo)(() => ({
sources: l?.sources || [],
aliases: l?.author_aliases || [],
credentials: u
- }), [l, u]), f = Due(l, t, n), p = s.isPending || s.isPlaceholderData, h = !p && !!l, g = (0, L.useMemo)(() => gue(f.visible.flatMap(qM).map((e) => ({ tags: e.tags || [] }))), [f.visible]);
+ }), [l, u]), f = kue(l, t, n), p = s.isPending || s.isPlaceholderData, h = !p && !!l, g = (0, L.useMemo)(() => vue(f.visible.flatMap(GM).map((e) => ({ tags: e.tags || [] }))), [f.visible]);
(0, L.useEffect)(() => {
h && a.loaded(g);
}, [
@@ -38776,7 +38777,7 @@ function Oue(e) {
g,
a
]);
- let _ = kue(e, !!l);
+ let _ = jue(e, !!l);
if (!l) return s.isError ? /* @__PURE__ */ (0, R.jsx)(ro, {
message: m(s.error),
onRetry: () => void s.refetch()
@@ -38784,12 +38785,12 @@ function Oue(e) {
let v = (e) => a.route({
...t,
...e
- }), y = pue({
+ }), y = hue({
...t,
author: f.author,
provider: f.provider
}, {
- authors: new Map([...f.authorSources].map(([e, t]) => [e, aN(t, d)])),
+ authors: new Map([...f.authorSources].map(([e, t]) => [e, rN(t, d)])),
providers: f.providers,
works: f.workNames
}), b = t.status ? f.counts[t.status] || 0 : f.allCount, x = f.sources.some((e) => e.can_backfill);
@@ -38809,7 +38810,7 @@ function Oue(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
- leadingIcon: Cue,
+ leadingIcon: Tue,
"data-follow-manage": "",
onClick: a.openManage,
children: "管理关注"
@@ -38826,20 +38827,20 @@ function Oue(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, R.jsx)(Aue, {
+ /* @__PURE__ */ (0, R.jsx)(Mue, {
facets: f,
pressed: f.author,
context: d,
props: e,
onPick: (e) => v({ author: f.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, R.jsx)(jue, {
+ /* @__PURE__ */ (0, R.jsx)(Nue, {
rows: f.workRows,
pressed: t.work,
props: e,
onPick: (e) => v({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, R.jsx)(Mue, {
+ /* @__PURE__ */ (0, R.jsx)(Pue, {
facets: f,
view: t,
total: b,
@@ -38847,9 +38848,9 @@ function Oue(e) {
props: e,
route: v
}),
- /* @__PURE__ */ (0, R.jsx)(Nue, {
+ /* @__PURE__ */ (0, R.jsx)(Fue, {
conditions: y,
- onDrop: (e) => a.route(mue(t, e)),
+ onDrop: (e) => a.route(gue(t, e)),
onClear: () => v({
author: "",
provider: "",
@@ -38857,11 +38858,11 @@ function Oue(e) {
tags: []
})
}),
- f.broken.length ? /* @__PURE__ */ (0, R.jsx)(Pue, {
+ f.broken.length ? /* @__PURE__ */ (0, R.jsx)(Iue, {
count: f.broken.length,
onManage: a.openManage
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Fue, {
+ /* @__PURE__ */ (0, R.jsx)(Lue, {
pending: p,
facets: f,
data: l,
@@ -38878,13 +38879,13 @@ function Oue(e) {
load: async () => {
await s.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, R.jsx)(wue, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, R.jsx)(Eue, { className: "size-3.5" }), "加载更多"]
}, s.data?.pages.length)
}) : null, x ? /* @__PURE__ */ (0, R.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
- leadingIcon: _.olderBusy ? void 0 : Tue,
+ leadingIcon: _.olderBusy ? void 0 : Due,
"data-follow-older": "",
"aria-busy": _.busy || void 0,
onClick: () => void _.start(!0),
@@ -38894,14 +38895,14 @@ function Oue(e) {
}), /* @__PURE__ */ (0, R.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-backfill": "",
- children: due(f.sources)
+ children: pue(f.sources)
})]
}) : null]
}) : null
]
})] });
}
-function kue(e, t) {
+function jue(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, L.useState)(0), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(!1), f = (0, L.useRef)(!1), p = (0, L.useRef)(null), h = (0, L.useRef)({
helpers: n,
actions: r
@@ -38916,7 +38917,7 @@ function kue(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => Hi($j, e),
+ read: (e) => Hi(Zj, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -38941,7 +38942,7 @@ function kue(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await U($j, e ? {
+ let n = await U(Zj, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -38959,7 +38960,7 @@ function kue(e, t) {
olderBusy: c === "older" || u && o
};
}
-function Aue({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Mue({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -38976,16 +38977,16 @@ function Aue({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
onClick: () => i(r),
children: [/* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: oN(a, aN(a, n)) }
+ dangerouslySetInnerHTML: { __html: iN(a, rN(a, n)) }
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-name": "",
- children: aN(a, n)
+ children: rN(a, n)
})]
}, r);
})
}) : null;
}
-function jue({ rows: e, pressed: t, props: n, onPick: r }) {
+function Nue({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -39006,13 +39007,13 @@ function jue({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, L.useRef)(null), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = jk(c, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = jk(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
+function Pue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, L.useRef)(null), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = Ok(c, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = Ok(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
(0, L.useEffect)(() => {
o.wireDrag(p.current), o.wireDrag(m.current), o.wireScroller(m.current);
}, [o]);
let v = [...e.providers], y = v.length + e.tagRows.length > 0, b = t.media === "images";
- return /* @__PURE__ */ (0, R.jsx)(Ck, {
+ return /* @__PURE__ */ (0, R.jsx)(yk, {
label: "筛选与排序",
topLabel: h ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -39064,7 +39065,7 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: l(i) }
}, e);
})
- }), /* @__PURE__ */ (0, R.jsx)(gN, {})] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
+ }), /* @__PURE__ */ (0, R.jsx)(mN, {})] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
ref: p,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -39073,7 +39074,7 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: g.leave,
- children: [iue.map(([e, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
+ children: [oue.map(([e, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -39084,7 +39085,7 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), y ? /* @__PURE__ */ (0, R.jsx)(gN, {}) : null]
+ }, e)), y ? /* @__PURE__ */ (0, R.jsx)(mN, {}) : null]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: m,
"data-entity-tags": "",
@@ -39097,13 +39098,13 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: iN(t) }
+ dangerouslySetInnerHTML: { __html: nN(t) }
}, t)),
- v.length && e.tagRows.length ? /* @__PURE__ */ (0, R.jsx)(gN, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, R.jsxs)(wk, {
+ v.length && e.tagRows.length ? /* @__PURE__ */ (0, R.jsx)(mN, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, R.jsxs)(bk, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${hue(e.groups, n)}`,
+ "data-tag-cat": `r34-${_ue(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [o.tagLabel(n), r ? /* @__PURE__ */ (0, R.jsx)("span", {
@@ -39121,11 +39122,11 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(Vk, { onPress: s.shuffle }),
- b ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Bk, {
+ /* @__PURE__ */ (0, R.jsx)(Rk, { onPress: s.shuffle }),
+ b ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Lk, {
label: "图片布局",
value: i.photoLayout,
- options: Eue,
+ options: Oue,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
@@ -39142,7 +39143,7 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: l("captions-off") }
})]
})] }) : null,
- aue.map(([e, n]) => {
+ sue.map(([e, n]) => {
let r = t.sort === e, i = To(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
@@ -39150,9 +39151,9 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": fue(e, n, t.sort, t.dir) || void 0,
+ "aria-label": mue(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = eN(e, t.sort, t.dir);
+ let n = QM(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, R.jsx)(i, { className: "size-3.5" }) : null]
@@ -39162,7 +39163,7 @@ function Mue({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Nue({ conditions: e, onDrop: t, onClear: n }) {
+function Fue({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -39187,7 +39188,7 @@ function Nue({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function Pue({ count: e, onManage: t }) {
+function Iue({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -39196,12 +39197,12 @@ function Pue({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${l("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Fue({ pending: e, facets: t, data: n, context: r, props: i }) {
+function Lue({ pending: e, facets: t, data: n, context: r, props: i }) {
let { view: a, helpers: o } = i, s = a.media === "images", c = no(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, R.jsx)(Iue, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, R.jsx)(Rue, {
facets: t,
data: n,
context: r,
@@ -39210,39 +39211,39 @@ function Fue({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function Iue({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, helpers: o, actions: s } = r, c = zue(r), l = i ? {
+function Rue({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, helpers: o, actions: s } = r, c = Vue(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, u;
return u = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, R.jsx)(Sue, {
+ return /* @__PURE__ */ (0, R.jsx)(wue, {
group: t,
authorSources: l,
media: a.media,
context: n,
- selected: r.selected.has(_N(t, a)),
+ selected: r.selected.has(hN(t, a)),
selectMode: r.selectMode,
- busy: c.busy.get(_N(t, a)) || "",
- failure: c.failures.get(_N(t, a)) || "",
+ busy: c.busy.get(hN(t, a)) || "",
+ failure: c.failures.get(hN(t, a)) || "",
helpers: o,
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${a.media}`);
- }) : /* @__PURE__ */ (0, R.jsx)(Lue, { data: t }), /* @__PURE__ */ (0, R.jsx)("div", {
+ }) : /* @__PURE__ */ (0, R.jsx)(zue, { data: t }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...l,
children: u
});
}
-function _N(e, t) {
- return ZM(e, t.media).id;
+function hN(e, t) {
+ return YM(e, t.media).id;
}
-function Lue({ data: e }) {
+function zue({ data: e }) {
let t = (e.groups || []).length ? C("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? C("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : C("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-empty": "",
@@ -39250,22 +39251,22 @@ function Lue({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var Rue = {
+var Bue = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function zue(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, L.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, L.useState)(() => /* @__PURE__ */ new Map()), c = HM(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Vue(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, L.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, L.useState)(() => /* @__PURE__ */ new Map()), c = BM(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- K.setQueryData(c, (r) => r && tN(r, t, e, n));
+ K.setQueryData(c, (r) => r && $M(r, t, e, n));
}, d = () => void K.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = GM(K.getQueryData(c));
+ let t = UM(K.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
@@ -39273,13 +39274,13 @@ function zue(e) {
]) if (t.id === e) return t.status;
return "new";
}, p = Qn({
- mutationFn: ({ id: e, to: t }) => U(rM, {
+ mutationFn: ({ id: e, to: t }) => U(tM, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Rue[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await U(rM, {
+ u(t, n), d(), r.toast(Bue[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await U(tM, {
item: t,
to: i
}), u(t, i), d();
@@ -39324,8 +39325,8 @@ function zue(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function vN({ provider: e, label: t }) {
- let n = RM(e), [r, i] = (0, L.useState)(!1);
+function gN({ provider: e, label: t }) {
+ let n = IM(e), [r, i] = (0, L.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: t }) : null : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("img", {
src: n,
alt: "",
@@ -39336,8 +39337,8 @@ function vN({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, R.jsx)(Oh, { children: t }) : null] });
}
-function yN({ group: e, name: t }) {
- let { src: n, fallback: r } = yM(e), [i, a] = (0, L.useState)(0), o = [n, r].filter(Boolean)[i];
+function _N({ group: e, name: t }) {
+ let { src: n, fallback: r } = _M(e), [i, a] = (0, L.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, R.jsx)("img", {
src: o,
alt: "",
@@ -39350,18 +39351,18 @@ function yN({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, R.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: vM(t)
+ children: gM(t)
});
}
-function bN({ source: e }) {
- let t = fM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+function vN({ source: e }) {
+ let t = uM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, R.jsx)(Li, {
variant: "caption",
color: t,
- children: Lle(e)
+ children: zle(e)
});
}
-function xN({ source: e }) {
+function yN({ source: e }) {
return /* @__PURE__ */ (0, R.jsx)("a", {
href: e.url,
target: "_blank",
@@ -39373,8 +39374,8 @@ function xN({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var SN = Pi(_O, vO, "text-body-2-medium"), Bue = "粘贴来源链接,或输入创作者名、id…", Vue = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Hue = "识别中…", Uue = "站内没有查到来源", CN = (e, t) => `${e}:${t.url}`;
-function Wue({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var bN = Pi(hO, gO, "text-body-2-medium"), Hue = "粘贴来源链接,或输入创作者名、id…", Uue = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Wue = "识别中…", Gue = "站内没有查到来源", xN = (e, t) => `${e}:${t.url}`;
+function Kue({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, L.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
}, [t, r]), /* @__PURE__ */ (0, R.jsxs)(Ey, {
@@ -39389,7 +39390,7 @@ function Wue({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: Pi(gO, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: Pi(mO, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, R.jsx)($i, { label: "正在查找建议" })
@@ -39399,7 +39400,7 @@ function Wue({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? Pi(SN, "bg-background-secondary-default") : SN,
+ className: t === r ? Pi(bN, "bg-background-secondary-default") : bN,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -39419,7 +39420,7 @@ function Wue({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function Gue({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function que({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -39439,7 +39440,7 @@ function Gue({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: gO,
+ className: mO,
children: /* @__PURE__ */ (0, R.jsxs)(bb, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
@@ -39456,16 +39457,16 @@ function Gue({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, R.jsx)(FO, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, R.jsx)(NO, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)($O, {
+ children: [/* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(vN, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, R.jsx)(gN, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, R.jsx)(V, {
variant: "ghost",
@@ -39481,7 +39482,7 @@ function Gue({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function Kue({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Jue({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
title: e.line,
@@ -39500,15 +39501,15 @@ function Kue({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = CN(t, e);
- return /* @__PURE__ */ (0, R.jsx)($O, {
+ let n = xN(t, e);
+ return /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, R.jsx)(vN, { provider: e.provider }),
+ /* @__PURE__ */ (0, R.jsx)(gN, { provider: e.provider }),
/* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -39524,22 +39525,22 @@ function Kue({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, R.jsx)(FO, { children: Uue }),
+ }) : /* @__PURE__ */ (0, R.jsx)(NO, { children: Gue }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, R.jsx)(RO, {
+ }), /* @__PURE__ */ (0, R.jsx)(IO, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, R.jsx)(FO, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, R.jsx)(NO, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Yue({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, L.useState)(""), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(!1), [p, m] = (0, L.useState)(null), [h, g] = (0, L.useState)(-1), _ = (0, L.useRef)(null), v = (0, L.useRef)(null), [y, b] = (0, L.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, L.useState)(""), [T, E] = (0, L.useState)(0);
(0, L.useEffect)(() => {
let e = a.trim();
@@ -39551,18 +39552,18 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
return () => clearTimeout(t);
}, [a]);
let D = Zn({
- queryKey: jle(l),
- queryFn: ({ signal: e }) => Ule(l, e),
+ queryKey: Nle(l),
+ queryFn: ({ signal: e }) => Gle(l, e),
enabled: l.length > 0 && d
}), O = (0, L.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = YO({
- queryKey: Ale,
- queryFn: ({ signal: e }) => Hle(e),
- start: (e) => Wle([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = qO({
+ queryKey: Mle,
+ queryFn: ({ signal: e }) => Wle(e),
+ start: (e) => Kle([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(H(e)),
onFinish: (e) => {
@@ -39596,14 +39597,14 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: CN(t, e)
+ key: xN(t, e)
})).filter((e) => !x.has(e.key))), ae = Qn({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await Gle(r.candidate);
+ let e = await qle(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${H(e)}`);
@@ -39611,7 +39612,7 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await EM(n);
+ await wM(n);
} catch (e) {
t.push(H(e));
}
@@ -39621,7 +39622,7 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (IM(), e.failures.length) {
+ if (PM(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -39650,15 +39651,15 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, R.jsx)(pk, {
+ children: [/* @__PURE__ */ (0, R.jsx)(lk, {
"aria-label": "来源链接、名字或 id",
- placeholder: Bue,
+ placeholder: Hue,
value: a,
leadingIcon: ht,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), P ? /* @__PURE__ */ (0, R.jsx)(Wue, {
+ }), P ? /* @__PURE__ */ (0, R.jsx)(Kue, {
field: _,
menu: v,
options: O,
@@ -39668,7 +39669,7 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: F
}) : null]
}),
- /* @__PURE__ */ (0, R.jsx)(Gue, {
+ /* @__PURE__ */ (0, R.jsx)(que, {
credentials: t,
hidden: y,
onHidden: b,
@@ -39686,9 +39687,9 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, R.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, R.jsx)(OO, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Vue : Hue),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Uue : Wue),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, R.jsx)(W, {
@@ -39700,8 +39701,8 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, R.jsx)(Kue, {
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, R.jsx)(Jue, {
row: e,
at: t,
hidden: y,
@@ -39756,16 +39757,16 @@ function que({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Jue = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, wN = (e) => e.alias;
-function Yue(e, t, n) {
+var Xue = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, SN = (e) => e.alias;
+function Zue(e, t, n) {
let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function TN({ sources: e, name: t, canonicalKey: n }) {
+function CN({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(yN, {
- group: Yue(e, t, n),
+ children: [/* @__PURE__ */ (0, R.jsx)(_N, {
+ group: Zue(e, t, n),
name: t
}), /* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium",
@@ -39773,15 +39774,15 @@ function TN({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function Que({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = Qn({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await kM(n.canonical, n.alias);
+ await DM(n.canonical, n.alias);
} catch (n) {
- throw t && IM(), Error(`${H(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && PM(), Error(`${H(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -39791,19 +39792,19 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), IM(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), PM(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(H(e))
}), m = Qn({
- mutationFn: (e) => kM(e.canonical, e.alias),
+ mutationFn: (e) => DM(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), IM(), i("已保存创作者别名");
+ c(""), u(""), f(""), PM(), i("已保存创作者别名");
},
onError: (e) => c(H(e))
}), h = Qn({
- mutationFn: (e) => Kle(e),
+ mutationFn: (e) => Jle(e),
onSuccess: () => {
- c(""), IM(), i("已移除创作者别名");
+ c(""), PM(), i("已移除创作者别名");
},
onError: (e) => c(H(e))
}), g = (e, t) => {
@@ -39813,7 +39814,7 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(wN(e))), v = t.length > 0 && _.length === t.length, y = G(p.isPending);
+ }, _ = t.filter((e) => a.has(SN(e))), v = t.length > 0 && _.length === t.length, y = G(p.isPending);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: Xi({
padding: "none",
@@ -39826,10 +39827,10 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(LO, { children: "手动添加别名" }), /* @__PURE__ */ (0, R.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, R.jsx)(FO, { children: "手动添加别名" }), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -39837,7 +39838,7 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -39858,13 +39859,13 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, R.jsx)(IO, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, R.jsx)(PO, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "待合并" }),
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "待合并" }),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -39886,18 +39887,18 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, R.jsx)(nk, { children: /* @__PURE__ */ (0, R.jsxs)(ek, {
+ }), /* @__PURE__ */ (0, R.jsx)(ek, { children: /* @__PURE__ */ (0, R.jsxs)(QO, {
"aria-label": "待合并创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, R.jsxs)(xS, { children: [
/* @__PURE__ */ (0, R.jsx)(SS, {
id: "select",
- children: /* @__PURE__ */ (0, R.jsx)($O, {
+ children: /* @__PURE__ */ (0, R.jsx)(ZO, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(wN)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(SN)) : /* @__PURE__ */ new Set())
})
}),
/* @__PURE__ */ (0, R.jsx)(SS, {
@@ -39918,12 +39919,12 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "操作"
})
] }), /* @__PURE__ */ (0, R.jsx)(wS, { children: t.map((e) => {
- let t = wN(e);
+ let t = SN(e);
return /* @__PURE__ */ (0, R.jsxs)(DS, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)($O, {
+ /* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)(ZO, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -39932,7 +39933,7 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)(TN, {
+ /* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)(CN, {
sources: n,
name: e.canonical
}) }),
@@ -39958,11 +39959,11 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(LO, { children: "已保存别名" }), /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [/* @__PURE__ */ (0, R.jsx)(FO, { children: "已保存别名" }), /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, R.jsx)(nk, { children: /* @__PURE__ */ (0, R.jsxs)(ek, {
+ }), e.length ? /* @__PURE__ */ (0, R.jsx)(ek, { children: /* @__PURE__ */ (0, R.jsxs)(QO, {
"aria-label": "已保存创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, R.jsxs)(xS, { children: [/* @__PURE__ */ (0, R.jsx)(SS, {
@@ -39974,7 +39975,7 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "平台别名"
})] }), /* @__PURE__ */ (0, R.jsx)(wS, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(DS, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)(TN, {
+ children: [/* @__PURE__ */ (0, R.jsx)(kS, { children: /* @__PURE__ */ (0, R.jsx)(CN, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
@@ -39992,7 +39993,7 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
...G(h.isPending),
onClick: () => void b({
title: "移除创作者别名",
- body: Jue(e.name),
+ body: Xue(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -40012,12 +40013,12 @@ function Xue({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Zue = "这些账号信息存在哪里", Que = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", $ue = "将清除这个来源在本机和共享副本中的登录凭据。", ede = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function tde(e, t) {
+var $ue = "这些账号信息存在哪里", ede = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", tde = "将清除这个来源在本机和共享副本中的登录凭据。", nde = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function rde(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function nde({ row: e }) {
- if (zM(e)) return /* @__PURE__ */ (0, R.jsx)(Li, {
+function ide({ row: e }) {
+ if (LM(e)) return /* @__PURE__ */ (0, R.jsx)(Li, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -40026,19 +40027,19 @@ function nde({ row: e }) {
return /* @__PURE__ */ (0, R.jsx)(Li, {
variant: "caption",
color: t,
- children: rue[e.requirement] || ""
+ children: aue[e.requirement] || ""
});
}
-function rde({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, L.useState)({}), [a, o] = (0, L.useState)(""), s = zM(e), c = Qn({
- mutationFn: (t) => qle(e.provider, t),
+function ade({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, L.useState)({}), [a, o] = (0, L.useState)(""), s = LM(e), c = Qn({
+ mutationFn: (t) => Yle(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), K.invalidateQueries({
- queryKey: oM,
+ queryKey: iM,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -40054,17 +40055,17 @@ function rde({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsxs)(FO, { children: [e.why, e.where ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [" ", /* @__PURE__ */ (0, R.jsx)(RO, {
+ /* @__PURE__ */ (0, R.jsxs)(NO, { children: [e.why, e.where ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [" ", /* @__PURE__ */ (0, R.jsx)(IO, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, R.jsx)(FO, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, R.jsx)(NO, { children: e.howto }) : null,
/* @__PURE__ */ (0, R.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, R.jsx)(lk, {
type: "password",
label: n,
- placeholder: tde(e, n),
+ placeholder: rde(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -40092,7 +40093,7 @@ function rde({ row: e, readOnly: t, toast: n }) {
...G(c.isPending),
onClick: () => void b({
title: "清除来源凭据",
- body: $ue,
+ body: tde,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -40100,9 +40101,9 @@ function rde({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, R.jsx)(IO, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, R.jsx)(FO, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, R.jsx)(DO, {
+ a ? /* @__PURE__ */ (0, R.jsx)(PO, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, R.jsx)(NO, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, R.jsx)(TO, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -40110,24 +40111,24 @@ function rde({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
title: "凭据文件权限过宽",
- children: ede
+ children: nde
}) : null
]
});
}
-function ide({ row: e, readOnly: t, toast: n }) {
+function ode({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, R.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, R.jsx)(vN, { provider: e.provider })
+ children: /* @__PURE__ */ (0, R.jsx)(gN, { provider: e.provider })
}),
/* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, R.jsx)(nde, { row: e }),
+ /* @__PURE__ */ (0, R.jsx)(ide, { row: e }),
e.missing.length ? /* @__PURE__ */ (0, R.jsx)(Li, {
variant: "caption",
color: "rose",
@@ -40137,13 +40138,13 @@ function ide({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, R.jsx)(FO, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, R.jsx)(NO, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, R.jsx)(VO, {
- summary: zM(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !zM(e),
- children: /* @__PURE__ */ (0, R.jsx)(rde, {
+ children: [r, /* @__PURE__ */ (0, R.jsx)(zO, {
+ summary: LM(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !LM(e),
+ children: /* @__PURE__ */ (0, R.jsx)(ade, {
row: e,
readOnly: t,
toast: n
@@ -40151,8 +40152,8 @@ function ide({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function ade({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !zM(e));
+function sde({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !LM(e));
return r.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: Xi({
padding: "none",
@@ -40194,7 +40195,7 @@ function ade({ data: e, readOnly: t, toast: n }) {
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(ide, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(ode, {
row: e,
readOnly: t,
toast: n
@@ -40206,13 +40207,13 @@ function ade({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: Zue
+ children: $ue
}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: Que
+ children: ede
}),
- /* @__PURE__ */ (0, R.jsx)(DO, {
+ /* @__PURE__ */ (0, R.jsx)(TO, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -40230,7 +40231,7 @@ function ade({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function EN() {
+function wN() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -40243,24 +40244,24 @@ function EN() {
group: (e) => e
};
}
-function DN(e, t) {
+function TN(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function ON(e, t) {
+function EN(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: DN(n, t[e])
+ [e]: TN(n, t[e])
}));
};
}
-function kN(e) {
+function DN(e) {
return e instanceof Function;
}
-function ode(e) {
+function cde(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function sde(e, t) {
+function lde(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -40270,7 +40271,7 @@ function sde(e, t) {
};
return r(e), n;
}
-function AN(e, t, n) {
+function ON(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -40292,21 +40293,21 @@ function AN(e, t, n) {
return i;
};
}
-function jN(e, t, n, r) {
+function kN(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function cde(e, t, n, r) {
+function ude(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: AN(() => [
+ getContext: ON(() => [
e,
n,
t,
@@ -40318,13 +40319,13 @@ function cde(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), jN(e.options, "debugCells", "cell.getContext"))
+ }), kN(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function lde(e, t, n, r) {
+function dde(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -40341,17 +40342,17 @@ function lde(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: AN(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], jN(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: AN(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: ON(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], kN(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: ON(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, jN(e.options, "debugColumns", "column.getLeafColumns"))
+ }, kN(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var MN = "debugHeaders";
-function NN(e, t, n) {
+var AN = "debugHeaders";
+function jN(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -40379,42 +40380,42 @@ function NN(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var ude = { createTable: (e) => {
- e.getHeaderGroups = AN(() => [
+var fde = { createTable: (e) => {
+ e.getHeaderGroups = ON(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return PN(t, [
+ return MN(t, [
...a,
...s,
...o
], e);
- }, jN(e.options, MN, "getHeaderGroups")), e.getCenterHeaderGroups = AN(() => [
+ }, kN(e.options, AN, "getHeaderGroups")), e.getCenterHeaderGroups = ON(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), PN(t, n, e, "center")), jN(e.options, MN, "getCenterHeaderGroups")), e.getLeftHeaderGroups = AN(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), MN(t, n, e, "center")), kN(e.options, AN, "getCenterHeaderGroups")), e.getLeftHeaderGroups = ON(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => PN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), jN(e.options, MN, "getLeftHeaderGroups")), e.getRightHeaderGroups = AN(() => [
+ ], (t, n, r) => MN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), kN(e.options, AN, "getLeftHeaderGroups")), e.getRightHeaderGroups = ON(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => PN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), jN(e.options, MN, "getRightHeaderGroups")), e.getFooterGroups = AN(() => [e.getHeaderGroups()], (e) => [...e].reverse(), jN(e.options, MN, "getFooterGroups")), e.getLeftFooterGroups = AN(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), jN(e.options, MN, "getLeftFooterGroups")), e.getCenterFooterGroups = AN(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), jN(e.options, MN, "getCenterFooterGroups")), e.getRightFooterGroups = AN(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), jN(e.options, MN, "getRightFooterGroups")), e.getFlatHeaders = AN(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), jN(e.options, MN, "getFlatHeaders")), e.getLeftFlatHeaders = AN(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), jN(e.options, MN, "getLeftFlatHeaders")), e.getCenterFlatHeaders = AN(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), jN(e.options, MN, "getCenterFlatHeaders")), e.getRightFlatHeaders = AN(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), jN(e.options, MN, "getRightFlatHeaders")), e.getCenterLeafHeaders = AN(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => MN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), kN(e.options, AN, "getRightHeaderGroups")), e.getFooterGroups = ON(() => [e.getHeaderGroups()], (e) => [...e].reverse(), kN(e.options, AN, "getFooterGroups")), e.getLeftFooterGroups = ON(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), kN(e.options, AN, "getLeftFooterGroups")), e.getCenterFooterGroups = ON(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), kN(e.options, AN, "getCenterFooterGroups")), e.getRightFooterGroups = ON(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), kN(e.options, AN, "getRightFooterGroups")), e.getFlatHeaders = ON(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kN(e.options, AN, "getFlatHeaders")), e.getLeftFlatHeaders = ON(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kN(e.options, AN, "getLeftFlatHeaders")), e.getCenterFlatHeaders = ON(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kN(e.options, AN, "getCenterFlatHeaders")), e.getRightFlatHeaders = ON(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), kN(e.options, AN, "getRightFlatHeaders")), e.getCenterLeafHeaders = ON(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), jN(e.options, MN, "getCenterLeafHeaders")), e.getLeftLeafHeaders = AN(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), kN(e.options, AN, "getCenterLeafHeaders")), e.getLeftLeafHeaders = ON(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), jN(e.options, MN, "getLeftLeafHeaders")), e.getRightLeafHeaders = AN(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), kN(e.options, AN, "getLeftLeafHeaders")), e.getRightLeafHeaders = ON(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), jN(e.options, MN, "getRightLeafHeaders")), e.getLeafHeaders = AN(() => [
+ }), kN(e.options, AN, "getRightLeafHeaders")), e.getLeafHeaders = ON(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -40422,9 +40423,9 @@ var ude = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), jN(e.options, MN, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), kN(e.options, AN, "getLeafHeaders"));
} };
-function PN(e, t, n, r) {
+function MN(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -40442,7 +40443,7 @@ function PN(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = NN(n, c, {
+ let i = jN(n, c, {
id: [
r,
t,
@@ -40459,7 +40460,7 @@ function PN(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => NN(n, e, {
+ s(t.map((e, t) => jN(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -40477,7 +40478,7 @@ function PN(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var dde = (e, t, n, r, i, a, o) => {
+var pde = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -40498,7 +40499,7 @@ var dde = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => sde(s.subRows, (e) => e.subRows),
+ getLeafRows: () => lde(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -40509,95 +40510,95 @@ var dde = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: AN(() => [e.getAllLeafColumns()], (t) => t.map((t) => cde(e, s, t, t.id)), jN(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: AN(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), jN(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: ON(() => [e.getAllLeafColumns()], (t) => t.map((t) => ude(e, s, t, t.id)), kN(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: ON(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), kN(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, fde = { createColumn: (e, t) => {
+}, mde = { createColumn: (e, t) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, FN = (e, t, n) => {
+} }, NN = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-FN.autoRemove = (e) => GN(e);
-var IN = (e, t, n) => {
+NN.autoRemove = (e) => UN(e);
+var PN = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-IN.autoRemove = (e) => GN(e);
-var LN = (e, t, n) => {
+PN.autoRemove = (e) => UN(e);
+var FN = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-LN.autoRemove = (e) => GN(e);
-var RN = (e, t, n) => e.getValue(t)?.includes(n);
-RN.autoRemove = (e) => GN(e);
-var zN = (e, t, n) => !n.some((n) => {
+FN.autoRemove = (e) => UN(e);
+var IN = (e, t, n) => e.getValue(t)?.includes(n);
+IN.autoRemove = (e) => UN(e);
+var LN = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-zN.autoRemove = (e) => GN(e) || !(e != null && e.length);
-var BN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-BN.autoRemove = (e) => GN(e) || !(e != null && e.length);
-var VN = (e, t, n) => e.getValue(t) === n;
-VN.autoRemove = (e) => GN(e);
-var HN = (e, t, n) => e.getValue(t) == n;
-HN.autoRemove = (e) => GN(e);
-var UN = (e, t, n) => {
+LN.autoRemove = (e) => UN(e) || !(e != null && e.length);
+var RN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+RN.autoRemove = (e) => UN(e) || !(e != null && e.length);
+var zN = (e, t, n) => e.getValue(t) === n;
+zN.autoRemove = (e) => UN(e);
+var BN = (e, t, n) => e.getValue(t) == n;
+BN.autoRemove = (e) => UN(e);
+var VN = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-UN.resolveFilterValue = (e) => {
+VN.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, UN.autoRemove = (e) => GN(e) || GN(e[0]) && GN(e[1]);
-var WN = {
- includesString: FN,
- includesStringSensitive: IN,
- equalsString: LN,
- arrIncludes: RN,
- arrIncludesAll: zN,
- arrIncludesSome: BN,
- equals: VN,
- weakEquals: HN,
- inNumberRange: UN
+}, VN.autoRemove = (e) => UN(e) || UN(e[0]) && UN(e[1]);
+var HN = {
+ includesString: NN,
+ includesStringSensitive: PN,
+ equalsString: FN,
+ arrIncludes: IN,
+ arrIncludesAll: LN,
+ arrIncludesSome: RN,
+ equals: zN,
+ weakEquals: BN,
+ inNumberRange: VN
};
-function GN(e) {
+function UN(e) {
return e == null || e === "";
}
-var pde = {
+var hde = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: ON("columnFilters", e),
+ onColumnFiltersChange: EN("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? WN.includesString : typeof n == "number" ? WN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? WN.equals : Array.isArray(n) ? WN.arrIncludes : WN.weakEquals;
- }, e.getFilterFn = () => kN(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? WN[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? HN.includesString : typeof n == "number" ? HN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? HN.equals : Array.isArray(n) ? HN.arrIncludes : HN.weakEquals;
+ }, e.getFilterFn = () => DN(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? HN[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = DN(n, i ? i.value : void 0);
- if (KN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = TN(n, i ? i.value : void 0);
+ if (WN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -40612,19 +40613,19 @@ var pde = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => DN(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => TN(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && KN(t.getFilterFn(), e.value, t));
+ return !(t && WN(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function KN(e, t, n) {
+function WN(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var qN = {
+var GN = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -40660,7 +40661,7 @@ var qN = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!ode(n)) return;
+ if (!cde(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -40668,7 +40669,7 @@ var qN = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, mde = {
+}, gde = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -40681,7 +40682,7 @@ var qN = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: ON("grouping", e),
+ onGroupingChange: EN("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -40694,11 +40695,11 @@ var qN = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return qN.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return qN.extent;
+ if (typeof n == "number") return GN.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return GN.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return kN(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? qN[e.columnDef.aggregationFn];
+ return DN(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? GN[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -40720,27 +40721,27 @@ var qN = {
};
}
};
-function hde(e, t, n) {
+function _de(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var gde = {
+var vde = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: ON("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: EN("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = AN((e) => [$N(t, e)], (t) => t.findIndex((t) => t.id === e.id), jN(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => $N(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = $N(t, n);
+ e.getIndex = ON((e) => [ZN(t, e)], (t) => t.findIndex((t) => t.id === e.id), kN(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => ZN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = ZN(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = AN(() => [
+ }, e._getOrderColumnsFn = ON(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -40755,18 +40756,18 @@ var gde = {
}
i = [...i, ...n];
}
- return hde(i, t, n);
- }, jN(e.options, "debugTable", "_getOrderColumnsFn"));
+ return _de(i, t, n);
+ }, kN(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, JN = () => ({
+}, KN = () => ({
left: [],
right: []
-}), _de = {
+}), yde = {
getInitialState: (e) => ({
- columnPinning: JN(),
+ columnPinning: KN(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: ON("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: EN("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -40790,75 +40791,75 @@ var gde = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = AN(() => [
+ e.getCenterVisibleCells = ON(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, jN(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = AN(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, kN(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = ON(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), jN(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = AN(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), kN(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = ON(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), jN(t.options, "debugRows", "getRightVisibleCells"));
+ })), kN(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? JN() : e.initialState?.columnPinning ?? JN()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? KN() : e.initialState?.columnPinning ?? KN()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = AN(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), jN(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = AN(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), jN(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = AN(() => [
+ }, e.getLeftLeafColumns = ON(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), kN(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = ON(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), kN(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = ON(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, jN(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, kN(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function vde(e) {
+function bde(e) {
return e || (typeof document < "u" ? document : null);
}
-var YN = {
+var qN = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, XN = () => ({
+}, JN = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), yde = {
- getDefaultColumnDef: () => YN,
+}), xde = {
+ getDefaultColumnDef: () => qN,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: XN(),
+ columnSizingInfo: JN(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: ON("columnSizing", e),
- onColumnSizingInfoChange: ON("columnSizingInfo", e)
+ onColumnSizingChange: EN("columnSizing", e),
+ onColumnSizingInfoChange: EN("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? YN.minSize, n ?? e.columnDef.size ?? YN.size), e.columnDef.maxSize ?? YN.maxSize);
- }, e.getStart = AN((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? qN.minSize, n ?? e.columnDef.size ?? qN.size), e.columnDef.maxSize ?? qN.maxSize);
+ }, e.getStart = ON((e) => [
e,
- $N(t, e),
+ ZN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), jN(t.options, "debugColumns", "getStart")), e.getAfter = AN((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), kN(t.options, "debugColumns", "getStart")), e.getAfter = ON((e) => [
e,
- $N(t, e),
+ ZN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), jN(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), kN(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -40880,8 +40881,8 @@ var YN = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), QN(a) && a.touches && a.touches.length > 1)) return;
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = QN(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), XN(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = XN(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
typeof n == "number" && (t.setColumnSizingInfo((e) => {
let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
return e.columnSizingStart.forEach((e) => {
@@ -40906,7 +40907,7 @@ var YN = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = vde(n), m = {
+ }, p = bde(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -40916,8 +40917,8 @@ var YN = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = bde() ? { passive: !1 } : !1;
- QN(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = Sde() ? { passive: !1 } : !1;
+ XN(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -40933,12 +40934,12 @@ var YN = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? XN() : e.initialState.columnSizingInfo ?? XN());
+ e.setColumnSizingInfo(t ? JN() : e.initialState.columnSizingInfo ?? JN());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, ZN = null;
-function bde() {
- if (typeof ZN == "boolean") return ZN;
+}, YN = null;
+function Sde() {
+ if (typeof YN == "boolean") return YN;
let e = !1;
try {
let t = { get passive() {
@@ -40948,17 +40949,17 @@ function bde() {
} catch {
e = !1;
}
- return ZN = e, ZN;
+ return YN = e, YN;
}
-function QN(e) {
+function XN(e) {
return e.type === "touchstart";
}
-var xde = {
+var Cde = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: ON("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: EN("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -40973,7 +40974,7 @@ var xde = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = AN(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), jN(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = AN(() => [
+ e._getAllVisibleCells = ON(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), kN(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = ON(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -40981,10 +40982,10 @@ var xde = {
...e,
...t,
...n
- ], jN(t.options, "debugRows", "getVisibleCells"));
+ ], kN(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => AN(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), jN(e.options, "debugColumns", t));
+ let t = (t, n) => ON(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), kN(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -40997,20 +40998,20 @@ var xde = {
};
}
};
-function $N(e, t) {
+function ZN(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var Sde = { createTable: (e) => {
+var wde = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, Cde = {
+} }, Tde = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: ON("globalFilter", e),
+ onGlobalFilterChange: EN("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -41022,22 +41023,22 @@ var Sde = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => WN.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => HN.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return kN(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? WN[t];
+ return DN(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? HN[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, wde = {
+}, Ede = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: ON("expanded", e),
+ onExpandedChange: EN("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -41108,18 +41109,18 @@ var Sde = { createTable: (e) => {
};
};
}
-}, eP = 0, tP = 10, nP = () => ({
- pageIndex: eP,
- pageSize: tP
-}), Tde = {
+}, QN = 0, $N = 10, eP = () => ({
+ pageIndex: QN,
+ pageSize: $N
+}), Dde = {
getInitialState: (e) => ({
...e,
pagination: {
- ...nP(),
+ ...eP(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: ON("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: EN("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -41135,11 +41136,11 @@ var Sde = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => DN(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? nP() : e.initialState.pagination ?? nP());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => TN(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? eP() : e.initialState.pagination ?? eP());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = DN(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = TN(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
@@ -41147,13 +41148,13 @@ var Sde = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? eP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? eP);
+ e.setPageIndex(t ? QN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? QN);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? tP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? tP);
+ e.setPageSize(t ? $N : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? $N);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, DN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, TN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -41161,28 +41162,28 @@ var Sde = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = DN(t, e.options.pageCount ?? -1);
+ let r = TN(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = AN(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = ON(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, jN(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, kN(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
}
-}, rP = () => ({
+}, tP = () => ({
top: [],
bottom: []
-}), Ede = {
+}), Ode = {
getInitialState: (e) => ({
- rowPinning: rP(),
+ rowPinning: tP(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: ON("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: EN("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -41221,7 +41222,7 @@ var Sde = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? rP() : e.initialState?.rowPinning ?? rP()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? tP() : e.initialState?.rowPinning ?? tP()), e.getIsSomeRowsPinned = (t) => {
let n = e.getState().rowPinning;
return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -41230,22 +41231,22 @@ var Sde = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = AN(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), jN(e.options, "debugRows", "getTopRows")), e.getBottomRows = AN(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), jN(e.options, "debugRows", "getBottomRows")), e.getCenterRows = AN(() => [
+ })), e.getTopRows = ON(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), kN(e.options, "debugRows", "getTopRows")), e.getBottomRows = ON(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), kN(e.options, "debugRows", "getBottomRows")), e.getCenterRows = ON(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, jN(e.options, "debugRows", "getCenterRows"));
+ }, kN(e.options, "debugRows", "getCenterRows"));
}
-}, Dde = {
+}, kde = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: ON("rowSelection", e),
+ onRowSelectionChange: EN("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -41264,21 +41265,21 @@ var Sde = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- iP(i, t.id, r, !0, e);
+ nP(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = AN(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? aP(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = ON(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? rP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, jN(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = AN(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? aP(e, n) : {
+ }, kN(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = ON(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? rP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, jN(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = AN(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? aP(e, n) : {
+ }, kN(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = ON(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? rP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, jN(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, kN(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -41302,17 +41303,17 @@ var Sde = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return iP(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return nP(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return oP(e, n);
+ return iP(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return sP(e, n) === "some";
+ return aP(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return sP(e, n) === "all";
+ return aP(e, n) === "all";
}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
let t = e.getCanSelect();
return (n) => {
@@ -41320,16 +41321,16 @@ var Sde = { createTable: (e) => {
};
};
}
-}, iP = (e, t, n, r, i) => {
+}, nP = (e, t, n, r, i) => {
var a;
let o = i.getRow(t, !0);
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => iP(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => nP(e, t.id, n, r, i));
};
-function aP(e, t) {
+function rP(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = oP(e, n);
+ let o = iP(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -41342,32 +41343,32 @@ function aP(e, t) {
rowsById: i
};
}
-function oP(e, t) {
+function iP(e, t) {
return t[e.id] ?? !1;
}
-function sP(e, t, n) {
+function aP(e, t, n) {
var r;
if (!((r = e.subRows) != null && r.length)) return !1;
let i = !0, a = !1;
return e.subRows.forEach((e) => {
- if (!(a && !i) && (e.getCanSelect() && (oP(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = sP(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (iP(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = aP(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var cP = /([0-9]+)/gm, lP = (e, t, n) => _P(gP(e.getValue(n)).toLowerCase(), gP(t.getValue(n)).toLowerCase()), uP = (e, t, n) => _P(gP(e.getValue(n)), gP(t.getValue(n))), dP = (e, t, n) => hP(gP(e.getValue(n)).toLowerCase(), gP(t.getValue(n)).toLowerCase()), fP = (e, t, n) => hP(gP(e.getValue(n)), gP(t.getValue(n))), pP = (e, t, n) => {
+var oP = /([0-9]+)/gm, sP = (e, t, n) => hP(mP(e.getValue(n)).toLowerCase(), mP(t.getValue(n)).toLowerCase()), cP = (e, t, n) => hP(mP(e.getValue(n)), mP(t.getValue(n))), lP = (e, t, n) => pP(mP(e.getValue(n)).toLowerCase(), mP(t.getValue(n)).toLowerCase()), uP = (e, t, n) => pP(mP(e.getValue(n)), mP(t.getValue(n))), dP = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, mP = (e, t, n) => hP(e.getValue(n), t.getValue(n));
-function hP(e, t) {
+}, fP = (e, t, n) => pP(e.getValue(n), t.getValue(n));
+function pP(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function gP(e) {
+function mP(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function _P(e, t) {
- let n = e.split(cP).filter(Boolean), r = t.split(cP).filter(Boolean);
+function hP(e, t) {
+ let n = e.split(oP).filter(Boolean), r = t.split(oP).filter(Boolean);
for (; n.length && r.length;) {
let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
if (isNaN(o[0])) {
@@ -41381,22 +41382,22 @@ function _P(e, t) {
}
return n.length - r.length;
}
-var vP = {
- alphanumeric: lP,
- alphanumericCaseSensitive: uP,
- text: dP,
- textCaseSensitive: fP,
- datetime: pP,
- basic: mP
-}, yP = [
- ude,
- xde,
- gde,
- _de,
+var gP = {
+ alphanumeric: sP,
+ alphanumericCaseSensitive: cP,
+ text: lP,
+ textCaseSensitive: uP,
+ datetime: dP,
+ basic: fP
+}, _P = [
fde,
- pde,
- Sde,
Cde,
+ vde,
+ yde,
+ mde,
+ hde,
+ wde,
+ Tde,
{
getInitialState: (e) => ({
sorting: [],
@@ -41407,7 +41408,7 @@ var vP = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: ON("sorting", e),
+ onSortingChange: EN("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -41415,13 +41416,13 @@ var vP = {
let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
for (let t of n) {
let n = t?.getValue(e.id);
- if (Object.prototype.toString.call(n) === "[object Date]") return vP.datetime;
- if (typeof n == "string" && (r = !0, n.split(cP).length > 1)) return vP.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return gP.datetime;
+ if (typeof n == "string" && (r = !0, n.split(oP).length > 1)) return gP.alphanumeric;
}
- return r ? vP.text : vP.basic;
+ return r ? gP.text : gP.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return kN(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? vP[e.columnDef.sortingFn];
+ return DN(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? gP[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -41458,15 +41459,15 @@ var vP = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- mde,
- wde,
- Tde,
+ gde,
Ede,
Dde,
- yde
+ Ode,
+ kde,
+ xde
];
-function bP(e) {
- let t = [...yP, ...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 vP(e) {
+ let t = [..._P, ...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 ?? {} };
@@ -41492,7 +41493,7 @@ function bP(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = DN(e, n.options);
+ let t = TN(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -41507,7 +41508,7 @@ function bP(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: AN(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: ON(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -41518,20 +41519,20 @@ function bP(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), jN(e, "debugColumns", "_getDefaultColumnDef")),
+ }), kN(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: AN(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: ON(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = lde(n, e, i, r), o = e;
+ let a = dde(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, jN(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: AN(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), jN(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: AN(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), jN(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: AN(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), jN(e, "debugColumns", "getAllLeafColumns")),
+ }, kN(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: ON(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), kN(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: ON(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), kN(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: ON(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), kN(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -41541,8 +41542,8 @@ function bP(e) {
}
return n;
}
-function xP() {
- return (e) => AN(() => [e.options.data], (t) => {
+function yP() {
+ return (e) => ON(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -41551,7 +41552,7 @@ function xP() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = dde(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = pde(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -41560,9 +41561,9 @@ function xP() {
return o;
};
return n.rows = r(t), n;
- }, jN(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, kN(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function SP(e) {
+function bP(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -41573,8 +41574,8 @@ function SP(e) {
rowsById: e.rowsById
};
}
-function CP(e) {
- return (e) => AN(() => [
+function xP(e) {
+ return (e) => ON(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -41587,7 +41588,7 @@ function CP(e) {
rows: a,
flatRows: o,
rowsById: s
- } : SP({
+ } : bP({
rows: a,
flatRows: o,
rowsById: s
@@ -41596,32 +41597,32 @@ function CP(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, jN(e.options, "debugTable", "getPaginationRowModel"));
+ }, kN(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function wP(e, t) {
- return e ? TP(e) ? /*#__PURE__*/ L.createElement(e, t) : e : null;
+function SP(e, t) {
+ return e ? CP(e) ? /*#__PURE__*/ L.createElement(e, t) : e : null;
}
-function TP(e) {
- return EP(e) || typeof e == "function" || DP(e);
+function CP(e) {
+ return wP(e) || typeof e == "function" || TP(e);
}
-function EP(e) {
+function wP(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function DP(e) {
+function TP(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function OP(e) {
+function EP(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = L.useState(() => ({ current: bP(t) })), [r, i] = L.useState(() => n.current.initialState);
+ }, [n] = L.useState(() => ({ current: vP(t) })), [r, i] = L.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -41636,7 +41637,7 @@ function OP(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var kP = Fi({
+var DP = Fi({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -41698,8 +41699,8 @@ var kP = Fi({
}
}
});
-function AP({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = kP[t];
+function OP({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = DP[t];
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
className: Pi("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Pi("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"),
@@ -41709,12 +41710,12 @@ function AP({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function jP({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function kP({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, R.jsx)(one, {
ref: i,
...a,
className: (t) => Pi("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(AP, {
+ children: (e) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(OP, {
state: e,
size: n,
shape: r
@@ -41726,50 +41727,50 @@ function jP({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var MP = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", NP = (0, L.createContext)({});
+var AP = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", jP = (0, L.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function PP(e) {
+function MP(e) {
let t = (0, L.useRef)(null);
return t.current === null && (t.current = e()), t.current;
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
-var FP = typeof window < "u" ? L.useLayoutEffect : L.useEffect, IP = /* @__PURE__ */ (0, L.createContext)(null), LP = (0, L.createContext)({
+var NP = typeof window < "u" ? L.useLayoutEffect : L.useEffect, PP = /* @__PURE__ */ (0, L.createContext)(null), FP = (0, L.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function RP(e, t) {
+function IP(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function zP(...e) {
+function LP(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = RP(e, t);
+ let r = IP(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : RP(e[t], null);
+ typeof n == "function" ? n() : IP(e[t], null);
}
};
};
}
-function BP(...e) {
- return L.useCallback(zP(...e), e);
+function RP(...e) {
+ return L.useCallback(LP(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var VP = class extends L.Component {
+var zP = class extends L.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (rE(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = rE(e) && e.offsetWidth || 0, r = rE(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (tE(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = tE(e) && e.offsetWidth || 0, r = tE(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
}
return null;
@@ -41779,7 +41780,7 @@ var VP = class extends L.Component {
return this.props.children;
}
};
-function HP({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function BP({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, L.useId)(), s = (0, L.useRef)(null), c = (0, L.useRef)({
width: 0,
height: 0,
@@ -41788,7 +41789,7 @@ function HP({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, L.useContext)(LP), u = BP(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, L.useContext)(FP), u = RP(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, L.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -41808,7 +41809,7 @@ function HP({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
};
- }, [t]), (0, R.jsx)(VP, {
+ }, [t]), (0, R.jsx)(zP, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -41818,9 +41819,9 @@ function HP({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var UP = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = PP(WP), d = (0, L.useId)(), f = (0, L.useRef)(n), p = (0, L.useRef)(r);
- FP(() => {
+var VP = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = MP(HP), d = (0, L.useId)(), f = (0, L.useRef)(n), p = (0, L.useRef)(r);
+ NP(() => {
f.current = n, p.current = r;
});
let m = !0, h = (0, L.useMemo)(() => (m = !1, {
@@ -41845,25 +41846,25 @@ var UP = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i,
u.forEach((e, t) => u.set(t, !1));
}, [n]), L.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, R.jsx)(HP, {
+ }, [n]), e = (0, R.jsx)(BP, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
anchorY: c,
root: l,
children: e
- }), (0, R.jsx)(IP.Provider, {
+ }), (0, R.jsx)(PP.Provider, {
value: h,
children: e
});
};
-function WP() {
+function HP() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function GP(e = !0) {
- let t = (0, L.useContext)(IP);
+function UP(e = !0) {
+ let t = (0, L.useContext)(PP);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, L.useId)();
(0, L.useEffect)(() => {
@@ -41876,16 +41877,16 @@ function GP(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function KP() {
- return qP((0, L.useContext)(IP));
+function WP() {
+ return GP((0, L.useContext)(PP));
}
-function qP(e) {
+function GP(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var JP = (e) => e.key || "";
-function YP(e) {
+var KP = (e) => e.key || "";
+function qP(e) {
let t = [];
return L.Children.forEach(e, (e) => {
(0, L.isValidElement)(e) && t.push(e);
@@ -41893,12 +41894,12 @@ function YP(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var XP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = GP(o), f = (0, L.useMemo)(() => YP(e), [e]), p = o && !u ? [] : f.map(JP), m = (0, L.useRef)(!0), h = (0, L.useRef)(f), g = PP(() => /* @__PURE__ */ new Map()), _ = (0, L.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, L.useState)(f), [b, x] = (0, L.useState)(f);
- FP(() => {
+var JP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = UP(o), f = (0, L.useMemo)(() => qP(e), [e]), p = o && !u ? [] : f.map(KP), m = (0, L.useRef)(!0), h = (0, L.useRef)(f), g = MP(() => /* @__PURE__ */ new Map()), _ = (0, L.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, L.useState)(f), [b, x] = (0, L.useState)(f);
+ NP(() => {
m.current = !1, h.current = f;
for (let e = 0; e < b.length; e++) {
- let t = JP(b[e]);
+ let t = KP(b[e]);
p.includes(t) ? (g.delete(t), _.current.delete(t)) : g.get(t) !== !0 && g.set(t, !1);
}
}, [
@@ -41910,15 +41911,15 @@ var XP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
if (f !== v) {
let e = [...f];
for (let t = 0; t < b.length; t++) {
- let n = b[t], r = JP(n);
+ let n = b[t], r = KP(n);
p.includes(r) || (e.splice(t, 0, n), S.push(n));
}
- return a === "wait" && S.length && (e = S), x(YP(e)), y(f), null;
+ return a === "wait" && S.length && (e = S), x(qP(e)), y(f), null;
}
- let { forceRender: C } = (0, L.useContext)(NP);
+ let { forceRender: C } = (0, L.useContext)(jP);
return (0, R.jsx)(R.Fragment, { children: b.map((e) => {
- let v = JP(e), y = o && !u ? !1 : f === b || p.includes(v);
- return (0, R.jsx)(UP, {
+ let v = KP(e), y = o && !u ? !1 : f === b || p.includes(v);
+ return (0, R.jsx)(VP, {
isPresent: y,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -41939,7 +41940,7 @@ var XP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, v);
}) });
-}, ZP = (0, L.createContext)({ strict: !1 }), QP = {
+}, YP = (0, L.createContext)({ strict: !1 }), XP = {
animation: [
"animate",
"variants",
@@ -41976,98 +41977,98 @@ var XP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, $P = !1;
-function eF() {
- if ($P) return;
+}, ZP = !1;
+function QP() {
+ if (ZP) return;
let e = {};
- for (let t in QP) e[t] = { isEnabled: (e) => QP[t].some((t) => !!e[t]) };
- VE(e), $P = !0;
+ for (let t in XP) e[t] = { isEnabled: (e) => XP[t].some((t) => !!e[t]) };
+ zE(e), ZP = !0;
}
-function tF() {
- return eF(), bae();
+function $P() {
+ return QP(), Sae();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function nF(e) {
- let t = tF();
+function eF(e) {
+ let t = $P();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- VE(t);
+ zE(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var rF = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function iF(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || rF.has(e);
+var tF = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function nF(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || tF.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var aF = /* @__PURE__ */ Ee({ default: () => oF }), oF, sF = we((() => {
- throw oF = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), cF = (e) => !iF(e);
-function lF(e) {
- typeof e == "function" && (cF = (t) => t.startsWith("on") ? !iF(t) : e(t));
+var rF = /* @__PURE__ */ Ee({ default: () => iF }), iF, aF = we((() => {
+ throw iF = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), oF = (e) => !nF(e);
+function sF(e) {
+ typeof e == "function" && (oF = (t) => t.startsWith("on") ? !nF(t) : e(t));
}
try {
- lF((sF(), ke(aF)).default);
+ sF((aF(), ke(rF)).default);
} catch {}
-function uF(e, t, n) {
+function cF(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (RT(e[i]) || (cF(i) || n === !0 && iF(i) || !t && !iF(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (IT(e[i]) || (oF(i) || n === !0 && nF(i) || !t && !nF(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function dF({ children: e, isValidProp: t, ...n }) {
- t && lF(t);
- let r = (0, L.useContext)(LP);
+function lF({ children: e, isValidProp: t, ...n }) {
+ t && sF(t);
+ let r = (0, L.useContext)(FP);
n = {
...r,
...n
- }, n.transition = kT(n.transition, r.transition), n.isStatic = PP(() => n.isStatic);
+ }, n.transition = DT(n.transition, r.transition), n.isStatic = MP(() => n.isStatic);
let i = (0, L.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, R.jsx)(LP.Provider, {
+ return (0, R.jsx)(FP.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var fF = /* @__PURE__ */ (0, L.createContext)({});
+var uF = /* @__PURE__ */ (0, L.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function pF(e, t) {
- if (PE(e)) {
+function dF(e, t) {
+ if (ME(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || jE(t) ? t : void 0,
- animate: jE(n) ? n : void 0
+ initial: t === !1 || kE(t) ? t : void 0,
+ animate: kE(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function mF(e) {
- let { initial: t, animate: n } = pF(e, (0, L.useContext)(fF));
+function fF(e) {
+ let { initial: t, animate: n } = dF(e, (0, L.useContext)(uF));
return (0, L.useMemo)(() => ({
initial: t,
animate: n
- }), [hF(t), hF(n)]);
+ }), [pF(t), pF(n)]);
}
-function hF(e) {
+function pF(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var gF = () => ({
+var mF = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -42075,42 +42076,42 @@ var gF = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function _F(e, t, n) {
- for (let r in t) !RT(t[r]) && !fD(r, n) && (e[r] = t[r]);
+function hF(e, t, n) {
+ for (let r in t) !IT(t[r]) && !uD(r, n) && (e[r] = t[r]);
}
-function vF({ transformTemplate: e }, t) {
+function gF({ transformTemplate: e }, t) {
return (0, L.useMemo)(() => {
- let n = gF();
- return sD(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = mF();
+ return aD(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function yF(e, t) {
+function _F(e, t) {
let n = e.style || {}, r = {};
- return _F(r, n, e), Object.assign(r, vF(e, t)), r;
+ return hF(r, n, e), Object.assign(r, gF(e, t)), r;
}
-function bF(e, t) {
- let n = {}, r = yF(e, t);
+function vF(e, t) {
+ let n = {}, r = _F(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var xF = () => ({
- ...gF(),
+var yF = () => ({
+ ...mF(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function SF(e, t, n, r) {
+function bF(e, t, n, r) {
let i = (0, L.useMemo)(() => {
- let n = xF();
- return mD(n, t, gD(r), e.transformTemplate, e.style), {
+ let n = yF();
+ return fD(n, t, mD(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- _F(t, e.style, e), i.style = {
+ hF(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -42119,7 +42120,7 @@ function SF(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var CF = [
+var xF = [
"animate",
"circle",
"defs",
@@ -42148,17 +42149,17 @@ var CF = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function wF(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(CF.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function SF(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(xF.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function TF(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? wF(e) ? SF : bF)(t, r, i, e), c = uF(t, typeof e == "string", a), l = e === L.Fragment ? {} : {
+function CF(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? SF(e) ? bF : vF)(t, r, i, e), c = cF(t, typeof e == "string", a), l = e === L.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, L.useMemo)(() => RT(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, L.useMemo)(() => IT(u) ? u.get() : u, [u]);
return (0, L.createElement)(e, {
...l,
children: d
@@ -42166,24 +42167,24 @@ function TF(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function EF({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function wF({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: DF(n, r, i, e),
+ latestValues: TF(n, r, i, e),
renderState: t()
};
}
-function DF(e, t, n, r) {
+function TF(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = qD(a[e]);
- let { initial: o, animate: s } = e, c = PE(e), l = FE(e);
+ for (let e in a) i[e] = GD(a[e]);
+ let { initial: o, animate: s } = e, c = ME(e), l = NE(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !AE(d)) {
+ if (d && typeof d != "boolean" && !OE(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = PT(e, t[n]);
+ let r = MT(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -42200,19 +42201,19 @@ function DF(e, t, n, r) {
}
return i;
}
-var OF = (e) => (t, n) => {
- let r = (0, L.useContext)(fF), i = (0, L.useContext)(IP), a = () => EF(e, t, r, i);
- return n ? a() : PP(a);
-}, kF = /*@__PURE__*/ OF({
- scrapeMotionValuesFromProps: pD,
- createRenderState: gF
-}), AF = /*@__PURE__*/ OF({
- scrapeMotionValuesFromProps: _D,
- createRenderState: xF
-}), jF = Symbol.for("motionComponentSymbol");
+var EF = (e) => (t, n) => {
+ let r = (0, L.useContext)(uF), i = (0, L.useContext)(PP), a = () => wF(e, t, r, i);
+ return n ? a() : MP(a);
+}, DF = /*@__PURE__*/ EF({
+ scrapeMotionValuesFromProps: dD,
+ createRenderState: mF
+}), OF = /*@__PURE__*/ EF({
+ scrapeMotionValuesFromProps: hD,
+ createRenderState: yF
+}), kF = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Ode(e, t, n) {
+function AF(e, t, n) {
let r = (0, L.useRef)(n);
(0, L.useInsertionEffect)(() => {
r.current = n;
@@ -42231,16 +42232,16 @@ function Ode(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var MF = (0, L.createContext)({});
+var jF = (0, L.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function NF(e) {
+function MF(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function kde(e, t, n, r, i, a) {
- let { visualElement: o } = (0, L.useContext)(fF), s = (0, L.useContext)(ZP), c = (0, L.useContext)(IP), l = (0, L.useContext)(LP), u = l.reducedMotion, d = l.skipAnimations, f = (0, L.useRef)(null), p = (0, L.useRef)(!1);
+function Ade(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, L.useContext)(uF), s = (0, L.useContext)(YP), c = (0, L.useContext)(PP), l = (0, L.useContext)(FP), u = l.reducedMotion, d = l.skipAnimations, f = (0, L.useRef)(null), p = (0, L.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -42251,14 +42252,14 @@ function kde(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, L.useContext)(MF);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ade(f.current, n, i, h);
+ let m = f.current, h = (0, L.useContext)(jF);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && jde(f.current, n, i, h);
let g = (0, L.useRef)(!1);
(0, L.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[VT], v = (0, L.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return FP(() => {
+ let _ = n[zT], v = (0, L.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return NP(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, L.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
@@ -42266,12 +42267,12 @@ function kde(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function Ade(e, t, n, r) {
+function jde(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : PF(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : NF(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && NF(s),
+ alwaysMeasureLayout: !!o || s && MF(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -42281,46 +42282,46 @@ function Ade(e, t, n, r) {
layoutAnchor: u
});
}
-function PF(e) {
- if (e) return e.options.allowProjection === !1 ? PF(e.parent) : e.projection;
+function NF(e) {
+ if (e) return e.options.allowProjection === !1 ? NF(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function FF(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && nF(r);
- let a = n ? n === "svg" : wF(e), o = a ? AF : kF;
+function PF(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && eF(r);
+ let a = n ? n === "svg" : SF(e), o = a ? OF : DF;
function s(n, s) {
let c, l = {
- ...(0, L.useContext)(LP),
+ ...(0, L.useContext)(FP),
...n,
- layoutId: jde(n)
- }, { isStatic: u } = l, d = mF(n), f = o(n, u);
+ layoutId: Mde(n)
+ }, { isStatic: u } = l, d = fF(n), f = o(n, u);
if (!u && typeof window < "u") {
- Mde(l, r);
- let t = Nde(l);
- c = t.MeasureLayout, d.visualElement = kde(e, f, l, i, t.ProjectionNode, a);
+ Nde(l, r);
+ let t = Pde(l);
+ c = t.MeasureLayout, d.visualElement = Ade(e, f, l, i, t.ProjectionNode, a);
}
- return (0, R.jsxs)(fF.Provider, {
+ return (0, R.jsxs)(uF.Provider, {
value: d,
children: [c && d.visualElement ? (0, R.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, TF(e, n, Ode(f, d.visualElement, s), f, u, t, a)]
+ }) : null, CF(e, n, AF(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, L.forwardRef)(s);
- return c[jF] = e, c;
+ return c[kF] = e, c;
}
-function jde({ layoutId: e }) {
- let t = (0, L.useContext)(NP).id;
+function Mde({ layoutId: e }) {
+ let t = (0, L.useContext)(jP).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Mde(e, t) {
- (0, L.useContext)(ZP).strict;
+function Nde(e, t) {
+ (0, L.useContext)(YP).strict;
}
-function Nde(e) {
- let { drag: t, layout: n } = tF();
+function Pde(e) {
+ let { drag: t, layout: n } = $P();
if (!t && !n) return {};
let r = {
...t,
@@ -42333,20 +42334,20 @@ function Nde(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Pde(e, t) {
- if (typeof Proxy > "u") return FF;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => FF(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, FF(a, void 0, e, t)), n.get(a)) });
+function Fde(e, t) {
+ if (typeof Proxy > "u") return PF;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => PF(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, PF(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Fde = (e, t) => t.isSVG ?? wF(e) ? new Lae(t) : new jae(t, { allowProjection: e !== L.Fragment }), Ide = class extends UE {
+var Ide = (e, t) => t.isSVG ?? SF(e) ? new zae(t) : new Nae(t, { allowProjection: e !== L.Fragment }), Lde = class extends VE {
constructor(e) {
- super(e), e.animationState ||= Hae(e);
+ super(e), e.animationState ||= Wae(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- AE(e) && (this.unmountControls = e.subscribe(this.node));
+ OE(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -42358,11 +42359,11 @@ var Fde = (e, t) => t.isSVG ?? wF(e) ? new Lae(t) : new jae(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Lde = 0, Rde = {
- animation: { Feature: Ide },
- exit: { Feature: class extends UE {
+}, Rde = 0, zde = {
+ animation: { Feature: Lde },
+ exit: { Feature: class extends VE {
constructor() {
- super(...arguments), this.id = Lde++, this.isExitComplete = !1;
+ super(...arguments), this.id = Rde++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -42372,7 +42373,7 @@ var Fde = (e, t) => t.isSVG ?? wF(e) ? new Lae(t) : new jae(t, { allowProjection
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = FT(this.node, e, t);
+ let n = NT(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -42397,21 +42398,21 @@ var Fde = (e, t) => t.isSVG ?? wF(e) ? new Lae(t) : new jae(t, { allowProjection
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function IF(e) {
+function FF(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var zde = (e) => (t) => lE(t) && e(t, IF(t));
+var Bde = (e) => (t) => sE(t) && e(t, FF(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function LF(e, t, n, r) {
- return KD(e, t, zde(n), r);
+function IF(e, t, n, r) {
+ return WD(e, t, Bde(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var RF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, zF = /*#__PURE__*/ new Set(["auto", "scroll"]), BF = class {
+var LF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, RF = /*#__PURE__*/ new Set(["auto", "scroll"]), zF = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -42419,13 +42420,13 @@ var RF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, zF = /*#__P
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = VF(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = UF(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Moe(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = BF(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = HF(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Poe(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = zC;
+ let { point: r } = e, { timestamp: i } = LC;
this.history.push({
...r,
timestamp: i
@@ -42433,33 +42434,33 @@ var RF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, zF = /*#__P
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = VF(t, this.transformPagePoint), LC.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = BF(t, this.transformPagePoint), FC.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = UF(e.type === "pointercancel" ? this.lastMoveEventInfo : VF(t, this.transformPagePoint), this.history);
+ let a = HF(e.type === "pointercancel" ? this.lastMoveEventInfo : BF(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !lE(e)) return;
+ }, !sE(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = VF(IF(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = zC;
+ let s = BF(FF(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = LC;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, UF(s, this.history));
+ u && u(e, HF(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = aC(LF(this.contextWindow, "pointermove", this.handlePointerMove, d), LF(this.contextWindow, "pointerup", this.handlePointerUp, d), LF(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = rC(IF(this.contextWindow, "pointermove", this.handlePointerMove, d), IF(this.contextWindow, "pointerup", this.handlePointerUp, d), IF(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (zF.has(e.overflowX) || zF.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (RF.has(e.overflowX) || RF.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -42484,51 +42485,51 @@ var RF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, zF = /*#__P
x: r.x - t.x,
y: r.y - t.y
};
- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), LC.update(this.updatePoint, !0));
+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), FC.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), RC(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), IC(this.updatePoint);
}
};
-function VF(e, t) {
+function BF(e, t) {
return t ? { point: t(e.point) } : e;
}
-function HF(e, t) {
+function VF(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function UF({ point: e }, t) {
+function HF({ point: e }, t) {
return {
point: e,
- delta: HF(e, WF(t)),
- offset: HF(e, Bde(t)),
- velocity: Vde(t, .1)
+ delta: VF(e, UF(t)),
+ offset: VF(e, Vde(t)),
+ velocity: Hde(t, .1)
};
}
-function Bde(e) {
+function Vde(e) {
return e[0];
}
-function WF(e) {
+function UF(e) {
return e[e.length - 1];
}
-function Vde(e, t) {
+function Hde(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = WF(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ cC(t)));) n--;
+ let n = e.length - 1, r = null, i = UF(e);
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ oC(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ cC(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ lC(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ oC(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ sC(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -42541,86 +42542,86 @@ function Vde(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function Hde(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? yw(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? yw(n, e, r.max) : Math.min(e, n)), e;
+function Ude(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? _w(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? _w(n, e, r.max) : Math.min(e, n)), e;
}
-function GF(e, t, n) {
+function WF(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Ude(e, { top: t, left: n, bottom: r, right: i }) {
+function Wde(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: GF(e.x, n, i),
- y: GF(e.y, t, r)
+ x: WF(e.x, n, i),
+ y: WF(e.y, t, r)
};
}
-function KF(e, t) {
+function GF(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function Wde(e, t) {
+function Gde(e, t) {
return {
- x: KF(e.x, t.x),
- y: KF(e.y, t.y)
+ x: GF(e.x, t.x),
+ y: GF(e.y, t.y)
};
}
-function Gde(e, t) {
- let n = .5, r = TD(e), i = TD(t);
- return i > r ? n = /* @__PURE__ */ oC(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ oC(e.min, e.max - i, t.min)), QS(0, 1, n);
-}
function Kde(e, t) {
+ let n = .5, r = CD(e), i = CD(t);
+ return i > r ? n = /* @__PURE__ */ iC(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ iC(e.min, e.max - i, t.min)), XS(0, 1, n);
+}
+function qde(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var qF = .35;
-function qde(e = qF) {
- return e === !1 ? e = 0 : e === !0 && (e = qF), {
- x: JF(e, "left", "right"),
- y: JF(e, "top", "bottom")
+var KF = .35;
+function Jde(e = KF) {
+ return e === !1 ? e = 0 : e === !0 && (e = KF), {
+ x: qF(e, "left", "right"),
+ y: qF(e, "top", "bottom")
};
}
-function JF(e, t, n) {
+function qF(e, t, n) {
return {
- min: YF(e, t),
- max: YF(e, n)
+ min: JF(e, t),
+ max: JF(e, n)
};
}
-function YF(e, t) {
+function JF(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
+var Yde = /* @__PURE__ */ new WeakMap(), Xde = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = kE(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = DE(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
if (r && r.isPresent === !1) return;
let i = (e) => {
- t && this.snapToCursor(IF(e).point), this.stopAnimation();
+ t && this.snapToCursor(FF(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Yie(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), VD((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Zie(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), zD((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (ow.test(t)) {
+ if (iw.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = TD(r) * (parseFloat(t) / 100));
+ r && (t = CD(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && LC.update(() => i(e, t), !1, !0), zT(this.visualElement, "transform");
+ }), i && FC.update(() => i(e, t), !1, !0), LT(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -42629,10 +42630,10 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Zde(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = Qde(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && LC.update(() => a(e, t), !1, !0);
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && FC.update(() => a(e, t), !1, !0);
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -42642,7 +42643,7 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new BF(e, {
+ this.panSession = new zF(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -42652,7 +42653,7 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: RF(this.visualElement),
+ contextWindow: LF(this.visualElement),
element: this.visualElement.current
});
}
@@ -42662,7 +42663,7 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && LC.postRender(() => o(n, r));
+ o && FC.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -42676,32 +42677,32 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !ZF(e, r, this.currentDirection)) return;
+ if (!n || !XF(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Hde(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = Ude(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && NF(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Ude(n.layoutBox, e) : !1, this.elastic = qde(t), r !== this.constraints && !NF(e) && n && this.constraints && !this.hasMutatedConstraints && VD((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Kde(n.layoutBox[e], this.constraints[e]));
+ e && MF(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Wde(n.layoutBox, e) : !1, this.elastic = Jde(t), r !== this.constraints && !MF(e) && n && this.constraints && !this.hasMutatedConstraints && zD((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = qde(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !NF(e)) return !1;
+ if (!e || !MF(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = Tae(n, r.root, this.visualElement.getTransformPagePoint()), a = Wde(r.layout.layoutBox, i);
+ let i = Dae(n, r.root, this.visualElement.getTransformPagePoint()), a = Gde(r.layout.layoutBox, i);
if (t) {
- let e = t(Sae(a));
- this.hasMutatedConstraints = !!e, e && (a = WE(e));
+ let e = t(wae(a));
+ this.hasMutatedConstraints = !!e, e && (a = HE(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = VD((o) => {
- if (!ZF(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = zD((o) => {
+ if (!XF(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -42724,65 +42725,65 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return zT(this.visualElement, e), n.start(jT(e, n, 0, t, this.visualElement, !1));
+ return LT(this.visualElement, e), n.start(kT(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- VD((e) => this.getAxisMotionValue(e).stop());
+ zD((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- VD((t) => {
+ zD((t) => {
let { drag: n } = this.getProps();
- if (!ZF(t, n, this.currentDirection)) return;
+ if (!XF(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - yw(n, a, .5) + o);
+ i.set(e[t] - _w(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!NF(t) || !n || !this.constraints) return;
+ if (!MF(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- VD((e) => {
+ zD((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = Gde({
+ r[e] = Kde({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), VD((t) => {
- if (!ZF(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), zD((t) => {
+ if (!XF(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set(yw(i, a, r[t]));
+ n.set(_w(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Jde.set(this.visualElement, this);
- let e = this.visualElement.current, t = LF(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && tae(i);
+ Yde.set(this.visualElement, this);
+ let e = this.visualElement.current, t = IF(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && rae(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- NF(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Xde(e, t.current, () => this.scalePositionWithinConstraints()));
+ MF(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Zde(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), LC.read(r);
- let o = KD(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (VD((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), FC.read(r);
+ let o = WD(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (zD((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -42792,7 +42793,7 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = qF, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = KF, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -42804,7 +42805,7 @@ var Jde = /* @__PURE__ */ new WeakMap(), Yde = class {
};
}
};
-function XF(e) {
+function YF(e) {
let t = !0;
return () => {
if (t) {
@@ -42814,28 +42815,28 @@ function XF(e) {
e();
};
}
-function Xde(e, t, n) {
- let r = SE(e, XF(n)), i = SE(t, XF(n));
+function Zde(e, t, n) {
+ let r = bE(e, YF(n)), i = bE(t, YF(n));
return () => {
r(), i();
};
}
-function ZF(e, t, n) {
+function XF(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Zde(e, t = 10) {
+function Qde(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var Qde = class extends UE {
+var $de = class extends VE {
constructor(e) {
- super(e), this.removeGroupControls = iC, this.removeListeners = iC, this.controls = new Yde(e);
+ super(e), this.removeGroupControls = nC, this.removeListeners = nC, this.controls = new Xde(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || iC;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || nC;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -42844,31 +42845,31 @@ var Qde = class extends UE {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, QF = (e) => (t, n) => {
- e && LC.update(() => e(t, n), !1, !0);
-}, $de = class extends UE {
+}, ZF = (e) => (t, n) => {
+ e && FC.update(() => e(t, n), !1, !0);
+}, efe = class extends VE {
constructor() {
- super(...arguments), this.removePointerDownListener = iC;
+ super(...arguments), this.removePointerDownListener = nC;
}
onPointerDown(e) {
- this.session = new BF(e, this.createPanHandlers(), {
+ this.session = new zF(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: RF(this.node)
+ contextWindow: LF(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: QF(e),
- onStart: QF(t),
- onMove: QF(n),
+ onSessionStart: ZF(e),
+ onStart: ZF(t),
+ onMove: ZF(n),
onEnd: (e, t) => {
- delete this.session, r && LC.postRender(() => r(e, t));
+ delete this.session, r && FC.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = LF(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = IF(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -42876,36 +42877,36 @@ var Qde = class extends UE {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, $F = !1, efe = class extends L.Component {
+}, QF = !1, tfe = class extends L.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), $F && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), QF && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), JD.hasEverUpdated = !0;
+ })), KD.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), $F = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || LC.postRender(() => {
+ }), QF = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || FC.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), iE.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), nE.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- $F = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ QF = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -42915,41 +42916,41 @@ var Qde = class extends UE {
return null;
}
};
-function eI(e) {
- let [t, n] = GP(), r = (0, L.useContext)(NP);
- return (0, R.jsx)(efe, {
+function $F(e) {
+ let [t, n] = UP(), r = (0, L.useContext)(jP);
+ return (0, R.jsx)(tfe, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, L.useContext)(MF),
+ switchLayoutGroup: (0, L.useContext)(jF),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var tfe = {
- pan: { Feature: $de },
+var nfe = {
+ pan: { Feature: efe },
drag: {
- Feature: Qde,
- ProjectionNode: uO,
- MeasureLayout: eI
+ Feature: $de,
+ ProjectionNode: cO,
+ MeasureLayout: $F
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function tI(e, t, n) {
+function eI(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && LC.postRender(() => i(t, IF(t)));
+ i && FC.postRender(() => i(t, FF(t)));
}
-var nfe = class extends UE {
+var rfe = class extends VE {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Zie(e, (e, t) => (tI(this.node, t, "Start"), (e) => tI(this.node, e, "End"))));
+ e && (this.unmount = $ie(e, (e, t) => (eI(this.node, t, "Start"), (e) => eI(this.node, e, "End"))));
}
unmount() {}
-}, rfe = class extends UE {
+}, ife = class extends VE {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -42966,57 +42967,57 @@ var nfe = class extends UE {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = aC(KD(this.node.current, "focus", () => this.onFocus()), KD(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = rC(WD(this.node.current, "focus", () => this.onFocus()), WD(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function nI(e, t, n) {
+function tI(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && LC.postRender(() => i(t, IF(t)));
+ i && FC.postRender(() => i(t, FF(t)));
}
-var ife = class extends UE {
+var afe = class extends VE {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = rae(e, (e, t) => (nI(this.node, t, "Start"), (e, { success: t }) => nI(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = aae(e, (e, t) => (tI(this.node, t, "Start"), (e, { success: t }) => tI(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, rI = /* @__PURE__ */ new WeakMap(), iI = /* @__PURE__ */ new WeakMap(), afe = (e) => {
- let t = rI.get(e.target);
+}, nI = /* @__PURE__ */ new WeakMap(), rI = /* @__PURE__ */ new WeakMap(), ofe = (e) => {
+ let t = nI.get(e.target);
t && t(e);
-}, ofe = (e) => {
- e.forEach(afe);
+}, sfe = (e) => {
+ e.forEach(ofe);
};
-function sfe({ root: e, ...t }) {
+function cfe({ root: e, ...t }) {
let n = e || document;
- iI.has(n) || iI.set(n, {});
- let r = iI.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(ofe, {
+ rI.has(n) || rI.set(n, {});
+ let r = rI.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(sfe, {
root: e,
...t
})), r[i];
}
-function cfe(e, t, n) {
- let r = sfe(t);
- return rI.set(e, n), r.observe(e), () => {
- rI.delete(e), r.unobserve(e);
+function lfe(e, t, n) {
+ let r = cfe(t);
+ return nI.set(e, n), r.observe(e), () => {
+ nI.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var lfe = {
+var ufe = {
some: 0,
all: 1
-}, ufe = class extends UE {
+}, dfe = class extends VE {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -43025,7 +43026,7 @@ var lfe = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : lfe[r]
+ threshold: typeof r == "number" ? r : ufe[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -43033,7 +43034,7 @@ var lfe = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = cfe(this.node.current, a, o);
+ this.stopObserver = lfe(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -43045,34 +43046,34 @@ var lfe = {
"amount",
"margin",
"root"
- ].some(dfe(e, t)) && this.startObserver();
+ ].some(ffe(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function dfe({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function ffe({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var ffe = {
- inView: { Feature: ufe },
- tap: { Feature: ife },
- focus: { Feature: rfe },
- hover: { Feature: nfe }
-}, pfe = { layout: {
- ProjectionNode: uO,
- MeasureLayout: eI
-} }, mfe = /*@__PURE__*/ Pde({
- ...Rde,
- ...ffe,
- ...tfe,
- ...pfe
-}, Fde);
+var pfe = {
+ inView: { Feature: dfe },
+ tap: { Feature: afe },
+ focus: { Feature: ife },
+ hover: { Feature: rfe }
+}, mfe = { layout: {
+ ProjectionNode: cO,
+ MeasureLayout: $F
+} }, hfe = /*@__PURE__*/ Fde({
+ ...zde,
+ ...pfe,
+ ...nfe,
+ ...mfe
+}, Ide);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function aI(e, t, n) {
+function iI(e, t, n) {
(0, L.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -43081,8 +43082,8 @@ function aI(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function oI(e) {
- let t = PP(() => OT(e)), { isStatic: n } = (0, L.useContext)(LP);
+function aI(e) {
+ let t = MP(() => ET(e)), { isStatic: n } = (0, L.useContext)(FP);
if (n) {
let [, n] = (0, L.useState)(e);
(0, L.useEffect)(() => t.on("change", n), []);
@@ -43091,28 +43092,28 @@ function oI(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function sI(e, t) {
- let n = oI(t()), r = () => n.set(t());
- return r(), FP(() => {
- let t = () => LC.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+function oI(e, t) {
+ let n = aI(t()), r = () => n.set(t());
+ return r(), NP(() => {
+ let t = () => FC.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), RC(r);
+ n.forEach((e) => e()), IC(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function hfe(e) {
- DT.current = [], e();
- let t = sI(DT.current, e);
- return DT.current = void 0, t;
+function gfe(e) {
+ TT.current = [], e();
+ let t = oI(TT.current, e);
+ return TT.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function cI(e, t, n, r) {
- if (typeof e == "function") return hfe(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return gfe(e, t, n, r);
- let i = typeof t == "function" ? t : pae(t, n, r), a = Array.isArray(e) ? lI(e, i) : lI([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function sI(e, t, n, r) {
+ if (typeof e == "function") return gfe(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return _fe(e, t, n, r);
+ let i = typeof t == "function" ? t : hae(t, n, r), a = Array.isArray(e) ? cI(e, i) : cI([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -43121,55 +43122,55 @@ function cI(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function lI(e, t) {
- let n = PP(() => []);
- return sI(e, () => {
+function cI(e, t) {
+ let n = MP(() => []);
+ return oI(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function gfe(e, t, n, r) {
- let i = PP(() => Object.keys(n)), a = PP(() => ({}));
- for (let o of i) a[o] = cI(e, t, n[o], r);
+function _fe(e, t, n, r) {
+ let i = MP(() => Object.keys(n)), a = MP(() => ({}));
+ for (let o of i) a[o] = sI(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function _fe(e, t = {}) {
- let { isStatic: n } = (0, L.useContext)(LP), r = () => RT(e) ? e.get() : e;
- if (n) return cI(r);
- let i = oI(r());
- return (0, L.useInsertionEffect)(() => mae(i, e, t), [i, JSON.stringify(t)]), i;
+function vfe(e, t = {}) {
+ let { isStatic: n } = (0, L.useContext)(FP), r = () => IT(e) ? e.get() : e;
+ if (n) return sI(r);
+ let i = aI(r());
+ return (0, L.useInsertionEffect)(() => gae(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function uI(e, t = {}) {
- return _fe(e, {
+function lI(e, t = {}) {
+ return vfe(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function vfe() {
- !LE.current && RE();
- let [e] = (0, L.useState)(IE.current);
+function yfe() {
+ !FE.current && IE();
+ let [e] = (0, L.useState)(PE.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var dI = mfe, fI = "(prefers-reduced-motion: reduce)", yfe = () => matchMedia(fI).matches, bfe = (e) => {
- let t = matchMedia(fI);
+var uI = hfe, dI = "(prefers-reduced-motion: reduce)", bfe = () => matchMedia(dI).matches, xfe = (e) => {
+ let t = matchMedia(dI);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function xfe({ children: e, count: t, label: n }) {
- let r = KP(), i = (0, L.useSyncExternalStore)(bfe, yfe, () => !1), { isFocusVisible: a } = vf(), o = i || a, s = {
+function Sfe({ children: e, count: t, label: n }) {
+ let r = WP(), i = (0, L.useSyncExternalStore)(xfe, bfe, () => !1), { isFocusVisible: a } = vf(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, R.jsxs)(dI.div, {
+ return /* @__PURE__ */ (0, R.jsxs)(uI.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -43201,13 +43202,13 @@ function xfe({ children: e, count: t, label: n }) {
}), e]
});
}
-function pI({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, R.jsx)(XP, { children: e ? /* @__PURE__ */ (0, R.jsx)(xfe, { ...t }, "selection") : null });
+function fI({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, R.jsx)(JP, { children: e ? /* @__PURE__ */ (0, R.jsx)(Sfe, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var Sfe = "输入女优名,到 JavDB 找她的演员页";
-function Cfe(e, t) {
+var Cfe = "输入女优名,到 JavDB 找她的演员页";
+function wfe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -43226,10 +43227,10 @@ function Cfe(e, t) {
blocked: !1
};
}
-function wfe({ card: e, picked: t, onPick: n }) {
+function Tfe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)($O, {
+ children: [/* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -43250,16 +43251,16 @@ function wfe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, R.jsx)(RO, {
+ }), /* @__PURE__ */ (0, R.jsx)(IO, {
href: e.url,
children: e.id
})]
});
}
-function Tfe({ readOnly: e, toast: t, onAdded: n }) {
+function Efe({ readOnly: e, toast: t, onAdded: n }) {
let [r, i] = (0, L.useState)(""), [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), l = ia(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => Xle(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => Qle(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -43267,10 +43268,10 @@ function Tfe({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => Zle(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => $le(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? Cfe(a, s) : null;
+ }, m = a ? wfe(a, s) : null;
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: Xi({
padding: "none",
@@ -43285,9 +43286,9 @@ function Tfe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: /* @__PURE__ */ (0, R.jsx)(lk, {
"aria-label": "女优名",
- placeholder: Sfe,
+ placeholder: Cfe,
value: r,
leadingIcon: ht,
isDisabled: e,
@@ -43310,16 +43311,16 @@ function Tfe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, R.jsx)(wfe, {
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, R.jsx)(Tfe, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, R.jsx)(FO, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, R.jsx)(FO, {
+ }, e.id)) : /* @__PURE__ */ (0, R.jsx)(NO, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, R.jsx)(NO, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -43346,19 +43347,19 @@ function Tfe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Efe = Object.fromEntries(Object.entries(uM).map(([e, t]) => [t, e])), mI = 740;
-function Dfe() {
+var Dfe = Object.fromEntries(Object.entries(cM).map(([e, t]) => [t, e])), pI = 740;
+function Ofe() {
let [e, t] = (0, L.useState)(!1), n = (0, L.useRef)(null), r = (0, L.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < mI));
- r.observe(e), n.current = r, t(e.clientWidth < mI);
+ let r = new ResizeObserver(() => t(e.clientWidth < pI));
+ r.observe(e), n.current = r, t(e.clientWidth < pI);
}, []);
return (0, L.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var Ofe = {
+var kfe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -43367,7 +43368,7 @@ var Ofe = {
checked: "上次检查",
actions: "操作"
};
-function hI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function mI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, R.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -43404,22 +43405,22 @@ function hI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function kfe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function Afe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- tk(e, e.currentTarget) && n(!t);
+ $O(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, R.jsx)($O, {
+ /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, R.jsx)(xN, { source: e }), e.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
+ children: [/* @__PURE__ */ (0, R.jsx)(yN, { source: e }), e.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -43427,17 +43428,17 @@ function kfe({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, R.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, R.jsx)(vN, {
+ children: /* @__PURE__ */ (0, R.jsx)(gN, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, R.jsx)(bN, { source: e }),
+ /* @__PURE__ */ (0, R.jsx)(vN, { source: e }),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: LM(e)
+ children: FM(e)
}),
- /* @__PURE__ */ (0, R.jsx)(jP, {
+ /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -43467,8 +43468,8 @@ function kfe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function Afe({ 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(fM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = SM(r, c);
+function jfe({ 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(uM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = bM(r, c);
return /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
className: Xi({
@@ -43481,7 +43482,7 @@ function Afe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, R.jsx)(yN, {
+ /* @__PURE__ */ (0, R.jsx)(_N, {
group: e,
name: t
}),
@@ -43502,7 +43503,7 @@ function Afe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, R.jsx)(vN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, R.jsx)(Oh, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, R.jsx)(gN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, R.jsx)(Oh, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -43532,7 +43533,7 @@ function Afe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(kfe, {
+ children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(Afe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -43541,37 +43542,37 @@ function Afe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function jfe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, L.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), [C, w] = Dfe(), [T, E] = (0, L.useState)(""), D = (0, L.useMemo)(() => Rle(_, n, r, v), [
+function Mfe(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, L.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), [C, w] = Ofe(), [T, E] = (0, L.useState)(""), D = (0, L.useMemo)(() => Ble(_, n, r, v), [
_,
n,
r,
v
- ]), O = (0, L.useMemo)(() => zle(D, n, r, v), [
+ ]), O = (0, L.useMemo)(() => Vle(D, n, r, v), [
D,
n,
r,
v
- ]), { job: k, running: A, outcome: j, start: M } = YO({
- queryKey: kle,
- queryFn: ({ signal: e }) => Vle(e),
- start: (e) => EM(e),
+ ]), { job: k, running: A, outcome: j, start: M } = qO({
+ queryKey: jle,
+ queryFn: ({ signal: e }) => Ule(e),
+ start: (e) => wM(e),
onError: (e) => E(H(e)),
onFinish: (e) => {
- IM(), h(e.status === "failed" ? e.error || "检查失败" : $le(e));
+ PM(), h(e.status === "failed" ? e.error || "检查失败" : tue(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, ee = (e, t) => m(CM(s, [e], t)), te = (e, t) => m(CM(s, e, t)), P = Qn({
- mutationFn: (e) => OM(e),
+ }, ee = (e, t) => m(xM(s, [e], t)), te = (e, t) => m(xM(s, e, t)), P = Qn({
+ mutationFn: (e) => EM(e),
onSuccess: (e, t) => {
- FM([t]), m(CM(s, [t], !1)), h("已取消关注来源");
+ NM([t]), m(xM(s, [t], !1)), h("已取消关注来源");
},
onError: (e) => E(H(e))
}), F = Qn({
- mutationFn: (e) => DM(e.id, e.enabled),
+ mutationFn: (e) => TM(e.id, e.enabled),
onSuccess: (e, t) => {
- PM(t.id, { enabled: t.enabled }), E("");
+ MM(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(H(e))
}), ne = (e) => void b({
@@ -43583,7 +43584,7 @@ function jfe(e) {
}), re = Qn({
mutationFn: async (e) => {
let t = await d(e.ids, 4, async (t) => {
- e.action === "remove" ? await OM(t) : await DM(t, e.action === "enabled");
+ e.action === "remove" ? await EM(t) : await TM(t, e.action === "enabled");
});
return {
...e,
@@ -43592,9 +43593,9 @@ function jfe(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") FM(e.done);
- else for (let t of e.done) PM(t, { enabled: e.action === "enabled" });
- m(CM(s, e.done, !1));
+ if (e.action === "remove") NM(e.done);
+ else for (let t of e.done) MM(t, { enabled: e.action === "enabled" });
+ m(xM(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${H(t[0]?.error)}`);
@@ -43607,18 +43608,18 @@ function jfe(e) {
onError: (e) => E(H(e))
}), ie = Qn({
mutationFn: async (e) => {
- let t = ((await Yle()).groups || []).flatMap((e) => [
+ let t = ((await Zle()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await d(t, 6, (t) => Jle(t, e))).filter((e) => !e.ok)
+ failed: (await d(t, 6, (t) => Xle(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (IM(), e.failed.length) {
+ if (PM(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -43643,12 +43644,12 @@ function jfe(e) {
readOnly: c
};
let se = oe.current, ce = (0, L.useMemo)(() => {
- let e = EN(), t = (e) => () => Ofe[e] || e;
+ let e = wN(), t = (e) => () => kfe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)($O, {
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(ZO, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -43660,7 +43661,7 @@ function jfe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(yN, {
+ children: [/* @__PURE__ */ (0, R.jsx)(_N, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, R.jsx)("span", {
@@ -43674,7 +43675,7 @@ function jfe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, R.jsx)(xN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
+ children: [/* @__PURE__ */ (0, R.jsx)(yN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -43685,18 +43686,18 @@ function jfe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(vN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, R.jsx)(gN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)(bN, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(vN, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => LM(e.row.original.source)
+ cell: (e) => FM(e.row.original.source)
}),
e.display({
id: "actions",
@@ -43704,7 +43705,7 @@ function jfe(e) {
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, R.jsx)(jP, {
+ /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -43734,12 +43735,12 @@ function jfe(e) {
})
];
}, [se]), le = (0, L.useMemo)(() => {
- let e = Efe[n];
+ let e = Dfe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, L.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", I = xM(de ? O.length : D.length, o, i), fe = OP({
+ }, [n, r]), ue = (0, L.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", I = yM(de ? O.length : D.length, o, i), fe = EP({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -43756,7 +43757,7 @@ function jfe(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = uM[t.id];
+ let n = cM[t.id];
n && l(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -43770,9 +43771,9 @@ function jfe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: xP(),
- getPaginationRowModel: CP()
- }), pe = fe.getRowModel().rows, me = de ? pe.map((e) => e.original.source.id) : D.slice(I.start, I.end).flatMap((e) => e.map((e) => e.id)), he = SM(s, me), ge = [...s], _e = eue(j), ve = tue(j), ye = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: yP(),
+ getPaginationRowModel: xP()
+ }), pe = fe.getRowModel().rows, me = de ? pe.map((e) => e.original.source.id) : D.slice(I.start, I.end).flatMap((e) => e.map((e) => e.id)), he = bM(s, me), ge = [...s], _e = nue(j), ve = rue(j), ye = D.length > 0 && x.size >= D.length;
return _.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: Xi({
padding: "none",
@@ -43809,27 +43810,27 @@ function jfe(e) {
variant: "ghost",
iconOnly: !0,
leadingIcon: ut,
- "aria-label": cM[0][1],
+ "aria-label": oM[0][1],
"aria-pressed": !de,
onClick: () => f("default")
}), /* @__PURE__ */ (0, R.jsx)(V, {
variant: "ghost",
iconOnly: !0,
leadingIcon: gt,
- "aria-label": cM[1][1],
+ "aria-label": oM[1][1],
"aria-pressed": de,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, R.jsx)(KO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- l(t, Yj[t]);
+ l(t, qj[t]);
},
- children: Jj.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: Kj.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: t
}, e))
@@ -43838,7 +43839,7 @@ function jfe(e) {
variant: "secondary",
iconOnly: !0,
leadingIcon: r === "asc" ? Ge : Ve,
- "aria-label": Ile(n, r),
+ "aria-label": Rle(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
de ? null : /* @__PURE__ */ (0, R.jsx)(V, {
@@ -43855,7 +43856,7 @@ function jfe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, R.jsx)(OO, {
+ A ? /* @__PURE__ */ (0, R.jsx)(EO, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -43881,7 +43882,7 @@ function jfe(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(pI, {
+ /* @__PURE__ */ (0, R.jsxs)(fI, {
label: "关注来源批量操作",
visible: ge.length > 0,
count: `已选 ${ge.length} 个来源`,
@@ -43941,10 +43942,10 @@ function jfe(e) {
})
]
}),
- de ? /* @__PURE__ */ (0, R.jsx)(nk, {
+ de ? /* @__PURE__ */ (0, R.jsx)(ek, {
follow: !0,
onRowClick: (e) => ee(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, R.jsxs)(ek, {
+ children: /* @__PURE__ */ (0, R.jsxs)(QO, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -43956,7 +43957,7 @@ function jfe(e) {
desc: e.direction === "descending"
}]),
children: [/* @__PURE__ */ (0, R.jsx)(xS, { children: fe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in uM, n = wP(e.column.columnDef.header, e.getContext());
+ let t = e.column.id in cM, n = SP(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, R.jsx)(SS, {
id: e.id,
allowsSorting: t,
@@ -43966,7 +43967,7 @@ function jfe(e) {
children: [n, /* @__PURE__ */ (0, R.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, R.jsx)(nse, {})
+ children: /* @__PURE__ */ (0, R.jsx)(ise, {})
})]
}) : /* @__PURE__ */ (0, R.jsx)(Oh, { children: n })
}, e.id);
@@ -43975,11 +43976,11 @@ function jfe(e) {
children: pe.map((e) => /* @__PURE__ */ (0, R.jsx)(DS, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(kS, { children: wP(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(kS, { children: SP(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)($O, {
+ }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: he.all,
isIndeterminate: he.some,
onChange: (e) => te(me, e),
@@ -43989,9 +43990,9 @@ function jfe(e) {
className: "flex flex-col gap-3",
children: D.slice(I.start, I.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, R.jsx)(Afe, {
+ return /* @__PURE__ */ (0, R.jsx)(jfe, {
group: e,
- name: _M(e, v),
+ name: hM(e, v),
handlers: se,
selected: s,
open: !x.has(t),
@@ -44011,19 +44012,19 @@ function jfe(e) {
className: "text-body-2-regular text-text-secondary",
children: `${I.start + 1}–${I.end} / ${I.total} ${de ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, R.jsx)(KO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && fe.setPageSize(Number(e));
},
- children: lM.map((e) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: sM.map((e) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: String(e),
children: `每页 ${e} ${de ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(hI, {
+ /* @__PURE__ */ (0, R.jsx)(mI, {
page: I.page,
pages: I.pages,
onPage: (e) => fe.setPageIndex(e - 1)
@@ -44087,7 +44088,7 @@ function jfe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var Mfe = {
+var Nfe = {
select: "选择",
name: "名称",
kind: "类型",
@@ -44097,18 +44098,18 @@ var Mfe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, Nfe = /* @__PURE__ */ new Set(["select", "actions"]), gI = () => K.invalidateQueries({
- queryKey: sM,
+}, Pfe = /* @__PURE__ */ new Set(["select", "actions"]), hI = () => K.invalidateQueries({
+ queryKey: aM,
exact: !0
-}), _I = (e) => e.name || e.url, Pfe = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function Ffe(e) {
+}), gI = (e) => e.name || e.url, Ffe = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function Ife(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function Ife({ source: e }) {
+function Lfe({ source: e }) {
return e.last_error ? /* @__PURE__ */ (0, R.jsx)(Li, {
variant: "caption",
color: "rose",
@@ -44123,7 +44124,7 @@ function Ife({ source: e }) {
children: "已暂停"
});
}
-function Lfe({ source: e, avatarInner: t }) {
+function Rfe({ source: e, avatarInner: t }) {
let n = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -44131,31 +44132,31 @@ function Lfe({ source: e, avatarInner: t }) {
} : null;
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${MP}`,
- dangerouslySetInnerHTML: { __html: t(_I(e), n, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${AP}`,
+ dangerouslySetInnerHTML: { __html: t(gI(e), n, null, "performer") }
});
}
-var Rfe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function zfe(e) {
+var zfe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function Bfe(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function vI(e, t) {
+function _I(e, t) {
let n = e.length === 1 ? e[0] : null;
return b({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${_I(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${gI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
+function Vfe({ readOnly: e, toast: t, avatarInner: n }) {
let r = Zn({
- queryKey: sM,
- queryFn: ({ signal: e }) => AM(e)
- }), i = ia(), a = r.data, o = (0, L.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, L.useState)(1), [f, p] = (0, L.useState)(20), m = xM(o.length, f, l);
+ queryKey: aM,
+ queryFn: ({ signal: e }) => OM(e)
+ }), i = ia(), a = r.data, o = (0, L.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, L.useState)(1), [f, p] = (0, L.useState)(20), m = yM(o.length, f, l);
(0, L.useEffect)(() => {
u((e) => Math.min(e, m.pages));
}, [m.pages]), (0, L.useEffect)(() => {
@@ -44167,7 +44168,7 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
let h = Qn({
mutationFn: async (e) => {
let t = await d(e.ids, 4, async (t) => {
- e.action === "remove" ? await MM(t) : await jM(t, e.action === "enabled");
+ e.action === "remove" ? await AM(t) : await kM(t, e.action === "enabled");
});
return {
...e,
@@ -44176,13 +44177,13 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (c(/* @__PURE__ */ new Set()), gI(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ if (c(/* @__PURE__ */ new Set()), hI(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
let e = n[0];
i.setError(`${n.length} 条没有写入:${e.ok ? "" : H(e.error)}`);
}
},
onError: (e) => i.setError(H(e))
- }), g = (0, L.useMemo)(() => zfe(o), [o]), _ = (0, L.useRef)({
+ }), g = (0, L.useMemo)(() => Bfe(o), [o]), _ = (0, L.useRef)({
readOnly: e,
avatarInner: n,
shared: g,
@@ -44196,34 +44197,34 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
avatarInner: n,
shared: g,
busy: i.busy,
- toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => jM(e.id, t, n), () => void gI()),
- fetch: (e) => void i.run(`check-${e.id}`, (t) => NM(t, [e.id]), () => void gI()),
- remove: (e) => void vI([e], async () => {
- await MM(e.id), t(`已移除订阅源「${_I(e)}」`), gI();
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => kM(e.id, t, n), () => void hI()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => jM(t, [e.id]), () => void hI()),
+ remove: (e) => void _I([e], async () => {
+ await AM(e.id), t(`已移除订阅源「${gI(e)}」`), hI();
})
};
let v = (0, L.useMemo)(() => {
- let e = EN(), t = (e) => () => Mfe[e] || e;
+ let e = wN(), t = (e) => () => Nfe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)($O, {
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(ZO, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${_I(e.row.original)}`
+ "aria-label": `选择 ${gI(e.row.original)}`
})
}),
- e.accessor(_I, {
+ e.accessor(gI, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Rfe(e.row.original, _.current.shared);
+ let t = zfe(e.row.original, _.current.shared);
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, R.jsx)(Lfe, {
+ /* @__PURE__ */ (0, R.jsx)(Rfe, {
source: e.row.original,
avatarInner: _.current.avatarInner
}),
@@ -44254,15 +44255,15 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: Ffe(e.getValue())
+ children: Ife(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)(Ife, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(Lfe, { source: e.row.original })
}),
- e.accessor((e) => Pfe(e.interval_minutes), {
+ e.accessor((e) => Ffe(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, R.jsx)("span", {
@@ -44292,8 +44293,8 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, R.jsx)(jP, {
- "aria-label": `启用 ${_I(e.row.original)}`,
+ /* @__PURE__ */ (0, R.jsx)(kP, {
+ "aria-label": `启用 ${gI(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: _.current.readOnly,
onChange: (t) => _.current.toggle(e.row.original, t)
@@ -44303,7 +44304,7 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
size: "xs",
iconOnly: !0,
leadingIcon: pt,
- "aria-label": `拉取 ${_I(e.row.original)}`,
+ "aria-label": `拉取 ${gI(e.row.original)}`,
disabled: _.current.readOnly,
...G(_.current.busy === `check-${e.row.original.id}`),
onClick: () => _.current.fetch(e.row.original)
@@ -44313,7 +44314,7 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
size: "xs",
iconOnly: !0,
leadingIcon: Qe,
- "aria-label": `移除 ${_I(e.row.original)}`,
+ "aria-label": `移除 ${gI(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
})
@@ -44321,7 +44322,7 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
})
})
];
- }, []), y = (0, L.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = OP({
+ }, []), y = (0, L.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = EP({
data: o,
columns: v,
getRowId: (e) => String(e.id),
@@ -44337,24 +44338,24 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
let t = typeof e == "function" ? e(y) : e;
c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: xP(),
- getPaginationRowModel: CP()
+ getCoreRowModel: yP(),
+ getPaginationRowModel: xP()
});
if (!a) return r.error ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
title: "打不开订阅源",
children: H(r.error)
- }) : /* @__PURE__ */ (0, R.jsx)(FO, { children: "正在读订阅源。" });
- let x = () => void i.run("check", (e) => NM(e), () => void gI()), S = (e) => c((t) => {
+ }) : /* @__PURE__ */ (0, R.jsx)(NO, { children: "正在读订阅源。" });
+ let x = () => void i.run("check", (e) => jM(e), () => void hI()), S = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = o.filter((e) => s.has(e.id)), w = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, R.jsx)(Tfe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Efe, {
readOnly: e,
toast: t,
- onAdded: () => void gI()
+ onAdded: () => void hI()
}), /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: Xi({
@@ -44385,11 +44386,11 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
className: "flex flex-col gap-3",
children: [w.map((e) => /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
- title: `${_I(e)} 拉取失败`,
+ title: `${gI(e)} 拉取失败`,
children: e.last_error
- }, e.id)), i.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: i.error }) : null]
+ }, e.id)), i.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: i.error }) : null]
}) : null,
- /* @__PURE__ */ (0, R.jsxs)(pI, {
+ /* @__PURE__ */ (0, R.jsxs)(fI, {
visible: C.length > 0,
label: "订阅源批量操作",
count: `已选 ${C.length} 条订阅源`,
@@ -44421,7 +44422,7 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
size: "small",
disabled: e,
...G(h.isPending),
- onClick: () => void vI(C, () => h.mutateAsync({
+ onClick: () => void _I(C, () => h.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -44435,22 +44436,22 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
})
]
}),
- o.length ? /* @__PURE__ */ (0, R.jsx)(nk, {
+ o.length ? /* @__PURE__ */ (0, R.jsx)(ek, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, R.jsxs)(ek, {
+ children: /* @__PURE__ */ (0, R.jsxs)(QO, {
"aria-label": "JAV 订阅源",
size: "sm",
children: [/* @__PURE__ */ (0, R.jsx)(xS, { children: b.getHeaderGroups()[0].headers.map((e) => {
- let t = wP(e.column.columnDef.header, e.getContext());
+ let t = SP(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, R.jsx)(SS, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: Nfe.has(e.column.id) ? /* @__PURE__ */ (0, R.jsx)(Oh, { children: t }) : t
+ children: Pfe.has(e.column.id) ? /* @__PURE__ */ (0, R.jsx)(Oh, { children: t }) : t
}, e.id);
}) }), /* @__PURE__ */ (0, R.jsx)(wS, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, R.jsx)(DS, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(kS, { children: wP(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(kS, { children: SP(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, R.jsx)(Qi, {
@@ -44466,19 +44467,19 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
className: "text-body-2-regular text-text-secondary",
children: `${m.start + 1}–${m.end} / ${m.total} 个订阅源`
}),
- /* @__PURE__ */ (0, R.jsx)(KO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(f),
onSelectionChange: (e) => {
e !== null && (p(Number(e)), u(1));
},
- children: lM.map((e) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: sM.map((e) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(hI, {
+ /* @__PURE__ */ (0, R.jsx)(mI, {
label: "JAV 订阅分页",
page: m.page,
pages: m.pages,
@@ -44500,13 +44501,13 @@ function Bfe({ readOnly: e, toast: t, avatarInner: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var yI = [
+var vI = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["source", "来源和凭证"]
-], bI = (e) => yI.some(([t]) => t === e);
-function xI({ term: e, figure: t, unit: n }) {
+], yI = (e) => vI.some(([t]) => t === e);
+function bI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: Xi({
padding: "none",
@@ -44524,23 +44525,23 @@ function xI({ term: e, figure: t, unit: n }) {
})]
});
}
-function Vfe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, L.useState)(bI(e.tab) ? e.tab : "list"), [u, d] = (0, L.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, L.useState)(() => Xj(e.sort, e.dir).sort), [m, h] = (0, L.useState)(() => Xj(e.sort, e.dir).dir), [g, _] = (0, L.useState)(Nle(e.layout) ? e.layout : "default"), [v, y] = (0, L.useState)(Ple(e.pageSize)), [b, x] = (0, L.useState)(/* @__PURE__ */ new Set()), S = Zn({
- queryKey: aM,
- queryFn: ({ signal: e }) => wM(e)
+function Hfe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, L.useState)(yI(e.tab) ? e.tab : "list"), [u, d] = (0, L.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, L.useState)(() => Jj(e.sort, e.dir).sort), [m, h] = (0, L.useState)(() => Jj(e.sort, e.dir).dir), [g, _] = (0, L.useState)(Fle(e.layout) ? e.layout : "default"), [v, y] = (0, L.useState)(Ile(e.pageSize)), [b, x] = (0, L.useState)(/* @__PURE__ */ new Set()), S = Zn({
+ queryKey: rM,
+ queryFn: ({ signal: e }) => SM(e)
}), C = Zn({
- queryKey: oM,
- queryFn: ({ signal: e }) => TM(e)
+ queryKey: iM,
+ queryFn: ({ signal: e }) => CM(e)
}), w = Zn({
- queryKey: sM,
- queryFn: ({ signal: e }) => AM(e)
+ queryKey: aM,
+ queryFn: ({ signal: e }) => OM(e)
}), T = S.data || { sources: [] }, E = C.data || {
root: "",
providers: []
}, D = T.sources;
(0, L.useEffect)(() => {
x((e) => {
- let t = Ble(e, D);
+ let t = Hle(e, D);
return t.size === e.size ? e : t;
});
}, [D]);
@@ -44550,9 +44551,9 @@ function Vfe(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === Yj[n] ? "" : r
+ dir: r === qj[n] ? "" : r
});
- }, k = bM(D), A = D.filter(fM).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !zM(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ }, k = vM(D), A = D.filter(uM).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !LM(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
return /* @__PURE__ */ (0, R.jsxs)(ea, { children: [
a ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "warning",
@@ -44571,61 +44572,61 @@ function Vfe(e) {
className: eu,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, R.jsx)(xI, {
+ /* @__PURE__ */ (0, R.jsx)(bI, {
term: "关注创作者",
figure: k.length,
unit: "位"
}),
- /* @__PURE__ */ (0, R.jsx)(xI, {
+ /* @__PURE__ */ (0, R.jsx)(bI, {
term: "启用来源",
figure: j,
unit: `/ ${D.length}`
}),
- /* @__PURE__ */ (0, R.jsx)(xI, {
+ /* @__PURE__ */ (0, R.jsx)(bI, {
term: "检查失败",
figure: A,
unit: "个来源"
}),
- /* @__PURE__ */ (0, R.jsx)(xI, {
+ /* @__PURE__ */ (0, R.jsx)(bI, {
term: "未看更新",
figure: T.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, R.jsx)(xI, {
+ /* @__PURE__ */ (0, R.jsx)(bI, {
term: "JAV 订阅",
figure: N,
unit: "位"
}),
- /* @__PURE__ */ (0, R.jsx)(xI, {
+ /* @__PURE__ */ (0, R.jsx)(bI, {
term: "未看新作",
figure: w.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, R.jsxs)(BS, {
+ /* @__PURE__ */ (0, R.jsxs)(RS, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- bI(t) && (l(t), O({ tab: t }));
+ yI(t) && (l(t), O({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, R.jsx)(HS, {
+ /* @__PURE__ */ (0, R.jsx)(BS, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: yI.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(WS, {
+ children: vI.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(HS, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && M ? `${t}(${M})` : t
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(jfe, {
+ children: /* @__PURE__ */ (0, R.jsx)(Mfe, {
data: T,
sort: f,
dir: m,
@@ -44655,10 +44656,10 @@ function Vfe(e) {
}
})
}),
- /* @__PURE__ */ (0, R.jsxs)(GS, {
+ /* @__PURE__ */ (0, R.jsxs)(US, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, R.jsx)(que, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Yue, {
data: T,
credentials: E,
readOnly: a,
@@ -44666,7 +44667,7 @@ function Vfe(e) {
openCredentials: () => {
l("source"), O({ tab: "source" });
}
- }), /* @__PURE__ */ (0, R.jsx)(Xue, {
+ }), /* @__PURE__ */ (0, R.jsx)(Que, {
groups: T.author_aliases || [],
readOnly: a,
toast: r,
@@ -44674,19 +44675,19 @@ function Vfe(e) {
sources: T.sources
})]
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(Bfe, {
+ children: /* @__PURE__ */ (0, R.jsx)(Vfe, {
readOnly: a,
toast: r,
avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(ade, {
+ children: /* @__PURE__ */ (0, R.jsx)(sde, {
data: E,
readOnly: a,
toast: r
@@ -44698,23 +44699,23 @@ function Vfe(e) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var SI = () => /* @__PURE__ */ (0, R.jsx)("span", {
+var xI = () => /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function Hfe({ tag: e, actions: t }) {
+function Ufe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": MA(t.online, e.cat),
+ "data-tag-cat": kA(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, R.jsx)(SI, {}),
+ /* @__PURE__ */ (0, R.jsx)(xI, {}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -44726,7 +44727,7 @@ function Hfe({ tag: e, actions: t }) {
]
});
}
-function Ufe({ groups: e, actions: t }) {
+function Wfe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -44739,10 +44740,10 @@ function Ufe({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, R.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, R.jsx)(Kk, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, R.jsx)(Uk, { value: n.length })]
}), /* @__PURE__ */ (0, R.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, R.jsx)(Hfe, {
+ children: n.map((e) => /* @__PURE__ */ (0, R.jsx)(Ufe, {
tag: e,
actions: t
}, e.k))
@@ -44750,8 +44751,8 @@ function Ufe({ groups: e, actions: t }) {
}, e))
});
}
-var Wfe = "\xA0";
-function Gfe({ tags: e, actions: t }) {
+var Gfe = "\xA0";
+function Kfe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -44759,11 +44760,11 @@ function Gfe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": MA(t.online, e.cat),
+ "data-tag-cat": kA(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + Wfe, /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [e.label + Gfe, /* @__PURE__ */ (0, R.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -44771,7 +44772,7 @@ function Gfe({ tags: e, actions: t }) {
}, e.k))
});
}
-var Kfe = [[
+var qfe = [[
"cloud",
"标签云",
"tags"
@@ -44780,16 +44781,16 @@ var Kfe = [[
"字母表",
"text-aa"
]];
-function qfe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, R.jsx)(Ck, {
+function Jfe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, R.jsx)(yk, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, R.jsxs)(wk, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, R.jsxs)(bk, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : MA(n, e),
+ "data-tag-cat": e === "all" ? "all" : kA(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, R.jsx)(SI, {}), r]
+ children: [/* @__PURE__ */ (0, R.jsx)(xI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsx)("span", {
@@ -44813,14 +44814,14 @@ function qfe({ categories: e, category: t, online: n, readout: r, letters: i, vi
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${Ik}`,
- children: Kfe.map(([e, t, n]) => {
+ className: `ml-auto ${Nk}`,
+ children: qfe.map(([e, t, n]) => {
let r = To(n);
return /* @__PURE__ */ (0, R.jsx)(fx, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: Lk,
+ className: Pk,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: t,
className: "contents",
@@ -44832,13 +44833,13 @@ function qfe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function Jfe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, R.jsxs)(pI, {
+function Yfe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, R.jsxs)(fI, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, R.jsx)($O, {
+ /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -44870,7 +44871,7 @@ function Jfe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var Yfe = [{
+var Xfe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -44878,7 +44879,7 @@ var Yfe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], CI = [{
+}], SI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -44886,7 +44887,7 @@ var Yfe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], Xfe = {
+}], Zfe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -44906,20 +44907,20 @@ var Yfe = [{
"layout-grid"
]]
};
-function Zfe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, R.jsx)(Nk, {
- "aria-label": `${xA[e]}索引版式`,
+function Qfe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, R.jsx)(Ak, {
+ "aria-label": `${vA[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${Pk}`,
- children: Xfe[EA(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none max-board-narrow:order-3 ${jk}`,
+ children: Zfe[CA(e) ? "company" : "people"].map(([e, t, n]) => {
let r = To(n);
return /* @__PURE__ */ (0, R.jsx)(fx, {
value: e,
"aria-label": t,
- className: Vse,
+ className: Wse,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: t,
className: "contents",
@@ -44929,8 +44930,8 @@ function Zfe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var Qfe = To("search");
-function $fe({ label: e, value: t, onQuery: n }) {
+var $fe = To("search");
+function epe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, L.useState)(t), a = (0, L.useRef)(!1), o = (0, L.useRef)(void 0);
(0, L.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -44945,15 +44946,15 @@ function $fe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, R.jsx)(uk, {
+ children: /* @__PURE__ */ (0, R.jsx)(ok, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, R.jsx)(fk, {
+ children: /* @__PURE__ */ (0, R.jsx)(ck, {
type: "search",
- leadingIcon: Qfe,
+ leadingIcon: $fe,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -44963,14 +44964,14 @@ function $fe({ label: e, value: t, onQuery: n }) {
})
});
}
-function epe(e) {
- let [t, n] = (0, L.useState)(() => DA({
+function tpe(e) {
+ let [t, n] = (0, L.useState)(() => wA({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, L.useState)(e.layout), [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)("any"), l = (0, L.useRef)(null), { kind: u, q: d, scope: f, view: p, category: h } = t, g = xA[u], _ = u === "tags" && f === "online", v = u === "performers" && f === "online";
+ })), [r, i] = (0, L.useState)(e.layout), [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)("any"), l = (0, L.useRef)(null), { kind: u, q: d, scope: f, view: p, category: h } = t, g = vA[u], _ = u === "tags" && f === "online", v = u === "performers" && f === "online";
(0, L.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -44980,7 +44981,7 @@ function epe(e) {
...r
};
b(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, S = jA(OA(t)), C = $n({
+ }, S = OA(TA(t)), C = $n({
queryKey: S.queryKey,
queryFn: ({ pageParam: e, signal: t }) => S.queryFn({
pageParam: e,
@@ -44989,21 +44990,21 @@ function epe(e) {
initialPageParam: 0,
getNextPageParam: S.getNextPageParam,
placeholderData: y ? Yt : void 0
- }), w = Dce(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = Oce(w.length, !!C.hasNextPage);
+ }), w = Ace(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = jce(w.length, !!C.hasNextPage);
(0, L.useEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let O = (0, L.useMemo)(() => u === "tags" ? w.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [w, u]), k = (0, L.useMemo)(() => u === "tags" && p === "alphabet" ? jce(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [w, u]), k = (0, L.useMemo)(() => u === "tags" && p === "alphabet" ? Pce(O, (t) => e.tagLabel(t)) : [], [
O,
p,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, R.jsx)(qk, {
- tabs: CI,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, R.jsx)(Wk, {
+ tabs: SI,
value: f,
label: "词表",
onChange: (e) => {
@@ -45013,15 +45014,15 @@ function epe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, R.jsx)(qk, {
- tabs: CI,
+ }) : u === "performers" ? /* @__PURE__ */ (0, R.jsx)(Wk, {
+ tabs: SI,
value: f,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), x({ scope: t });
}
- }) : EA(u) ? /* @__PURE__ */ (0, R.jsx)(qk, {
- tabs: Yfe,
+ }) : CA(u) ? /* @__PURE__ */ (0, R.jsx)(Wk, {
+ tabs: Xfe,
value: u,
label: "公司类型",
onChange: (e) => x({ kind: e })
@@ -45038,7 +45039,7 @@ function epe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (_ ? CA : SA).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (_ ? bA : yA).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, R.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -45053,12 +45054,12 @@ function epe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- TA(u) ? /* @__PURE__ */ (0, R.jsx)("span", {
+ SA(u) ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: C.isPending ? "" : E
}) : null,
- TA(u) ? /* @__PURE__ */ (0, R.jsx)(Zfe, {
+ SA(u) ? /* @__PURE__ */ (0, R.jsx)(Qfe, {
kind: u,
layout: r,
onChange: A
@@ -45067,7 +45068,7 @@ function epe(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, R.jsx)($fe, {
+ /* @__PURE__ */ (0, R.jsx)(epe, {
label: `过滤${g}`,
value: d,
onQuery: (e) => {
@@ -45077,7 +45078,7 @@ function epe(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, R.jsx)(qfe, {
+ u === "tags" ? /* @__PURE__ */ (0, R.jsx)(Jfe, {
categories: N,
category: h,
online: _,
@@ -45112,18 +45113,18 @@ function epe(e) {
}),
children: m(C.error)
});
- if (!w.length) return /* @__PURE__ */ (0, R.jsx)(npe, {
+ if (!w.length) return /* @__PURE__ */ (0, R.jsx)(rpe, {
kind: u,
filtered: !!d || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, R.jsx)(Nce, {
+ if (v) return /* @__PURE__ */ (0, R.jsx)(Ice, {
items: w,
layout: r,
props: e
});
- if (TA(u)) return /* @__PURE__ */ (0, R.jsx)(FA, {
+ if (SA(u)) return /* @__PURE__ */ (0, R.jsx)(MA, {
kind: u,
items: w,
layout: r,
@@ -45134,10 +45135,10 @@ function epe(e) {
picked: a,
press: M
};
- return p === "alphabet" ? /* @__PURE__ */ (0, R.jsx)(Ufe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, R.jsx)(Wfe, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, R.jsx)(Gfe, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Kfe, {
tags: O,
actions: t
});
@@ -45158,7 +45159,7 @@ function epe(e) {
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, R.jsx)(Jfe, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, R.jsx)(Yfe, {
count: a.size,
match: s,
onMatch: c,
@@ -45171,14 +45172,14 @@ function epe(e) {
]
});
}
-var tpe = {
+var npe = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function npe({ kind: e, filtered: t, online: n, configurable: r }) {
+function rpe({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, R.jsx)(Qi, {
icon: To("search"),
title: "没有符合条件的内容",
@@ -45189,7 +45190,7 @@ function npe({ kind: e, filtered: t, online: n, configurable: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : tpe[e], a = /* @__PURE__ */ (0, R.jsx)(zi, {
+ let i = n && e === "performers" ? "创作者" : npe[e], a = /* @__PURE__ */ (0, R.jsx)(zi, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
@@ -45205,15 +45206,15 @@ function npe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var wI = {
+var CI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, rpe = (e) => wI[e.junk_kind || "other"] || wI.other;
-function ipe(e) {
+}, ipe = (e) => CI[e.junk_kind || "other"] || CI.other;
+function ape(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -45224,7 +45225,7 @@ function ipe(e) {
glyph: "check"
};
}
-var ape = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), ope = (e, t) => [
+var wI = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), ope = (e, t) => [
"junk-queue",
e.view,
e.kind,
@@ -45255,7 +45256,7 @@ function TI({ name: e }) {
}
var EI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
function lpe({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions: o }) {
- let c = (0, L.useRef)(null), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = e.junk_kind || "other", [m, h] = rpe(e), g = String(e.name || ""), _ = ipe(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ let c = (0, L.useRef)(null), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = e.junk_kind || "other", [m, h] = ipe(e), g = String(e.name || ""), _ = ape(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
t.target.closest("[data-junk-actions]") || EI(r, t) && (t.preventDefault(), o.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
if (t.stopPropagation(), EI(r, t)) {
@@ -45388,7 +45389,7 @@ function lpe({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
]
});
}
-var upe = (0, L.memo)(lpe), dpe = [
+var upe = (0, L.memo)(lpe), DI = [
[
"",
"全部",
@@ -45425,75 +45426,83 @@ var upe = (0, L.memo)(lpe), dpe = [
"hard-drive"
]
];
-function DI(e = "", t = "pending") {
+function OI(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function fpe(e) {
+function dpe(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: DI("", "pending")
+ href: OI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: DI("", "dismissed")
+ href: OI("", "dismissed")
};
}
-var ppe = (e) => e === "dismissed" ? "已排除" : "待判断";
+var fpe = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function OI({ name: e }) {
+function kI({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function kI({ scope: e, count: t }) {
+function AI({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [" ", /* @__PURE__ */ (0, R.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function mpe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = wO(), { kind: a, view: o } = e, s = fpe(o), c = (e) => {
+function ppe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = SO(), a = (0, L.useRef)(null), { kind: o, view: s } = e, c = Ok(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? DI.map(([e]) => wI(t, e)).join(",") : ""}`), l = dpe(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || DI()));
- }, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || OI()));
+ }, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, R.jsx)(xk, {
- label: ppe(o),
- figure: l,
+ children: /* @__PURE__ */ (0, R.jsx)(_k, {
+ label: fpe(s),
+ figure: d,
pending: !t && !n,
flush: !0
})
- }), /* @__PURE__ */ (0, R.jsx)("div", {
+ }), /* @__PURE__ */ (0, R.jsxs)("div", {
"data-junk-filters-frame": "",
- children: /* @__PURE__ */ (0, R.jsxs)("nav", {
+ "data-filter-glass": "",
+ "data-glass-pane": "",
+ children: [/* @__PURE__ */ (0, R.jsx)("span", {
+ ref: a,
+ "data-view-glide": "",
+ "aria-hidden": "true"
+ }), /* @__PURE__ */ (0, R.jsxs)("nav", {
ref: i,
"data-junk-filters": "",
"aria-label": "垃圾文件分类",
- onClick: c,
+ onClick: u,
+ onPointerLeave: c.leave,
children: [
- dpe.map(([e, n, r]) => /* @__PURE__ */ (0, R.jsxs)("a", {
- href: DI(e, o),
+ DI.map(([e, n, r]) => /* @__PURE__ */ (0, R.jsxs)("a", {
+ href: OI(e, s),
"data-junk-kind-link": e,
- "aria-current": e === a ? "page" : void 0,
+ "aria-current": e === o ? "page" : void 0,
+ onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, R.jsx)(OI, { name: r }),
+ /* @__PURE__ */ (0, R.jsx)(kI, { name: r }),
n,
- /* @__PURE__ */ (0, R.jsx)(kI, {
+ /* @__PURE__ */ (0, R.jsx)(AI, {
scope: e,
- count: t ? ape(t, e) : 0
+ count: t ? wI(t, e) : 0
})
]
}, e || "all")),
@@ -45502,27 +45511,28 @@ function mpe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-hidden": "true"
}),
/* @__PURE__ */ (0, R.jsxs)("a", {
- href: s.href,
- "data-junk-view-link": s.view,
- "aria-current": o === "dismissed" ? "page" : void 0,
+ href: l.href,
+ "data-junk-view-link": l.view,
+ "aria-current": s === "dismissed" ? "page" : void 0,
+ onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, R.jsx)(OI, { name: s.glyph }),
- s.label,
- /* @__PURE__ */ (0, R.jsx)(kI, {
+ /* @__PURE__ */ (0, R.jsx)(kI, { name: l.glyph }),
+ l.label,
+ /* @__PURE__ */ (0, R.jsx)(AI, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
]
})
]
- })
+ })]
})]
});
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var hpe = To("check"), gpe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function _pe(e) {
+var mpe = To("check"), hpe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function gpe(e) {
let t = {
kind: e.kind,
view: e.view
@@ -45534,25 +45544,25 @@ function _pe(e) {
let r = await cpe(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && gpe(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && hpe(n.queryKey, t) ? e : void 0
});
(0, L.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = vpe(e.countRow), a = r.isPending;
+ let i = _pe(e.countRow), a = r.isPending;
(0, L.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, L.useLayoutEffect)(() => {
i && r.data && j(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(mpe, {
+ let { navigate: o } = e.actions, s = i ? (0, Re.createPortal)(/* @__PURE__ */ (0, R.jsx)(ppe, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s, /* @__PURE__ */ (0, R.jsx)(ype, {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s, /* @__PURE__ */ (0, R.jsx)(vpe, {
props: e,
data: r.data,
pending: a,
@@ -45560,7 +45570,7 @@ function _pe(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function vpe(e) {
+function _pe(e) {
let [t, n] = (0, L.useState)(null);
return (0, L.useLayoutEffect)(() => {
if (!e) return;
@@ -45570,7 +45580,7 @@ function vpe(e) {
};
}, [e]), t;
}
-function ype({ props: e, data: t, pending: n, error: r, retry: i }) {
+function vpe({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = no(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, L.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, L.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
@@ -45586,7 +45596,7 @@ function ype({ props: e, data: t, pending: n, error: r, retry: i }) {
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, R.jsx)(Qi, {
- icon: hpe,
+ icon: mpe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -45603,11 +45613,11 @@ function ype({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, R.jsx)(bpe, { onMore: f }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, R.jsx)(ype, { onMore: f }, s) : null] });
})()]
});
}
-function bpe({ onMore: e }) {
+function ype({ onMore: e }) {
let t = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
let n = t.current;
@@ -45625,12 +45635,12 @@ function bpe({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var AI = "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", xpe = {
- gray: `${AI} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${AI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${AI} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var jI = "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", bpe = {
+ gray: `${jI} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${jI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${jI} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Spe({ value: e, max: t }) {
+function xpe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, R.jsxs)("svg", {
role: "progressbar",
@@ -45658,16 +45668,16 @@ function Spe({ value: e, max: t }) {
})]
});
}
-function Cpe(e) {
- let { job: t } = UO(e), n = t.data, r = t.isError ? n ? hs : H(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Spe(e) {
+ let { job: t } = VO(e), n = t.data, r = t.isError ? n ? hs : H(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : bs(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? ct : $e;
return /* @__PURE__ */ (0, R.jsxs)("aside", {
role: a ? "alert" : "status",
- className: xpe[s],
+ className: bpe[s],
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, R.jsx)(Spe, {
+ children: [o && l ? /* @__PURE__ */ (0, R.jsx)(xpe, {
value: c,
max: l
}) : /* @__PURE__ */ (0, R.jsx)(d, {
@@ -45677,7 +45687,7 @@ function Cpe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, R.jsx)(hO, {
+ }), /* @__PURE__ */ (0, R.jsx)(pO, {
href: "/data-cleanup#libraryProcessing",
size: "small",
trailingIcon: Ue,
@@ -45687,32 +45697,32 @@ function Cpe(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var wpe = "/api/playlists", jI = "/api/playlist", MI = ["playlists"], NI = (e) => Hi(wpe, e);
-async function Tpe(e) {
+var Cpe = "/api/playlists", MI = "/api/playlist", NI = ["playlists"], PI = (e) => Hi(Cpe, e);
+async function wpe(e) {
await K.fetchQuery({
- queryKey: MI,
- queryFn: () => NI(e),
+ queryKey: NI,
+ queryFn: () => PI(e),
staleTime: 0
});
}
-var PI = () => K.invalidateQueries({
- queryKey: MI,
+var FI = () => K.invalidateQueries({
+ queryKey: NI,
exact: !0
-}), Epe = (e) => e.current_asset_id || e.preview_asset_id || null, FI = (e) => `/poster?id=${e}&c=4`, Dpe = (e) => U(jI, {
+}), Tpe = (e) => e.current_asset_id || e.preview_asset_id || null, II = (e) => `/poster?id=${e}&c=4`, Epe = (e) => U(MI, {
action: "create",
name: e,
asset_ids: []
-}), II = (e, t) => U(jI, {
+}), LI = (e, t) => U(MI, {
action: "rename",
id: e,
name: t
-}), LI = (e) => U(jI, {
+}), RI = (e) => U(MI, {
action: "delete",
id: e
-}), Ope = (e) => Hi(`${jI}?id=${e}`).catch(() => null);
-function kpe(e) {
+}), Dpe = (e) => Hi(`${MI}?id=${e}`).catch(() => null);
+function Ope(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return U(jI, {
+ return U(MI, {
action: "create",
name: e.name,
asset_ids: t,
@@ -45722,18 +45732,18 @@ function kpe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Ape = To("ellipsis"), jpe = To("pencil"), Mpe = To("trash"), Npe = To("playlist"), RI = Pi(_O, vO, "text-body-2-medium"), zI = "播放列表名称不能为空", BI = (e) => async () => {
+var kpe = To("ellipsis"), Ape = To("pencil"), jpe = To("trash"), Mpe = To("playlist"), zI = Pi(hO, gO, "text-body-2-medium"), BI = "播放列表名称不能为空", VI = (e) => async () => {
try {
await e();
} finally {
- PI();
+ FI();
}
};
-function Ppe({ toast: e }) {
+function Npe({ toast: e }) {
let [t, n] = (0, L.useState)(""), [r, i] = (0, L.useState)(""), a = Qn({
- mutationFn: (e) => Dpe(e),
+ mutationFn: (e) => Epe(e),
onSuccess: (t) => {
- n(""), i(""), PI(), e("已新建播放列表", { undo: BI(() => LI(t.playlist.id)) });
+ n(""), i(""), FI(), e("已新建播放列表", { undo: VI(() => RI(t.playlist.id)) });
},
onError: (e) => i(H(e) || "新建失败")
});
@@ -45743,7 +45753,7 @@ function Ppe({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(zI);
+ i(BI);
return;
}
a.mutate(t);
@@ -45752,7 +45762,7 @@ function Ppe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: /* @__PURE__ */ (0, R.jsx)(lk, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -45771,7 +45781,7 @@ function Ppe({ toast: e }) {
})]
});
}
-function Fpe({ target: e, close: t, toast: n }) {
+function Ppe({ target: e, close: t, toast: n }) {
let [r, i] = (0, L.useState)(""), [a, o] = (0, L.useState)(""), s = (0, L.useRef)(null);
(0, L.useEffect)(() => {
if (!e) return;
@@ -45782,13 +45792,13 @@ function Fpe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = Qn({
- mutationFn: ({ row: e, value: t }) => II(e.id, t),
+ mutationFn: ({ row: e, value: t }) => LI(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), PI(), n("已重命名播放列表", { undo: BI(() => II(r.id, r.name)) });
+ t(), FI(), n("已重命名播放列表", { undo: VI(() => LI(r.id, r.name)) });
},
onError: (e) => o(H(e))
});
- return /* @__PURE__ */ (0, R.jsx)(tj, {
+ return /* @__PURE__ */ (0, R.jsx)(QA, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -45800,7 +45810,7 @@ function Fpe({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(zI);
+ o(BI);
return;
}
c.mutate({
@@ -45815,7 +45825,7 @@ function Fpe({ target: e, close: t, toast: n }) {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, R.jsx)(pk, {
+ }), /* @__PURE__ */ (0, R.jsx)(lk, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -45843,7 +45853,7 @@ function Fpe({ target: e, close: t, toast: n }) {
})
});
}
-function Ipe({ name: e, onRename: t, onDelete: n }) {
+function Fpe({ name: e, onRename: t, onDelete: n }) {
let r = (0, L.useRef)(null), [i, a] = (0, L.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -45857,7 +45867,7 @@ function Ipe({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, R.jsx)(Ape, {
+ children: /* @__PURE__ */ (0, R.jsx)(kpe, {
"aria-hidden": !0,
className: "size-4.5"
})
@@ -45867,23 +45877,23 @@ function Ipe({ name: e, onRename: t, onDelete: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: gO,
- children: /* @__PURE__ */ (0, R.jsxs)(pO, {
+ className: mO,
+ children: /* @__PURE__ */ (0, R.jsxs)(dO, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
- className: RI,
+ className: zI,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, R.jsx)(jpe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Ape, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
- className: RI,
+ className: zI,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, R.jsx)(Mpe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(jpe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -45891,13 +45901,13 @@ function Ipe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function Lpe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function Ipe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = Zn({
- queryKey: MI,
- queryFn: ({ signal: e }) => NI(e)
+ queryKey: NI,
+ queryFn: ({ signal: e }) => PI(e)
}), [s, c] = (0, L.useState)(null), l = (0, L.useRef)(a);
(0, L.useEffect)(() => {
- l.current !== a && (l.current = a, PI());
+ l.current !== a && (l.current = a, FI());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, R.jsx)("div", {
@@ -45915,8 +45925,8 @@ function Lpe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Ope(e.id);
- await LI(e.id), PI(), i("已删除播放列表", t ? { undo: BI(() => kpe(t)) } : void 0);
+ let t = await Dpe(e.id);
+ await RI(e.id), FI(), i("已删除播放列表", t ? { undo: VI(() => Ope(t)) } : void 0);
}
});
};
@@ -45931,27 +45941,27 @@ function Lpe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, R.jsx)(Ppe, { toast: i })]
+ })] }), /* @__PURE__ */ (0, R.jsx)(Npe, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, R.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((i) => {
- let a = Epe(i);
+ let a = Tpe(i);
return /* @__PURE__ */ (0, R.jsx)(Fo, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? FI(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(FI),
+ poster: i.preview_asset_id ? II(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(II),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, R.jsx)(Ipe, {
+ menu: /* @__PURE__ */ (0, R.jsx)(Fpe, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
@@ -45959,11 +45969,11 @@ function Lpe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}, i.id);
})
}) : /* @__PURE__ */ (0, R.jsx)(Qi, {
- icon: Npe,
+ icon: Mpe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, R.jsx)(Fpe, {
+ /* @__PURE__ */ (0, R.jsx)(Ppe, {
target: s,
close: () => c(null),
toast: i
@@ -45973,7 +45983,7 @@ function Lpe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Rpe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function Lpe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, R.jsxs)("li", {
"data-goal-id": t.id,
@@ -46041,7 +46051,7 @@ function Rpe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadg
})]
});
}
-function zpe(e) {
+function Rpe(e) {
let t = Zn({
queryKey: Is,
queryFn: ({ signal: e }) => Ls(e)
@@ -46052,21 +46062,13 @@ function zpe(e) {
children: t.error ? H(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, R.jsxs)(ea, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
- className: Xi({
- variant: "raised",
- className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
- }),
- children: [/* @__PURE__ */ (0, R.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: "待升级"
- }), /* @__PURE__ */ (0, R.jsx)("b", {
- className: "text-display-4-medium tabular-nums text-text-primary",
- children: `${n.total} 部作品`
- })]
+ return r.length ? /* @__PURE__ */ (0, R.jsxs)(ea, { children: [/* @__PURE__ */ (0, R.jsx)(_k, {
+ label: "待升级",
+ figure: `${n.total} 部作品`,
+ flush: !0
}), /* @__PURE__ */ (0, R.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, R.jsx)(Rpe, {
+ children: r.map((t) => /* @__PURE__ */ (0, R.jsx)(Lpe, {
item: t,
...e
}, t.id))
@@ -46079,17 +46081,17 @@ function zpe(e) {
}
//#endregion
//#region src/react/providers.tsx
-var VI = null;
-function Bpe() {
- return VI?.isConnected || (VI = document.createElement("div"), VI.className = "peach-react", VI.dataset.reactOverlays = "", document.body.append(VI)), VI;
+var HI = null;
+function zpe() {
+ return HI?.isConnected || (HI = document.createElement("div"), HI.className = "peach-react", HI.dataset.reactOverlays = "", document.body.append(HI)), HI;
}
-function HI({ children: e }) {
+function UI({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)(Et, {
client: K,
- children: /* @__PURE__ */ (0, R.jsx)(dF, {
+ children: /* @__PURE__ */ (0, R.jsx)(lF, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, R.jsx)(hy, {
- getContainer: Bpe,
+ getContainer: zpe,
children: e
})
})
@@ -46097,7 +46099,7 @@ function HI({ children: e }) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Vpe(e) {
+function Bpe(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 = ic(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
role: "group",
@@ -46106,29 +46108,29 @@ function Vpe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(KO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, R.jsxs)(KO, {
+ i.length > 1 ? /* @__PURE__ */ (0, R.jsxs)(WO, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, R.jsx)(qO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(GO, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -46147,12 +46149,12 @@ function Vpe(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, R.jsxs)(pI, {
+ }), /* @__PURE__ */ (0, R.jsxs)(fI, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, R.jsxs)(KO, {
+ b ? /* @__PURE__ */ (0, R.jsxs)(WO, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -46160,10 +46162,10 @@ function Vpe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, R.jsx)(qO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(GO, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ }), y.map((e) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: e
}, e))]
@@ -46199,7 +46201,7 @@ function Vpe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Hpe = {
+var Vpe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -46209,14 +46211,14 @@ var Hpe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, UI = "reviewgenretags";
-function Upe({ tags: e }) {
+}, WI = "reviewgenretags";
+function Hpe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("datalist", {
- id: UI,
+ id: WI,
children: e.map((e) => /* @__PURE__ */ (0, R.jsx)("option", { value: e }, e))
}) : null;
}
-function WI({ candidate: e, selectable: t = !1 }) {
+function GI({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -46253,7 +46255,7 @@ function WI({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, R.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Hpe[e] || e
+ children: Vpe[e] || e
}),
/* @__PURE__ */ (0, R.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -46268,11 +46270,11 @@ function WI({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Wpe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function Upe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, R.jsx)(WI, { candidate: a[0] })
+ children: /* @__PURE__ */ (0, R.jsx)(GI, { candidate: a[0] })
}) : /* @__PURE__ */ (0, R.jsx)(dx, {
"aria-label": `${t || "候选"}的来源`,
value: n,
@@ -46282,14 +46284,14 @@ function Wpe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
children: a.map((e) => /* @__PURE__ */ (0, R.jsx)(fx, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, R.jsx)(WI, {
+ children: /* @__PURE__ */ (0, R.jsx)(GI, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Gpe({ genre: e, tags: t, locked: n, toast: r }) {
+function Wpe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), c = Qn({
mutationFn: (t) => vc(e, t),
onSuccess: async (t, n) => {
@@ -46316,16 +46318,16 @@ function Gpe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, R.jsx)(uk, {
+ /* @__PURE__ */ (0, R.jsx)(ok, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(fk, {
+ children: /* @__PURE__ */ (0, R.jsx)(ck, {
size: "small",
- list: t.length ? UI : void 0,
+ list: t.length ? WI : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -46357,7 +46359,7 @@ function Gpe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function Kpe({ row: e, tags: t, locked: n, toast: r }) {
+function Gpe({ row: e, tags: t, locked: n, toast: r }) {
let i = fc(e);
return i.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
role: "group",
@@ -46366,7 +46368,7 @@ function Kpe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, R.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(Gpe, {
+ }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(Wpe, {
genre: e,
tags: t,
locked: n,
@@ -46376,9 +46378,9 @@ function Kpe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var GI = (e = "") => /^https?:\/\//i.test(e) ? e : "", qpe = (e = "") => GI(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function KI({ url: e }) {
- let t = qpe(e || ""), [n, r] = (0, L.useState)(!1);
+var KI = (e = "") => /^https?:\/\//i.test(e) ? e : "", Kpe = (e = "") => KI(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function qI({ url: e }) {
+ let t = Kpe(e || ""), [n, r] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, R.jsx)("img", {
@@ -46393,7 +46395,7 @@ function KI({ url: e }) {
})
});
}
-function qI({ asset: e, openItem: t }) {
+function JI({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -46426,14 +46428,14 @@ function qI({ asset: e, openItem: t }) {
})]
});
}
-function Jpe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function qpe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, R.jsx)("button", {
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 ${MP}`,
+ 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 ${AP}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -46449,8 +46451,8 @@ function Jpe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function Ype({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = GI(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function Jpe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = KI(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, R.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -46475,7 +46477,7 @@ function Ype({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, R.jsx)(KI, { url: e.preview_url }),
+ /* @__PURE__ */ (0, R.jsx)(qI, { url: e.preview_url }),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -46518,7 +46520,7 @@ function Ype({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function Xpe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function Ype({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, L.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -46574,7 +46576,7 @@ function Xpe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, R.jsx)(QO, {
+ children: /* @__PURE__ */ (0, R.jsx)(XO, {
size: "sm",
state: {
isSelected: n,
@@ -46594,19 +46596,19 @@ function Xpe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var Zpe = Xi({
+var Xpe = Xi({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), JI = "flex min-h-6 min-w-0 items-center", Qpe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function $pe(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, L.useRef)(!1), m = wO(), h = wO(), g = t === "metadata_fields", _ = $s[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = lc(t, n), x = cc(t, n), S = sc(t, n), C = uc(n), w = dc(n), T = oc(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
+}), YI = "flex min-h-6 min-w-0 items-center", Zpe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function Qpe(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, L.useRef)(!1), m = SO(), h = SO(), g = t === "metadata_fields", _ = $s[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = lc(t, n), x = cc(t, n), S = sc(t, n), C = uc(n), w = dc(n), T = oc(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, R.jsx)(qI, {
+ children: E.map((e) => /* @__PURE__ */ (0, R.jsx)(JI, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, R.jsx)(Jpe, {
+ }) : y ? /* @__PURE__ */ (0, R.jsx)(qpe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -46616,14 +46618,14 @@ function $pe(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, R.jsx)(qI, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, R.jsx)(JI, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, R.jsx)(Wpe, {
+ }) : null, A = g ? /* @__PURE__ */ (0, R.jsx)(Upe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -46632,7 +46634,7 @@ function $pe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, R.jsx)(Xpe, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, R.jsx)(Ype, {
assets: D,
picked: r.assets,
locked: s,
@@ -46645,15 +46647,15 @@ function $pe(e) {
icon: ot,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, R.jsx)(Ype, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, R.jsx)(Jpe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, R.jsx)(KI, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, R.jsxs)("h4", {
- className: `${JI} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, R.jsx)(qI, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, R.jsxs)("h4", {
+ className: `${YI} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, R.jsx)(Li, {
variant: "caption",
color: "blue",
@@ -46664,7 +46666,7 @@ function $pe(e) {
children: S
})]
}) : /* @__PURE__ */ (0, R.jsx)("h4", {
- className: JI,
+ className: YI,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -46674,20 +46676,20 @@ function $pe(e) {
return /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${Zpe} ${Qpe(t)} overflow-hidden`,
+ className: `${Xpe} ${Zpe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, R.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${JI} shrink-0`,
+ className: `${YI} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, R.jsx)($O, {
+ children: /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -46731,7 +46733,7 @@ function $pe(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, R.jsx)(Kpe, {
+ /* @__PURE__ */ (0, R.jsx)(Gpe, {
row: n,
tags: u,
locked: s,
@@ -46793,8 +46795,8 @@ function $pe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var eme = "flex cursor-pointer items-center justify-between gap-2";
-function tme({ page: e, pages: t, onPage: n }) {
+var $pe = "flex cursor-pointer items-center justify-between gap-2";
+function eme({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, R.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -46831,7 +46833,7 @@ function tme({ page: e, pages: t, onPage: n }) {
]
});
}
-function nme(e) {
+function tme(e) {
let [t, n] = (0, L.useState)(() => matchMedia("(max-width:900px)").matches);
(0, L.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
@@ -46941,8 +46943,8 @@ function nme(e) {
}) : void 0,
children: ye
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Upe, { tags: be }),
- /* @__PURE__ */ (0, R.jsxs)(BS, {
+ /* @__PURE__ */ (0, R.jsx)(Hpe, { tags: be }),
+ /* @__PURE__ */ (0, R.jsxs)(RS, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
@@ -46956,15 +46958,15 @@ function nme(e) {
children: [/* @__PURE__ */ (0, R.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, R.jsx)(HS, {
+ }), /* @__PURE__ */ (0, R.jsx)(BS, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
children: Xs.map((e) => {
let t = Number(ee.counts[e] || 0);
- return /* @__PURE__ */ (0, R.jsxs)(WS, {
+ return /* @__PURE__ */ (0, R.jsxs)(HS, {
id: e,
- className: eme,
+ className: $pe,
children: [Ys[e], t ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
@@ -46972,11 +46974,11 @@ function nme(e) {
}, e);
})
})]
- }), /* @__PURE__ */ (0, R.jsxs)(GS, {
+ }), /* @__PURE__ */ (0, R.jsxs)(US, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !F ? /* @__PURE__ */ (0, R.jsx)(Vpe, {
+ te.length && !F ? /* @__PURE__ */ (0, R.jsx)(Bpe, {
groupOptions: ne,
groupBy: re,
onGroupBy: (e) => {
@@ -47017,7 +47019,7 @@ function nme(e) {
})]
}) : null, /* @__PURE__ */ (0, R.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)($pe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(Qpe, {
category: f,
row: e,
choice: ue(e),
@@ -47045,7 +47047,7 @@ function nme(e) {
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, R.jsx)(tme, {
+ /* @__PURE__ */ (0, R.jsx)(eme, {
page: oe.page,
pages: oe.pages,
onPage: y
@@ -47058,13 +47060,9 @@ function nme(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var rme = "/api/scraping", ime = "/api/scraping/settings", ame = "/api/scraping/check", YI = "/api/scraping/cover", ome = "/api/scraping/amane-bridge", sme = "/api/scraping/amane-bridge/check", cme = "/api/scraping/amane-bridge/rebuild", XI = ["scraping"], ZI = ["scraping", "cover"], QI = ["scraping", "amane-bridge"], $I = (e) => Hi(rme, e), eL = (e) => Hi(YI, e), tL = (e) => Hi(ome, e);
-async function lme(e) {
+var nme = "/api/scraping", rme = "/api/scraping/settings", ime = "/api/scraping/check", XI = "/api/scraping/cover", ame = "/api/scraping/amane-bridge", ome = "/api/scraping/amane-bridge/check", sme = "/api/scraping/amane-bridge/rebuild", ZI = ["scraping"], QI = ["scraping", "cover"], $I = ["scraping", "amane-bridge"], eL = (e) => Hi(nme, e), tL = (e) => Hi(XI, e), nL = (e) => Hi(ame, e);
+async function cme(e) {
await Promise.all([
- K.fetchQuery({
- queryKey: XI,
- queryFn: () => $I(e)
- }),
K.fetchQuery({
queryKey: ZI,
queryFn: () => eL(e)
@@ -47072,16 +47070,20 @@ async function lme(e) {
K.fetchQuery({
queryKey: QI,
queryFn: () => tL(e)
+ }),
+ K.fetchQuery({
+ queryKey: $I,
+ queryFn: () => nL(e)
})
]);
}
-function ume(e, t) {
+function lme(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 dme = [["peach", "Peach 代理"], ["direct", "直接连接"]], nL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function rL({ source: e }) {
+var ume = [["peach", "Peach 代理"], ["direct", "直接连接"]], rL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function iL({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -47098,16 +47100,16 @@ function rL({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function fme() {
- return /* @__PURE__ */ (0, R.jsx)(rL, { source: "github" });
+function dme() {
+ return /* @__PURE__ */ (0, R.jsx)(iL, { source: "github" });
}
-function pme({ source: e, toast: t }) {
- let [n, r] = (0, L.useState)(e.network), [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(nL[0][0]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), m = (0, L.useRef)(null);
+function fme({ source: e, toast: t }) {
+ let [n, r] = (0, L.useState)(e.network), [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(rL[0][0]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), m = (0, L.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = Qn({
- mutationFn: (t) => U(ime, {
+ mutationFn: (t) => U(rme, {
source: e.source,
network: n,
cookie: i,
@@ -47115,12 +47117,12 @@ function pme({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- K.setQueryData(XI, (t) => t && {
+ K.setQueryData(ZI, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = Qn({ mutationFn: () => U(ame, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = Qn({ mutationFn: () => U(ime, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -47145,37 +47147,37 @@ function pme({ source: e, toast: t }) {
}
}
let C = f || (g.error ? H(g.error) : "") || (_.error ? H(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, R.jsx)(rL, { source: e.source }), /* @__PURE__ */ (0, R.jsx)(RO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(iL, { source: e.source }), /* @__PURE__ */ (0, R.jsx)(IO, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(AO, { children: /* @__PURE__ */ (0, R.jsx)(OO, {
label: "连接方式",
- children: /* @__PURE__ */ (0, R.jsx)(KO, {
+ children: /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: dme.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: ume.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, R.jsxs)(NO, {
+ T ? /* @__PURE__ */ (0, R.jsxs)(jO, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, R.jsx)(hO, {
+ children: /* @__PURE__ */ (0, R.jsx)(pO, {
href: "/configuration#peachProxy",
size: "small",
trailingIcon: Ue,
@@ -47191,20 +47193,20 @@ function pme({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, R.jsx)(Nk, {
+ /* @__PURE__ */ (0, R.jsx)(Ak, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: Pk,
- children: nL.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(fx, {
+ className: jk,
+ children: rL.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(fx, {
value: e,
- className: Fk,
+ className: Mk,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, R.jsx)(pk, {
+ c === "paste" ? /* @__PURE__ */ (0, R.jsx)(lk, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -47213,7 +47215,7 @@ function pme({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
@@ -47239,14 +47241,14 @@ function pme({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, R.jsx)(IO, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, R.jsx)(PO, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, R.jsx)(W, {
tone: t.ok ? "success" : "error",
- children: ume(t, e.label)
+ children: lme(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, R.jsxs)(PO, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(MO, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
onClick: b,
@@ -47268,26 +47270,26 @@ function pme({ source: e, toast: t }) {
]
});
}
-function mme({ toast: e }) {
- let [t, n] = (0, L.useState)(""), { running: r, outcome: i, start: a } = YO({
- queryKey: ZI,
- queryFn: ({ signal: e }) => eL(e),
- start: () => U(YI, { code: t }),
+function pme({ toast: e }) {
+ let [t, n] = (0, L.useState)(""), { running: r, outcome: i, start: a } = qO({
+ queryKey: QI,
+ queryFn: ({ signal: e }) => tL(e),
+ start: () => U(XI, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? H(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, R.jsx)(jO, {
+ return /* @__PURE__ */ (0, R.jsx)(kO, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, R.jsxs)(NO, { children: [
+ children: /* @__PURE__ */ (0, R.jsxs)(jO, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: /* @__PURE__ */ (0, R.jsx)(lk, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -47314,11 +47316,11 @@ function mme({ toast: e }) {
] })
});
}
-function hme({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = YO({
- queryKey: QI,
- queryFn: ({ signal: e }) => tL(e),
- start: () => U(cme, {}),
+function mme({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = qO({
+ queryKey: $I,
+ queryFn: ({ signal: e }) => nL(e),
+ start: () => U(sme, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -47327,45 +47329,45 @@ function hme({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = Qn({ mutationFn: () => U(sme, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, R.jsx)(jO, {
+ }), a = Qn({ mutationFn: () => U(ome, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, R.jsx)(kO, {
title: "amane",
- children: /* @__PURE__ */ (0, R.jsx)(NO, { children: /* @__PURE__ */ (0, R.jsx)(W, {
+ children: /* @__PURE__ */ (0, R.jsx)(jO, { children: /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
children: H(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? H(i.error) : a.error ? H(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "amane",
- aside: /* @__PURE__ */ (0, R.jsx)(RO, {
+ aside: /* @__PURE__ */ (0, R.jsx)(IO, {
href: o.repository,
- leadingIcon: fme,
+ leadingIcon: dme,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, R.jsxs)(zO, { children: [
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsxs)(LO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, R.jsxs)(NO, {
+ /* @__PURE__ */ (0, R.jsxs)(jO, {
divided: !0,
children: [
- /* @__PURE__ */ (0, R.jsxs)(FO, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(NO, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -47385,7 +47387,7 @@ function hme({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(PO, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsxs)(MO, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -47402,22 +47404,22 @@ function hme({ toast: e }) {
]
});
}
-function gme({ toast: e }) {
+function hme({ toast: e }) {
let t = Zn({
- queryKey: XI,
- queryFn: ({ signal: e }) => $I(e)
+ queryKey: ZI,
+ queryFn: ({ signal: e }) => eL(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, R.jsxs)(ea, { children: [
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, R.jsx)(mme, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, R.jsx)(pme, {
+ /* @__PURE__ */ (0, R.jsx)(pme, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, R.jsx)(fme, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, R.jsx)(hme, { toast: e })
+ /* @__PURE__ */ (0, R.jsx)(mme, { toast: e })
] }) : /* @__PURE__ */ (0, R.jsx)(ea, { children: /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
title: "采集来源读取失败",
@@ -47426,24 +47428,24 @@ function gme({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var iL = "/api/configuration", _me = "/api/pick-folder", aL = ["configuration"], oL = (e) => Hi(iL, e);
-async function sL(e) {
+var aL = "/api/configuration", gme = "/api/pick-folder", oL = ["configuration"], sL = (e) => Hi(aL, e);
+async function cL(e) {
await K.fetchQuery({
- queryKey: aL,
- queryFn: () => oL(e)
+ queryKey: oL,
+ queryFn: () => sL(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var vme = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", yme = "仅填域名;留空使用默认地址";
+var _me = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", vme = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function bme({ initial: e, receipt: t }) {
+function yme({ initial: e, receipt: t }) {
let [n, r] = (0, L.useState)(e.sites), i = ia(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -47452,9 +47454,9 @@ function bme({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, R.jsxs)(NO, { children: [
- /* @__PURE__ */ (0, R.jsx)(FO, { children: vme }),
- n.map((e) => /* @__PURE__ */ (0, R.jsx)(pk, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(jO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(NO, { children: _me }),
+ n.map((e) => /* @__PURE__ */ (0, R.jsx)(lk, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -47463,10 +47465,10 @@ function bme({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: yme
+ hint: vme
}, e.key)),
- i.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, R.jsx)(PO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ i.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
...G(i.busy === "save"),
children: "保存配置"
@@ -47475,21 +47477,21 @@ function bme({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function xme({ data: e, receipt: t }) {
+function bme({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, R.jsx)(Sme, {
+ children: [e.startup ? /* @__PURE__ */ (0, R.jsx)(xme, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, R.jsx)(bme, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, R.jsx)(yme, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Sme({ startup: e, receipt: t }) {
+function xme({ startup: e, receipt: t }) {
let [n, r] = (0, L.useState)(e.enabled), [i, a] = (0, L.useState)(e.silent), [o, s] = (0, L.useState)(e.desktop), c = ia(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => U("/api/configuration/startup", {
@@ -47499,30 +47501,30 @@ function Sme({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, R.jsxs)(MO, { children: [
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsxs)(AO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -47530,11 +47532,11 @@ function Sme({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, R.jsxs)(NO, {
+ e.message || c.error ? /* @__PURE__ */ (0, R.jsxs)(jO, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, R.jsx)(FO, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, R.jsx)(NO, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, R.jsx)(PO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
disabled: !e.available,
...G(c.busy === "save"),
@@ -47545,23 +47547,23 @@ function Sme({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var cL = /* @__PURE__ */ new Set([
+var lL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), Cme = [
+]), Sme = [
65,
67,
90
-], lL = 120;
-function wme({ initial: e, initialJob: t }) {
+], uL = 120;
+function Cme({ initial: e, initialJob: t }) {
let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, L.useState)(""), c = ia(), l = (0, L.useRef)(!1), u = (0, L.useRef)(!0), d = cL.has(i.state);
+ }), [o, s] = (0, L.useState)(""), c = ia(), l = (0, L.useRef)(!1), u = (0, L.useRef)(!0), d = lL.has(i.state);
(0, L.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -47578,7 +47580,7 @@ function wme({ initial: e, initialJob: t }) {
(0, L.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, L.useEffect)(() => {
- let e = new AbortController(), t = cL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = lL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await Hi("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -47591,9 +47593,9 @@ function wme({ initial: e, initialJob: t }) {
let n = await Hi("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= lL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= uL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < lL && (n = setTimeout(c, t));
+ !e.signal.aborted && o < uL && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -47607,40 +47609,40 @@ function wme({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(H(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, R.jsxs)(zO, { children: [
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsxs)(LO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, R.jsxs)(NO, {
+ /* @__PURE__ */ (0, R.jsxs)(jO, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, R.jsxs)(FO, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, R.jsxs)(NO, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, R.jsx)(IO, { children: g || n.message }) : /* @__PURE__ */ (0, R.jsx)(FO, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, R.jsx)(PO, { children: g || n.message }) : /* @__PURE__ */ (0, R.jsx)(NO, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, R.jsx)(IO, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, R.jsx)(PO, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, R.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
@@ -47648,16 +47650,16 @@ function wme({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, R.jsx)(ra, {
label: "更新准备进度",
value: i.progress,
- stops: Cme
+ stops: Sme
}),
- /* @__PURE__ */ (0, R.jsxs)(FO, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, R.jsx)(FO, { children: _ })
+ /* @__PURE__ */ (0, R.jsxs)(NO, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, R.jsx)(NO, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(PO, {
- status: /* @__PURE__ */ (0, R.jsx)(RO, {
+ /* @__PURE__ */ (0, R.jsxs)(MO, {
+ status: /* @__PURE__ */ (0, R.jsx)(IO, {
href: n.release_url,
children: "查看发布页"
}),
@@ -47684,98 +47686,98 @@ function wme({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Tme = [
+var wme = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Eme({ data: e, receipt: t, reopenTutorial: n }) {
+function Tme({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, R.jsx)(Ome, {
+ e.automatic_updates ? /* @__PURE__ */ (0, R.jsx)(Dme, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, R.jsx)(wme, {
+ e.updates ? /* @__PURE__ */ (0, R.jsx)(Cme, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, R.jsx)(kme, { facts: e.facts }),
- /* @__PURE__ */ (0, R.jsx)(Dme, {
+ /* @__PURE__ */ (0, R.jsx)(Ome, { facts: e.facts }),
+ /* @__PURE__ */ (0, R.jsx)(Eme, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, R.jsx)(Ame, {
+ e.uninstall ? /* @__PURE__ */ (0, R.jsx)(kme, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Dme({ receipt: e, reopenTutorial: t }) {
+function Eme({ receipt: e, reopenTutorial: t }) {
let n = ia();
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, R.jsxs)(NO, { children: [/* @__PURE__ */ (0, R.jsx)(FO, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: n.error }) : null] }), /* @__PURE__ */ (0, R.jsx)(PO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(jO, { children: [/* @__PURE__ */ (0, R.jsx)(NO, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: n.error }) : null] }), /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...G(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function Ome({ initial: e, receipt: t }) {
+function Dme({ initial: e, receipt: t }) {
let [n, r] = (0, L.useState)(e.mode), [i, a] = (0, L.useState)(e.interval_hours), o = ia(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => U("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, R.jsxs)(MO, { children: [
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsxs)(AO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, R.jsx)(KO, {
+ children: /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Tme.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: wme.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, R.jsx)(NO, {
+ o.error ? /* @__PURE__ */ (0, R.jsx)(jO, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(IO, { children: o.error })
+ children: /* @__PURE__ */ (0, R.jsx)(PO, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, R.jsx)(PO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
disabled: !e.available,
...G(o.busy === "save"),
@@ -47784,19 +47786,19 @@ function Ome({ initial: e, receipt: t }) {
]
});
}
-function kme({ facts: e }) {
- return /* @__PURE__ */ (0, R.jsx)(jO, {
+function Ome({ facts: e }) {
+ return /* @__PURE__ */ (0, R.jsx)(kO, {
title: "运行信息",
- children: /* @__PURE__ */ (0, R.jsx)(zO, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(BO, {
+ children: /* @__PURE__ */ (0, R.jsx)(LO, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(RO, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, R.jsx)(RO, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, R.jsx)(IO, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function Ame({ uninstall: e, receipt: t }) {
+function kme({ uninstall: e, receipt: t }) {
let [n, r] = (0, L.useState)(!1), [i, a] = (0, L.useState)(""), o = () => void b({
title: "卸载 Peach",
danger: !0,
@@ -47810,26 +47812,26 @@ function Ame({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, R.jsxs)(NO, { children: [
- e.available ? /* @__PURE__ */ (0, R.jsx)(FO, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, R.jsx)($O, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(jO, { children: [
+ e.available ? /* @__PURE__ */ (0, R.jsx)(NO, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, R.jsx)(VO, {
+ /* @__PURE__ */ (0, R.jsx)(zO, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, R.jsx)(DO, {
+ children: c.map((e) => /* @__PURE__ */ (0, R.jsx)(TO, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, R.jsx)(PO, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(MO, {
status: s ? /* @__PURE__ */ (0, R.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -47845,7 +47847,7 @@ function Ame({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var jme = [
+var Ame = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -47864,32 +47866,32 @@ var jme = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Mme = [
+], jme = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Nme() {
+function Mme() {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, R.jsxs)(FO, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, R.jsx)(RO, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(NO, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, R.jsx)(IO, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, R.jsxs)(VO, {
+ })] }), /* @__PURE__ */ (0, R.jsxs)(zO, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, R.jsx)(FO, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, R.jsx)(NO, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, R.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: jme.map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
+ children: Ame.map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, R.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Mme.map(([t, n]) => /* @__PURE__ */ (0, R.jsxs)("div", {
+ children: jme.map(([t, n]) => /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, R.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -47910,9 +47912,9 @@ function Nme() {
/* @__PURE__ */ (0, R.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, R.jsxs)(FO, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(NO, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, R.jsx)(RO, {
+ /* @__PURE__ */ (0, R.jsx)(IO, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -47924,7 +47926,7 @@ function Nme() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var uL = [
+var dL = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -47968,13 +47970,13 @@ var uL = [
["star", "收藏"],
["tags", "主题"]
];
-function Pme(e) {
+function Nme(e) {
let t = e === "local" ? "" : _[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var dL = "auto";
-function Fme({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(e), [l, u] = Pme(n);
+var fL = "auto";
+function Pme({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(e), [l, u] = Nme(n);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
ref: i,
variant: "secondary",
@@ -47988,7 +47990,7 @@ function Fme({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, R.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(HO, { mark: e || l }), ((e) => e && uL.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, R.jsx)(BO, { mark: e || l }), ((e) => e && dL.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, R.jsx)(Ey, {
triggerRef: i,
@@ -47996,7 +47998,7 @@ function Fme({ value: e, label: t, kind: n = "local", onChange: r }) {
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: gO,
+ className: mO,
children: /* @__PURE__ */ (0, R.jsxs)(bb, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
@@ -48008,15 +48010,15 @@ function Fme({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, R.jsx)(dx, {
"aria-label": "候选图标",
- value: s || dL,
- onChange: (e) => c(e === dL ? "" : e),
+ value: s || fL,
+ onChange: (e) => c(e === fL ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: uL.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(fx, {
- value: e || dL,
+ children: dL.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(fx, {
+ value: e || fL,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
- children: /* @__PURE__ */ (0, R.jsx)(HO, { mark: e || l })
- }, e || dL))
+ children: /* @__PURE__ */ (0, R.jsx)(BO, { mark: e || l })
+ }, e || fL))
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -48038,15 +48040,15 @@ function Fme({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Ime = "/api/configuration/push-discovery", Lme = "/api/configuration/push-discovery/secret";
-function Rme({ initial: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.prefixes), [o, s] = (0, L.useState)(""), c = ia(), l = wO(), u = n.media_roots, [d, f] = (0, L.useState)(e), p = (e, n) => {
+var Fme = "/api/configuration/push-discovery", Ime = "/api/configuration/push-discovery/secret";
+function Lme({ initial: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.prefixes), [o, s] = (0, L.useState)(""), c = ia(), l = SO(), u = n.media_roots, [d, f] = (0, L.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -48056,14 +48058,14 @@ function Rme({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => U(Ime, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(H(e)));
+ c.run("save", (e) => U(Fme, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(H(e)));
},
children: [
- /* @__PURE__ */ (0, R.jsxs)(MO, { children: [
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsxs)(AO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -48073,10 +48075,10 @@ function Rme({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -48086,10 +48088,10 @@ function Rme({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(OO, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, R.jsx)(jP, {
+ children: /* @__PURE__ */ (0, R.jsx)(kP, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -48100,30 +48102,30 @@ function Rme({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, R.jsx)(NO, {
+ d.enabled ? /* @__PURE__ */ (0, R.jsx)(jO, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsxs)(zO, { children: [d.watch_local ? /* @__PURE__ */ (0, R.jsx)(BO, {
+ children: /* @__PURE__ */ (0, R.jsxs)(LO, { children: [d.watch_local ? /* @__PURE__ */ (0, R.jsx)(RO, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, R.jsx)(BO, {
+ }) : null, /* @__PURE__ */ (0, R.jsx)(RO, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, R.jsx)(NO, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, R.jsx)(jO, {
divided: !0,
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, R.jsx)(FO, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, R.jsx)(NO, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", { children: /* @__PURE__ */ (0, R.jsx)(V, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, R.jsx)(VO, {
+ }) }), /* @__PURE__ */ (0, R.jsx)(zO, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, R.jsx)("div", {
className: "relative",
@@ -48134,17 +48136,17 @@ function Rme({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, R.jsx)(FO, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, R.jsx)(NO, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, R.jsx)(NO, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, R.jsx)(jO, {
divided: !0,
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, R.jsx)(FO, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, R.jsx)(NO, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, R.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -48152,7 +48154,7 @@ function Rme({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -48161,18 +48163,18 @@ function Rme({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, R.jsx)(KO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(EO, {
+ /* @__PURE__ */ (0, R.jsx)(wO, {
icon: Ye,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
@@ -48191,15 +48193,15 @@ function Rme({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, R.jsx)(NO, {
+ o || c.error ? /* @__PURE__ */ (0, R.jsx)(jO, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(IO, { children: o || c.error })
+ children: /* @__PURE__ */ (0, R.jsx)(PO, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, R.jsxs)(PO, {
+ /* @__PURE__ */ (0, R.jsxs)(MO, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => {
- c.run("secret", (e) => U(Lme, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(H(e)));
+ c.run("secret", (e) => U(Ime, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(H(e)));
},
disabled: !n.available,
...G(c.busy === "secret"),
@@ -48216,8 +48218,8 @@ function Rme({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var zme = 8e3;
-function Bme({ className: e }) {
+var Rme = 8e3;
+function zme({ className: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -48230,33 +48232,33 @@ function Bme({ className: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-folder-search" })
});
}
-var fL = [
+var pL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Vme = (e) => fL.find(([t]) => t === e)?.[1] ?? e, pL = (e) => _[e] || "database", mL = (e = "") => ({
+], Bme = (e) => pL.find(([t]) => t === e)?.[1] ?? e, mL = (e) => _[e] || "database", hL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function Hme(e) {
- let t = e.media_sources?.filter((e) => fL.some(([t]) => t === e.location));
+function Vme(e) {
+ let t = e.media_sources?.filter((e) => pL.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) => mL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => hL(e));
}
-var Ume = (e) => !(e instanceof Bi) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Wme({ data: e, receipt: t }) {
+var Hme = (e) => !(e instanceof Bi) || e.status !== 400 ? null : e.body?.errors ?? null;
+function Ume({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, R.jsx)(Gme, {
+ e.editable ? /* @__PURE__ */ (0, R.jsx)(Wme, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, R.jsx)(W, {
@@ -48264,21 +48266,21 @@ function Wme({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, R.jsx)(qme, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, R.jsx)(Rme, {
+ /* @__PURE__ */ (0, R.jsx)(Kme, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, R.jsx)(Lme, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function Gme({ data: e, receipt: t }) {
- let [n, r] = (0, L.useState)(() => Hme(e)), [i, a] = (0, L.useState)(String(e.port)), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)([]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), [m, h] = (0, L.useState)(null), [g, _] = (0, L.useState)(null), [v, y] = (0, L.useState)(null), b = (0, L.useRef)(!1), x = (0, L.useRef)(e.revision), S = (0, L.useRef)([]), C = ia();
+function Wme({ data: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(() => Vme(e)), [i, a] = (0, L.useState)(String(e.port)), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)([]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), [m, h] = (0, L.useState)(null), [g, _] = (0, L.useState)(null), [v, y] = (0, L.useState)(null), b = (0, L.useRef)(!1), x = (0, L.useRef)(e.revision), S = (0, L.useRef)([]), C = ia();
(0, L.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, L.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), zme);
+ let e = setTimeout(() => location.assign(m.url), Rme);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -48289,14 +48291,14 @@ function Gme({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, mL()]);
+ _(n.length), r((e) => [...e, hL()]);
}, 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 U(_me, { initial: n[e]?.path ?? "" });
+ let { path: t } = await U(gme, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, H(t));
@@ -48305,7 +48307,7 @@ function Gme({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => U(iL, {
+ r.preventDefault(), p(""), C.run("save", (t) => U(aL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -48314,18 +48316,18 @@ function Gme({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Ume(e);
+ let t = Hme(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(H(e));
});
};
- if (m) return /* @__PURE__ */ (0, R.jsx)(jO, {
+ if (m) return /* @__PURE__ */ (0, R.jsx)(kO, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, R.jsx)(NO, { children: /* @__PURE__ */ (0, R.jsxs)(W, {
+ children: /* @__PURE__ */ (0, R.jsx)(jO, { children: /* @__PURE__ */ (0, R.jsxs)(W, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, R.jsx)(hO, {
+ /* @__PURE__ */ (0, R.jsx)(pO, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -48335,14 +48337,14 @@ function Gme({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, R.jsxs)(NO, { children: [
+ children: [/* @__PURE__ */ (0, R.jsxs)(jO, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(LO, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, R.jsx)(FO, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, R.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -48353,7 +48355,7 @@ function Gme({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -48366,13 +48368,13 @@ function Gme({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, R.jsx)(EO, {
- icon: Bme,
+ /* @__PURE__ */ (0, R.jsx)(wO, {
+ icon: zme,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...G(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, R.jsx)(EO, {
+ n.length > 1 ? /* @__PURE__ */ (0, R.jsx)(wO, {
icon: Ye,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
@@ -48381,7 +48383,7 @@ function Gme({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(lk, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -48390,7 +48392,7 @@ function Gme({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(LO, { children: "媒体库图标" }), /* @__PURE__ */ (0, R.jsx)(Fme, {
+ children: [/* @__PURE__ */ (0, R.jsx)(FO, { children: "媒体库图标" }), /* @__PURE__ */ (0, R.jsx)(Pme, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -48399,20 +48401,20 @@ function Gme({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(LO, { children: "媒体来源" }), /* @__PURE__ */ (0, R.jsx)(KO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(FO, { children: "媒体来源" }), /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: fL.map(([e, t]) => /* @__PURE__ */ (0, R.jsxs)(qO, {
+ children: pL.map(([e, t]) => /* @__PURE__ */ (0, R.jsxs)(GO, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, R.jsx)(HO, { mark: pL(e) }), t]
+ children: [/* @__PURE__ */ (0, R.jsx)(BO, { mark: mL(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(pk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(lk, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -48429,18 +48431,18 @@ function Gme({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, R.jsx)(Nme, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, R.jsxs)(FO, { children: [
+ A ? /* @__PURE__ */ (0, R.jsx)(Mme, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, R.jsxs)(NO, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, R.jsxs)(RO, {
+ /* @__PURE__ */ (0, R.jsxs)(IO, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(FO, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, R.jsx)(pk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(NO, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, R.jsx)(lk, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -48450,7 +48452,7 @@ function Gme({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, R.jsx)($O, {
+ /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -48460,7 +48462,7 @@ function Gme({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, R.jsx)(PO, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(MO, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
@@ -48470,7 +48472,7 @@ function Gme({ data: e, receipt: t }) {
})]
});
}
-function Kme({ online: e }) {
+function Gme({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, R.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -48494,21 +48496,21 @@ function Kme({ online: e }) {
}), "未检测"]
});
}
-function qme({ data: e }) {
+function Kme({ data: e }) {
let t = e.media_sources, n = ia();
- return t ? /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return t ? /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, R.jsx)(zO, { children: t.map((e, t) => /* @__PURE__ */ (0, R.jsxs)(BO, {
- term: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(HO, { mark: pL(e.location) }), Vme(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, R.jsx)(Kme, { online: e.online })]
+ /* @__PURE__ */ (0, R.jsx)(LO, { children: t.map((e, t) => /* @__PURE__ */ (0, R.jsxs)(RO, {
+ term: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(BO, { mark: mL(e.location) }), Bme(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, R.jsx)(Gme, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, R.jsx)(NO, {
+ n.error ? /* @__PURE__ */ (0, R.jsx)(jO, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(IO, { children: n.error })
+ children: /* @__PURE__ */ (0, R.jsx)(PO, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, R.jsx)(PO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
- onClick: () => void n.run("refresh", (e) => oL(e), (e) => K.setQueryData(aL, e)),
+ /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ onClick: () => void n.run("refresh", (e) => sL(e), (e) => K.setQueryData(oL, e)),
...G(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -48517,12 +48519,12 @@ function qme({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Jme = {
+var qme = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Yme({ initial: e, receipt: t }) {
+function Jme({ initial: e, receipt: t }) {
let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(!1), [f, p] = (0, L.useState)({}), m = (0, L.useRef)(null), h = ia(), g = (e) => {
e.preventDefault();
let f = {};
@@ -48543,25 +48545,25 @@ function Yme({ initial: e, receipt: t }) {
let t = e instanceof Bi ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(H(e));
});
- }, _ = Jme[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ }, _ = qme[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, R.jsxs)(NO, { children: [
- _ ? /* @__PURE__ */ (0, R.jsx)(FO, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, R.jsxs)(jO, { children: [
+ _ ? /* @__PURE__ */ (0, R.jsx)(NO, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, R.jsx)($O, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, R.jsx)(ZO, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, R.jsx)(pk, {
+ n.mode === "password" ? /* @__PURE__ */ (0, R.jsx)(lk, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -48574,7 +48576,7 @@ function Yme({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(pk, {
+ v ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(lk, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -48587,7 +48589,7 @@ function Yme({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, R.jsx)(pk, {
+ }), /* @__PURE__ */ (0, R.jsx)(lk, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -48606,9 +48608,9 @@ function Yme({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, R.jsx)(PO, {
+ }), v ? /* @__PURE__ */ (0, R.jsx)(MO, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
@@ -48620,19 +48622,19 @@ function Yme({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var Xme = 2e3, Zme = [["quick", "临时链接"], ["named", "命名隧道"]], Qme = {
+var Yme = 2e3, Xme = [["quick", "临时链接"], ["named", "命名隧道"]], Zme = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function $me({ revision: e, initial: t, receipt: n }) {
+function Qme({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, L.useState)(t), [a, o] = (0, L.useState)(e), [s, c] = (0, L.useState)(t.mode), [l, u] = (0, L.useState)(t.hostname), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)({}), h = ia(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, L.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- oL(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (K.setQueryData(aL, t), i(t.tunnel), o(t.revision));
+ sL(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (K.setQueryData(oL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, Xme);
+ }, Yme);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -48651,26 +48653,26 @@ function $me({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(H(e));
});
};
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, R.jsxs)(NO, { children: [
- r.named_available ? /* @__PURE__ */ (0, R.jsx)(Nk, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(jO, { children: [
+ r.named_available ? /* @__PURE__ */ (0, R.jsx)(Ak, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: Pk,
- children: Zme.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(fx, {
+ className: jk,
+ children: Xme.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(fx, {
value: e,
- className: Fk,
+ className: Mk,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, R.jsx)(FO, { children: Qme[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(pk, {
+ /* @__PURE__ */ (0, R.jsx)(NO, { children: Zme[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(lk, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -48681,7 +48683,7 @@ function $me({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, R.jsx)(pk, {
+ }), /* @__PURE__ */ (0, R.jsx)(lk, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -48701,7 +48703,7 @@ function $me({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, R.jsx)(RO, {
+ children: /* @__PURE__ */ (0, R.jsx)(IO, {
href: r.url,
children: r.url
})
@@ -48711,9 +48713,9 @@ function $me({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, R.jsxs)(PO, {
+ r.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, R.jsxs)(MO, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -48729,24 +48731,24 @@ function $me({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var ehe = [
+var $me = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function the({ data: e, receipt: t }) {
+function ehe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, R.jsx)(nhe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, R.jsx)(the, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, R.jsx)(Yme, {
+ e.access ? /* @__PURE__ */ (0, R.jsx)(Jme, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, R.jsx)($me, {
+ e.tunnel ? /* @__PURE__ */ (0, R.jsx)(Qme, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -48754,9 +48756,9 @@ function the({ data: e, receipt: t }) {
]
});
}
-function nhe({ initial: e, receipt: t }) {
+function the({ initial: e, receipt: t }) {
let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.mode), [o, s] = (0, L.useState)(""), c = ia();
- return /* @__PURE__ */ (0, R.jsxs)(jO, {
+ return /* @__PURE__ */ (0, R.jsxs)(kO, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -48768,25 +48770,25 @@ function nhe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(AO, { children: /* @__PURE__ */ (0, R.jsx)(OO, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, R.jsx)(KO, {
+ children: /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: ehe.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: $me.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, R.jsxs)(NO, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, R.jsxs)(jO, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, R.jsx)(pk, {
+ i === "proxy" ? /* @__PURE__ */ (0, R.jsx)(lk, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -48800,10 +48802,10 @@ function nhe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, R.jsx)(IO, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, R.jsx)(PO, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, R.jsx)(PO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(MO, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
...G(c.busy === "save"),
children: "保存配置"
@@ -48813,10 +48815,10 @@ function nhe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function rhe({ receipt: e, reopenTutorial: t }) {
+function nhe({ receipt: e, reopenTutorial: t }) {
let n = Zn({
- queryKey: aL,
- queryFn: ({ signal: e }) => oL(e)
+ queryKey: oL,
+ queryFn: ({ signal: e }) => sL(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, R.jsx)("div", {
className: "configpage",
@@ -48837,22 +48839,22 @@ function rhe({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, R.jsx)(xme, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, R.jsx)(bme, { ...i }) : null,
/* @__PURE__ */ (0, R.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, R.jsx)(Wme, { ...i }),
+ /* @__PURE__ */ (0, R.jsx)(Ume, { ...i }),
o ? /* @__PURE__ */ (0, R.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, R.jsx)(the, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, R.jsx)(ehe, { ...i }) : null,
/* @__PURE__ */ (0, R.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, R.jsx)(Eme, {
+ /* @__PURE__ */ (0, R.jsx)(Tme, {
...i,
reopenTutorial: t
})
@@ -48861,14 +48863,14 @@ function rhe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var ihe = "/api/stats", hL = ["stats"], gL = (e) => Hi(ihe, e);
-async function ahe(e) {
+var rhe = "/api/stats", gL = ["stats"], _L = (e) => Hi(rhe, e);
+async function ihe(e) {
await K.fetchQuery({
- queryKey: hL,
- queryFn: () => gL(e)
+ queryKey: gL,
+ queryFn: () => _L(e)
});
}
-var _L = (e, t) => t ? Math.round(e / t * 100) : 0, ohe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, vL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, yL = (e) => (e.max_reached || 0) * 100, she = (e) => e.kind === "online" ? "在线直接观看" : vL(e) < yL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", che = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, lhe = (e) => Math.max(1, ...e) * 1.1, uhe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), dhe = {
+var vL = (e, t) => t ? Math.round(e / t * 100) : 0, ahe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, yL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, bL = (e) => (e.max_reached || 0) * 100, ohe = (e) => e.kind === "online" ? "在线直接观看" : yL(e) < bL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", she = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, che = (e) => Math.max(1, ...e) * 1.1, lhe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), uhe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -48876,18 +48878,18 @@ var _L = (e, t) => t ? Math.round(e / t * 100) : 0, ohe = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, fhe = (e) => e.map((e) => ({
- name: dhe[e.k] ?? e.k,
+}, dhe = (e) => e.map((e) => ({
+ name: uhe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), phe = {
+})).sort((e, t) => t.value - e.value), fhe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, bL = (e, t = {}) => e.map((e) => ({
+}, xL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), mhe = (e) => bL(e, phe), hhe = [
+})), phe = (e) => xL(e, fhe), mhe = [
[
1,
1,
@@ -48923,49 +48925,49 @@ var _L = (e, t) => t ? Math.round(e / t * 100) : 0, ohe = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], ghe = (e) => hhe.map(([t, n, r]) => ({
+], hhe = (e) => mhe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), _he = /* @__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 xL(e) {
- return typeof e == "string" && _he.includes(e);
+})), ghe = /* @__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 SL(e) {
+ return typeof e == "string" && ghe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var vhe = /* @__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 SL(e) {
- return typeof e == "string" && vhe.has(e);
-}
+var _he = /* @__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 CL(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && _he.has(e);
}
function wL(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function TL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (SL(n) || CL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (CL(n) || wL(n)) && (t[n] = e[n]);
return t;
}
-function TL(e) {
+function EL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, L.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return wL(t);
+ return TL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? wL(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? TL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function EL(e) {
+function DL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (SL(n) || CL(n) || xL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (CL(n) || wL(n) || SL(n)) && (t[n] = e[n]);
return t;
}
-function yhe(e) {
- return e == null ? null : /*#__PURE__*/ (0, L.isValidElement)(e) ? EL(e.props) : typeof e == "object" && !Array.isArray(e) ? EL(e) : null;
+function vhe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, L.isValidElement)(e) ? DL(e.props) : typeof e == "object" && !Array.isArray(e) ? DL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var bhe = [
+var yhe = [
"children",
"width",
"height",
@@ -48975,25 +48977,25 @@ var bhe = [
"title",
"desc"
];
-function DL() {
- return DL = Object.assign ? Object.assign.bind() : function(e) {
+function OL() {
+ return OL = 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;
- }, DL.apply(null, arguments);
+ }, OL.apply(null, arguments);
}
-function xhe(e, t) {
+function bhe(e, t) {
if (e == null) return {};
- var n, r, i = She(e, t);
+ var n, r, i = xhe(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 She(e, t) {
+function xhe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49002,14 +49004,14 @@ function She(e, t) {
}
return n;
}
-var OL = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = xhe(e, bhe), d = a || {
+var kL = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = bhe(e, yhe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Au("recharts-surface", o);
- return /*#__PURE__*/ L.createElement("svg", DL({}, EL(u), {
+ return /*#__PURE__*/ L.createElement("svg", OL({}, DL(u), {
className: f,
width: r,
height: i,
@@ -49017,26 +49019,26 @@ var OL = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ L.createElement("title", null, c), /*#__PURE__*/ L.createElement("desc", null, l), n);
-}), Che = ["children", "className"];
-function kL() {
- return kL = Object.assign ? Object.assign.bind() : function(e) {
+}), She = ["children", "className"];
+function AL() {
+ return AL = 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;
- }, kL.apply(null, arguments);
+ }, AL.apply(null, arguments);
}
-function whe(e, t) {
+function Che(e, t) {
if (e == null) return {};
- var n, r, i = The(e, t);
+ var n, r, i = whe(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 The(e, t) {
+function whe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49045,39 +49047,39 @@ function The(e, t) {
}
return n;
}
-var AL = /*#__PURE__*/ L.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = whe(e, Che), a = Au("recharts-layer", r);
- return /*#__PURE__*/ L.createElement("g", kL({ className: a }, EL(i), { ref: t }), n);
-}), jL = /*#__PURE__*/ (0, L.createContext)(null), Ehe = () => (0, L.useContext)(jL);
+var jL = /*#__PURE__*/ L.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Che(e, She), a = Au("recharts-layer", r);
+ return /*#__PURE__*/ L.createElement("g", AL({ className: a }, DL(i), { ref: t }), n);
+}), ML = /*#__PURE__*/ (0, L.createContext)(null), The = () => (0, L.useContext)(ML);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function ML(e) {
+function NL(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var NL = Math.cos, PL = Math.sin, FL = Math.sqrt, IL = Math.PI;
-IL / 2;
-var LL = 2 * IL, RL = Math.PI, zL = 2 * RL, BL = 1e-6, Dhe = zL - BL;
-function VL(e) {
+var PL = Math.cos, FL = Math.sin, IL = Math.sqrt, LL = Math.PI;
+LL / 2;
+var RL = 2 * LL, zL = Math.PI, BL = 2 * zL, VL = 1e-6, Ehe = BL - VL;
+function HL(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Ohe(e) {
+function Dhe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return VL;
+ if (t > 15) return HL;
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 HL = class {
+var UL = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? VL : Ohe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? HL : Dhe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -49098,18 +49100,18 @@ var HL = 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 > BL) {
- if (!(Math.abs(u * s - c * l) > BL) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > VL) {
+ if (!(Math.abs(u * s - c * l) > VL) || !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((RL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > BL && 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((zL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > VL && 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) > BL || Math.abs(this._y1 - l) > BL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % zL + zL), d > Dhe ? 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 > BL && this._append`A${n},${n},0,${+(d >= RL)},${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) > VL || Math.abs(this._y1 - l) > VL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % BL + BL), d > Ehe ? 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 > VL && this._append`A${n},${n},0,${+(d >= zL)},${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`;
@@ -49118,10 +49120,10 @@ var HL = class {
return this._;
}
};
-HL.prototype;
+UL.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function UL(e) {
+function WL(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -49132,18 +49134,18 @@ function UL(e) {
t = e;
}
return e;
- }, () => new HL(t);
+ }, () => new UL(t);
}
Array.prototype.slice;
-function WL(e) {
+function GL(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 GL(e) {
+function KL(e) {
this._context = e;
}
-GL.prototype = {
+KL.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49166,33 +49168,33 @@ GL.prototype = {
}
}
};
-function KL(e) {
- return new GL(e);
+function qL(e) {
+ return new KL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function qL(e) {
+function JL(e) {
return e[0];
}
-function JL(e) {
+function YL(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function YL(e, t) {
- var n = ML(!0), r = null, i = KL, a = null, o = UL(s);
- e = typeof e == "function" ? e : e === void 0 ? qL : ML(e), t = typeof t == "function" ? t : t === void 0 ? JL : ML(t);
+function XL(e, t) {
+ var n = NL(!0), r = null, i = qL, a = null, o = WL(s);
+ e = typeof e == "function" ? e : e === void 0 ? JL : NL(e), t = typeof t == "function" ? t : t === void 0 ? YL : NL(t);
function s(s) {
- var c, l = (s = WL(s)).length, u, d = !1, f;
+ var c, l = (s = GL(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 : ML(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : NL(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ML(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : NL(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : ML(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : NL(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -49201,11 +49203,11 @@ function YL(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function XL(e, t, n) {
- var r = null, i = ML(!0), a = null, o = KL, s = null, c = UL(l);
- e = typeof e == "function" ? e : e === void 0 ? qL : ML(+e), t = typeof t == "function" ? t : ML(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? JL : ML(+n);
+function ZL(e, t, n) {
+ var r = null, i = NL(!0), a = null, o = qL, s = null, c = WL(l);
+ e = typeof e == "function" ? e : e === void 0 ? JL : NL(+e), t = typeof t == "function" ? t : NL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? YL : NL(+n);
function l(l) {
- var u, d, f, p = (l = WL(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = GL(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();
@@ -49219,20 +49221,20 @@ function XL(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return YL().defined(i).curve(o).context(a);
+ return XL().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : ML(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : NL(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : ML(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : NL(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : ML(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : NL(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ML(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : NL(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ML(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : NL(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : ML(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : NL(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -49240,7 +49242,7 @@ function XL(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : ML(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : NL(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -49249,7 +49251,7 @@ function XL(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var ZL = class {
+var QL = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -49276,70 +49278,70 @@ var ZL = class {
this._x0 = e, this._y0 = t;
}
};
-function khe(e) {
- return new ZL(e, !0);
+function Ohe(e) {
+ return new QL(e, !0);
}
-function Ahe(e) {
- return new ZL(e, !1);
+function khe(e) {
+ return new QL(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var QL = { draw(e, t) {
- let n = FL(t / IL);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, LL);
-} }, jhe = { draw(e, t) {
- let n = FL(t / 5) / 2;
+var $L = { draw(e, t) {
+ let n = IL(t / LL);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, RL);
+} }, Ahe = { draw(e, t) {
+ let n = IL(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();
-} }, $L = FL(1 / 3), Mhe = $L * 2, Nhe = { draw(e, t) {
- let n = FL(t / Mhe), r = n * $L;
+} }, eR = IL(1 / 3), jhe = eR * 2, Mhe = { draw(e, t) {
+ let n = IL(t / jhe), r = n * eR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Phe = { draw(e, t) {
- let n = FL(t), r = -n / 2;
+} }, Nhe = { draw(e, t) {
+ let n = IL(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Fhe = .8908130915292852, eR = PL(IL / 10) / PL(7 * IL / 10), Ihe = PL(LL / 10) * eR, Lhe = -NL(LL / 10) * eR, Rhe = { draw(e, t) {
- let n = FL(t * Fhe), r = Ihe * n, i = Lhe * n;
+} }, Phe = .8908130915292852, tR = FL(LL / 10) / FL(7 * LL / 10), Fhe = FL(RL / 10) * tR, Ihe = -PL(RL / 10) * tR, Lhe = { draw(e, t) {
+ let n = IL(t * Phe), r = Fhe * n, i = Ihe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = LL * t / 5, o = NL(a), s = PL(a);
+ let a = RL * t / 5, o = PL(a), s = FL(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, tR = FL(3), zhe = { draw(e, t) {
- let n = -FL(t / (tR * 3));
- e.moveTo(0, n * 2), e.lineTo(-tR * n, -n), e.lineTo(tR * n, -n), e.closePath();
-} }, nR = -.5, rR = FL(3) / 2, iR = 1 / FL(12), Bhe = (iR / 2 + 1) * 3, Vhe = { draw(e, t) {
- let n = FL(t / Bhe), r = n / 2, i = n * iR, a = r, o = n * iR + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(nR * r - rR * i, rR * r + nR * i), e.lineTo(nR * a - rR * o, rR * a + nR * o), e.lineTo(nR * s - rR * c, rR * s + nR * c), e.lineTo(nR * r + rR * i, nR * i - rR * r), e.lineTo(nR * a + rR * o, nR * o - rR * a), e.lineTo(nR * s + rR * c, nR * c - rR * s), e.closePath();
+} }, nR = IL(3), Rhe = { draw(e, t) {
+ let n = -IL(t / (nR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-nR * n, -n), e.lineTo(nR * n, -n), e.closePath();
+} }, rR = -.5, iR = IL(3) / 2, aR = 1 / IL(12), zhe = (aR / 2 + 1) * 3, Bhe = { draw(e, t) {
+ let n = IL(t / zhe), r = n / 2, i = n * aR, a = r, o = n * aR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(rR * r - iR * i, iR * r + rR * i), e.lineTo(rR * a - iR * o, iR * a + rR * o), e.lineTo(rR * s - iR * c, iR * s + rR * c), e.lineTo(rR * r + iR * i, rR * i - iR * r), e.lineTo(rR * a + iR * o, rR * o - iR * a), e.lineTo(rR * s + iR * c, rR * c - iR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Hhe(e, t) {
- let n = null, r = UL(i);
- e = typeof e == "function" ? e : ML(e || QL), t = typeof t == "function" ? t : ML(t === void 0 ? 64 : +t);
+function Vhe(e, t) {
+ let n = null, r = WL(i);
+ e = typeof e == "function" ? e : NL(e || $L), t = typeof t == "function" ? t : NL(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 : ML(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : NL(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : ML(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : NL(+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 aR() {}
+function oR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function oR(e, t, n) {
+function sR(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 sR(e) {
+function cR(e) {
this._context = e;
}
-sR.prototype = {
+cR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49351,7 +49353,7 @@ sR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: oR(this, this._x1, this._y1);
+ case 3: sR(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;
@@ -49365,22 +49367,22 @@ sR.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: oR(this, e, t);
+ default: sR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Uhe(e) {
- return new sR(e);
+function Hhe(e) {
+ return new cR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function cR(e) {
+function lR(e) {
this._context = e;
}
-cR.prototype = {
- areaStart: aR,
- areaEnd: aR,
+lR.prototype = {
+ areaStart: oR,
+ areaEnd: oR,
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;
},
@@ -49406,20 +49408,20 @@ cR.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: oR(this, e, t);
+ default: sR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Whe(e) {
- return new cR(e);
+function Uhe(e) {
+ return new lR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function lR(e) {
+function uR(e) {
this._context = e;
}
-lR.prototype = {
+uR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49446,22 +49448,22 @@ lR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: oR(this, e, t);
+ default: sR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Ghe(e) {
- return new lR(e);
+function Whe(e) {
+ return new uR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function uR(e) {
+function dR(e) {
this._context = e;
}
-uR.prototype = {
- areaStart: aR,
- areaEnd: aR,
+dR.prototype = {
+ areaStart: oR,
+ areaEnd: oR,
lineStart: function() {
this._point = 0;
},
@@ -49472,30 +49474,30 @@ uR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Khe(e) {
- return new uR(e);
+function Ghe(e) {
+ return new dR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function dR(e) {
+function fR(e) {
return e < 0 ? -1 : 1;
}
-function fR(e, t, n) {
+function pR(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 (dR(a) + dR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (fR(a) + fR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function pR(e, t) {
+function mR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function mR(e, t, n) {
+function hR(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 hR(e) {
+function gR(e) {
this._context = e;
}
-hR.prototype = {
+gR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49510,7 +49512,7 @@ hR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: mR(this, this._t0, pR(this, this._t0));
+ case 3: hR(this, this._t0, mR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -49525,24 +49527,24 @@ hR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, mR(this, pR(this, n = fR(this, e, t)), n);
+ this._point = 3, hR(this, mR(this, n = pR(this, e, t)), n);
break;
- default: mR(this, this._t0, n = fR(this, e, t));
+ default: hR(this, this._t0, n = pR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function gR(e) {
- this._context = new _R(e);
+function _R(e) {
+ this._context = new vR(e);
}
-(gR.prototype = Object.create(hR.prototype)).point = function(e, t) {
- hR.prototype.point.call(this, t, e);
+(_R.prototype = Object.create(gR.prototype)).point = function(e, t) {
+ gR.prototype.point.call(this, t, e);
};
-function _R(e) {
+function vR(e) {
this._context = e;
}
-_R.prototype = {
+vR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -49556,18 +49558,18 @@ _R.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function qhe(e) {
- return new hR(e);
-}
-function Jhe(e) {
+function Khe(e) {
return new gR(e);
}
+function qhe(e) {
+ return new _R(e);
+}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function vR(e) {
+function yR(e) {
this._context = e;
}
-vR.prototype = {
+yR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49581,7 +49583,7 @@ vR.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 = yR(e), i = yR(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 = bR(e), i = bR(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;
},
@@ -49589,7 +49591,7 @@ vR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function yR(e) {
+function bR(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];
@@ -49597,15 +49599,15 @@ function yR(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 Yhe(e) {
- return new vR(e);
+function Jhe(e) {
+ return new yR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function bR(e, t) {
+function xR(e, t) {
this._context = e, this._t = t;
}
-bR.prototype = {
+xR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -49633,78 +49635,78 @@ bR.prototype = {
this._x = e, this._y = t;
}
};
+function Yhe(e) {
+ return new xR(e, .5);
+}
function Xhe(e) {
- return new bR(e, .5);
+ return new xR(e, 0);
}
function Zhe(e) {
- return new bR(e, 0);
-}
-function Qhe(e) {
- return new bR(e, 1);
+ return new xR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function xR(e, t) {
+function SR(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 SR(e) {
+function CR(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 $he(e, t) {
+function Qhe(e, t) {
return e[t];
}
-function ege(e) {
+function $he(e) {
let t = [];
return t.key = e, t;
}
-function tge() {
- var e = ML([]), t = SR, n = xR, r = $he;
+function ege() {
+ var e = NL([]), t = CR, n = SR, r = Qhe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), ege), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), $he), 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 = WL(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = GL(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 : ML(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : NL(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : ML(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : NL(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? SR : typeof e == "function" ? e : ML(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? CR : typeof e == "function" ? e : NL(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? xR, i) : n;
+ return arguments.length ? (n = e ?? SR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function nge(e, t) {
+function tge(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;
}
- xR(e, t);
+ SR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function rge(e, t) {
+function nge(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;
}
- xR(e, t);
+ SR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function ige(e, t) {
+function rge(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) {
@@ -49716,53 +49718,53 @@ function ige(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, xR(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, SR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function CR(e) {
+function wR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var age = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function wR(e) {
+var ige = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function TR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : age.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : ige.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function TR(e) {
+function ER(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function ER(e) {
+function DR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function oge(e) {
- return e == null ? "" : DR(e);
+function age(e) {
+ return e == null ? "" : OR(e);
}
-function DR(e) {
+function OR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(DR).join(",");
- if (ER(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(OR).join(",");
+ if (DR(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 OR(e) {
- if (Array.isArray(e)) return e.map(TR);
+function kR(e) {
+ if (Array.isArray(e)) return e.map(ER);
if (typeof e == "symbol") return [e];
- e = oge(e);
+ e = age(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -49790,100 +49792,100 @@ function OR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function kR(e, t, n) {
+function AR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (CR(t)) return n;
+ if (wR(t)) return n;
let r = e[t];
- return r === void 0 ? wR(t) && !Object.hasOwn(e, t) ? kR(e, OR(t), n) : n : r;
+ return r === void 0 ? TR(t) && !Object.hasOwn(e, t) ? AR(e, kR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = TR(t));
+ typeof t == "number" && (t = ER(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return sge(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), CR(t)) return n;
+ if (Array.isArray(t)) return oge(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), wR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function sge(e, t, n) {
+function oge(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || CR(t[e])) return n;
+ if (r == null || wR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var cge = 4;
-function AR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : cge), n = Math.round(e * t) / t;
+var sge = 4;
+function jR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : sge), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function jR(e) {
+function MR(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 + AR(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + jR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var MR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, NR = (e) => typeof e == "number" && e != +e, PR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !NR(e), FR = (e) => Z(e) || typeof e == "string", lge = 0, IR = (e) => {
- var t = ++lge;
+var NR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, PR = (e) => typeof e == "number" && e != +e, FR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !PR(e), IR = (e) => Z(e) || typeof e == "string", cge = 0, LR = (e) => {
+ var t = ++cge;
return `${e || ""}${t}`;
-}, LR = function(e, t) {
+}, RR = 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 (PR(e)) {
+ if (FR(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return NR(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, RR = (e) => {
+ return PR(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, zR = (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 zR(e, t, n) {
- return Z(e) && Z(t) ? AR(e + n * (t - e)) : t;
-}
function BR(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : kR(e, t)) === n);
+ return Z(e) && Z(t) ? jR(e + n * (t - e)) : t;
+}
+function VR(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : AR(e, t)) === n);
}
-var VR = (e) => e == null, HR = (e) => VR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function UR(e) {
+var HR = (e) => e == null, UR = (e) => HR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function WR(e) {
return e != null;
}
-function WR() {}
+function GR() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var uge = [
+var lge = [
"type",
"size",
"sizeType"
];
-function GR() {
- return GR = Object.assign ? Object.assign.bind() : function(e) {
+function KR() {
+ return KR = 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;
- }, GR.apply(null, arguments);
+ }, KR.apply(null, arguments);
}
-function KR(e, t) {
+function qR(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49893,30 +49895,30 @@ function KR(e, t) {
}
return n;
}
-function qR(e) {
+function JR(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KR(Object(n), !0).forEach(function(t) {
- dge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KR(Object(n)).forEach(function(t) {
+ t % 2 ? qR(Object(n), !0).forEach(function(t) {
+ uge(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 dge(e, t, n) {
- return (t = fge(t)) in e ? Object.defineProperty(e, t, {
+function uge(e, t, n) {
+ return (t = dge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fge(e) {
- var t = pge(e, "string");
+function dge(e) {
+ var t = fge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pge(e, t) {
+function fge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49926,16 +49928,16 @@ function pge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mge(e, t) {
+function pge(e, t) {
if (e == null) return {};
- var n, r, i = hge(e, t);
+ var n, r, i = mge(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 hge(e, t) {
+function mge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49944,68 +49946,68 @@ function hge(e, t) {
}
return n;
}
-var JR = {
- symbolCircle: QL,
- symbolCross: jhe,
- symbolDiamond: Nhe,
- symbolSquare: Phe,
- symbolStar: Rhe,
- symbolTriangle: zhe,
- symbolWye: Vhe
-}, gge = Math.PI / 180, _ge = (e) => JR[`symbol${HR(e)}`] || QL, vge = (e, t, n) => {
+var YR = {
+ symbolCircle: $L,
+ symbolCross: Ahe,
+ symbolDiamond: Mhe,
+ symbolSquare: Nhe,
+ symbolStar: Lhe,
+ symbolTriangle: Rhe,
+ symbolWye: Bhe
+}, hge = Math.PI / 180, gge = (e) => YR[`symbol${UR(e)}`] || $L, _ge = (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 * gge;
+ var r = 18 * hge;
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;
}
-}, yge = (e, t) => {
- JR[`symbol${HR(e)}`] = t;
-}, YR = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = qR(qR({}, mge(e, uge)), {}, {
+}, vge = (e, t) => {
+ YR[`symbol${UR(e)}`] = t;
+}, XR = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = JR(JR({}, pge(e, lge)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = _ge(a), t = Hhe().type(e).size(vge(n, r, a))();
+ var e = gge(a), t = Vhe().type(e).size(_ge(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = EL(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ L.createElement("path", GR({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = DL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ L.createElement("path", KR({}, u, {
className: Au("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-YR.registerSymbol = yge;
+XR.registerSymbol = vge;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var XR = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, ZR = (e, t) => {
+var ZR = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, QR = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, L.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- xL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ SL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, bge = (e, t, n) => (r) => (e(t, n, r), null), QR = (e, t, n) => {
+}, yge = (e, t, n) => (r) => (e(t, n, r), null), $R = (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];
- xL(i) && typeof a == "function" && (r ||= {}, r[i] = bge(a, t, n));
+ SL(i) && typeof a == "function" && (r ||= {}, r[i] = yge(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function $R(e, t) {
+function ez(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50015,30 +50017,30 @@ function $R(e, t) {
}
return n;
}
-function xge(e) {
+function bge(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $R(Object(n), !0).forEach(function(t) {
- Sge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $R(Object(n)).forEach(function(t) {
+ t % 2 ? ez(Object(n), !0).forEach(function(t) {
+ xge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ez(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Sge(e, t, n) {
- return (t = Cge(t)) in e ? Object.defineProperty(e, t, {
+function xge(e, t, n) {
+ return (t = Sge(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 Sge(e) {
+ var t = Cge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wge(e, t) {
+function Cge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50048,22 +50050,22 @@ function wge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ez(e, t) {
- var n = xge({}, e), r = t;
+function tz(e, t) {
+ var n = bge({}, 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 tz() {
- return tz = Object.assign ? Object.assign.bind() : function(e) {
+function nz() {
+ return nz = 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;
- }, tz.apply(null, arguments);
+ }, nz.apply(null, arguments);
}
-function nz(e, t) {
+function rz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50073,30 +50075,30 @@ function nz(e, t) {
}
return n;
}
-function rz(e) {
+function iz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nz(Object(n), !0).forEach(function(t) {
- Tge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nz(Object(n)).forEach(function(t) {
+ t % 2 ? rz(Object(n), !0).forEach(function(t) {
+ wge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Tge(e, t, n) {
- return (t = Ege(t)) in e ? Object.defineProperty(e, t, {
+function wge(e, t, n) {
+ return (t = Tge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ege(e) {
- var t = Dge(e, "string");
+function Tge(e) {
+ var t = Ege(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Dge(e, t) {
+function Ege(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50106,7 +50108,7 @@ function Dge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var iz = 32, Oge = {
+var az = 32, Dge = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -50114,20 +50116,20 @@ var iz = 32, Oge = {
verticalAlign: "middle",
labelStyle: {}
};
-function kge(e) {
+function Oge(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Age(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = iz / 2, a = iz / 6, o = iz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function kge(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = az / 2, a = az / 6, o = az / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ L.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: kge(t.payload),
+ strokeDasharray: Oge(t.payload),
x1: 0,
y1: i,
- x2: iz,
+ x2: az,
y2: i,
className: "recharts-legend-icon"
});
@@ -50137,35 +50139,35 @@ function Age(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${iz}M${2 * o},${i}
+ H${az}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ L.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${iz / 8}h${iz}v${iz * 3 / 4}h${-iz}z`,
+ d: `M0,${az / 8}h${az}v${az * 3 / 4}h${-az}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ L.isValidElement(t.legendIcon)) {
- var l = rz({}, t);
+ var l = iz({}, t);
return delete l.legendIcon, /*#__PURE__*/ L.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ L.createElement(YR, {
+ return /*#__PURE__*/ L.createElement(XR, {
fill: s,
cx: i,
cy: i,
- size: iz,
+ size: az,
sizeType: "diameter",
type: c
});
}
-function jge(e) {
+function Age(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: iz,
- height: iz
+ width: az,
+ height: az
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -50181,20 +50183,20 @@ function jge(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? rz({}, s) : {};
+ var p = typeof s == "object" ? iz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ L.createElement("li", tz({
+ return /*#__PURE__*/ L.createElement("li", nz({
className: f,
style: l,
key: `legend-item-${r}`
- }, QR(e, t, r)), /*#__PURE__*/ L.createElement(OL, {
+ }, $R(e, t, r)), /*#__PURE__*/ L.createElement(kL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ L.createElement(Age, {
+ }, /*#__PURE__*/ L.createElement(kge, {
data: t,
iconType: o,
inactiveColor: a
@@ -50204,8 +50206,8 @@ function jge(e) {
}, m));
});
}
-var Mge = (e) => {
- var t = ez(e, Oge), { payload: n, layout: r, align: i } = t;
+var jge = (e) => {
+ var t = tz(e, Dge), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -50215,11 +50217,11 @@ var Mge = (e) => {
return /*#__PURE__*/ L.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ L.createElement(jge, tz({}, t, { payload: n })));
+ }, /*#__PURE__*/ L.createElement(Age, nz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function Nge(e, t) {
+function Mge(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -50229,77 +50231,77 @@ function Nge(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Pge(e, t) {
+function Nge(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function az(e) {
+function oz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Fge(e) {
+function Pge(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function oz(e) {
- return e != null && typeof e != "function" && Fge(e.length);
+function sz(e) {
+ return e != null && typeof e != "function" && Pge(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Ige(e) {
+function Fge(e) {
return function(t) {
- return kR(t, e);
+ return AR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function sz(e) {
+function cz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Lge(e) {
+function Ige(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Rge(e) {
+function Lge(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 cz(e) {
+function lz(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 zge = "[object RegExp]", lz = "[object String]", uz = "[object Number]", dz = "[object Boolean]", fz = "[object Arguments]", Bge = "[object Symbol]", Vge = "[object Date]", Hge = "[object Map]", Uge = "[object Set]", Wge = "[object Array]", Gge = "[object ArrayBuffer]", Kge = "[object Object]", qge = "[object DataView]", Jge = "[object Uint8Array]", Yge = "[object Uint8ClampedArray]", Xge = "[object Uint16Array]", Zge = "[object Uint32Array]", Qge = "[object Int8Array]", $ge = "[object Int16Array]", e_e = "[object Int32Array]", t_e = "[object Float32Array]", n_e = "[object Float64Array]", pz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Rge = "[object RegExp]", uz = "[object String]", dz = "[object Number]", fz = "[object Boolean]", pz = "[object Arguments]", zge = "[object Symbol]", Bge = "[object Date]", Vge = "[object Map]", Hge = "[object Set]", Uge = "[object Array]", Wge = "[object ArrayBuffer]", Gge = "[object Object]", Kge = "[object DataView]", qge = "[object Uint8Array]", Jge = "[object Uint8ClampedArray]", Yge = "[object Uint16Array]", Xge = "[object Uint32Array]", Zge = "[object Int8Array]", Qge = "[object Int16Array]", $ge = "[object Int32Array]", e_e = "[object Float32Array]", t_e = "[object Float64Array]", mz = 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 r_e(e) {
- return pz.Buffer !== void 0 && pz.Buffer.isBuffer(e);
+function n_e(e) {
+ return mz.Buffer !== void 0 && mz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function i_e(e, t) {
- return mz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function r_e(e, t) {
+ return hz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function mz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function hz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (sz(e)) return e;
+ if (cz(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] = mz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = hz(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());
@@ -50310,132 +50312,132 @@ function mz(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, mz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, hz(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(mz(a, void 0, n, r, i));
+ for (let a of e) t.add(hz(a, void 0, n, r, i));
return t;
}
- if (r_e(e)) return e.subarray();
- if (Lge(e)) {
+ if (n_e(e)) return e.subarray();
+ if (Ige(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = mz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = hz(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), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(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), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(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), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(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, hz(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, gz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(t, e, n, r, i), t;
}
- if (typeof e == "object" && a_e(e)) {
+ if (typeof e == "object" && i_e(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), hz(t, e, n, r, i), t;
+ return r.set(e, t), gz(t, e, n, r, i), t;
}
return e;
}
-function hz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Rge(t)];
+function gz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Lge(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = mz(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = hz(t[s], s, n, r, i));
}
}
-function a_e(e) {
- switch (cz(e)) {
- case fz:
+function i_e(e) {
+ switch (lz(e)) {
+ case pz:
+ case Uge:
case Wge:
- case Gge:
- case qge:
- case dz:
- case Vge:
+ case Kge:
+ case fz:
+ case Bge:
+ case e_e:
case t_e:
- case n_e:
+ case Zge:
case Qge:
case $ge:
- case e_e:
+ case Vge:
+ case dz:
+ case Gge:
+ case Rge:
case Hge:
case uz:
- case Kge:
case zge:
- case Uge:
- case lz:
- case Bge:
+ case qge:
case Jge:
case Yge:
- case Xge:
- case Zge: return !0;
+ case Xge: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function o_e(e) {
- return mz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function a_e(e) {
+ return hz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function gz(e, t) {
+function _z(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function _z(e) {
+function vz(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function vz(e, t, n) {
- return typeof n == "function" ? yz(e, t, function e(t, r, i, a, o, s) {
+function yz(e, t, n) {
+ return typeof n == "function" ? bz(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? yz(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : vz(e, t, () => void 0);
+ return c === void 0 ? bz(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : yz(e, t, () => void 0);
}
-function yz(e, t, n, r, i = !1) {
+function bz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return s_e(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? yz(e, { ...t }, n, r, i) : gz(e, t);
- default: return _z(e) && i ? typeof t != "string" || t === "" : gz(e, t);
+ case "object": return o_e(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? bz(e, { ...t }, n, r, i) : _z(e, t);
+ default: return vz(e) && i ? typeof t != "string" || t === "" : _z(e, t);
}
}
-function s_e(e, t, n, r, i = !1) {
+function o_e(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return bz(e, t, n, r);
- if (t instanceof Map) return c_e(e, t, n, r);
- if (t instanceof Set) return l_e(e, t, n, r);
+ if (Array.isArray(t)) return xz(e, t, n, r);
+ if (t instanceof Map) return s_e(e, t, n, r);
+ if (t instanceof Set) return c_e(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) sz(e) && (e = Object(e));
+ if (i) cz(e) && (e = Object(e));
else {
- let t = cz(e);
+ let t = lz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -50451,13 +50453,13 @@ function s_e(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function c_e(e, t, n, r) {
+function s_e(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 bz(e, t, n, r) {
+function xz(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -50475,40 +50477,40 @@ function bz(e, t, n, r) {
}
return !0;
}
-function l_e(e, t, n, r) {
- return t.size === 0 || e instanceof Set && bz([...e], [...t], n, r);
+function c_e(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && xz([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function xz(e, t) {
- return vz(e, t, () => void 0);
+function Sz(e, t) {
+ return yz(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function u_e(e) {
- return e = o_e(e), (t) => xz(t, e);
+function l_e(e) {
+ return e = a_e(e), (t) => Sz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function d_e(e, t) {
- return i_e(e, (n, r, i, a) => {
+function u_e(e, t) {
+ return r_e(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (cz(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (lz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), hz(t, e, i, a), t;
+ return a.set(e, t), gz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case dz:
case uz:
- case lz:
- case dz: {
+ case fz: {
let t = new e.constructor(e?.valueOf());
- return hz(t, e), t;
+ return gz(t, e), t;
}
- case fz: {
+ case pz: {
let t = {};
- return hz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return gz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -50517,79 +50519,79 @@ function d_e(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function f_e(e) {
- return d_e(e);
+function d_e(e) {
+ return u_e(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var p_e = /^(?:0|[1-9]\d*)$/;
-function Sz(e, t = 2 ** 53 - 1) {
+var f_e = /^(?:0|[1-9]\d*)$/;
+function Cz(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 p_e.test(e);
+ case "string": return f_e.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function m_e(e) {
- return typeof e == "object" && !!e && cz(e) === "[object Arguments]";
+function p_e(e) {
+ return typeof e == "object" && !!e && lz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function h_e(e, t) {
+function m_e(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && wR(t) && !(t in Object(e)) ? OR(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && TR(t) && !(t in Object(e)) ? kR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = TR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || m_e(r)) && Sz(t) && Number(t) < r.length)) return !1;
+ let t = ER(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || p_e(r)) && Cz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function g_e(e, t) {
+function h_e(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = TR(e);
+ case "number": e = ER(e);
}
- return t = f_e(t), function(n) {
- let r = kR(n, e);
- return r === void 0 ? h_e(n, e) : t === void 0 ? r === void 0 : xz(r, t);
+ return t = d_e(t), function(n) {
+ let r = AR(n, e);
+ return r === void 0 ? m_e(n, e) : t === void 0 ? r === void 0 : Sz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function Cz(e) {
- if (e == null) return az;
+function wz(e) {
+ if (e == null) return oz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? g_e(e[0], e[1]) : u_e(e);
- default: return Ige(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? h_e(e[0], e[1]) : l_e(e);
+ default: return Fge(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function __e(e) {
+function g_e(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function wz(e, t = az) {
- return oz(e) ? Nge(Array.from(e), Pge(Cz(t), 1)).map(__e) : [];
+function Tz(e, t = oz) {
+ return sz(e) ? Mge(Array.from(e), Nge(wz(t), 1)).map(g_e) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function Tz(e, t, n) {
- return t === !0 ? wz(e, n) : typeof t == "function" ? wz(e, t) : e;
+function Ez(e, t, n) {
+ return t === !0 ? Tz(e, n) : typeof t == "function" ? Tz(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var v_e = /* @__PURE__ */ Te(((e) => {
+var __e = /* @__PURE__ */ Te(((e) => {
var t = Ne(), n = Wp();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -50634,60 +50636,60 @@ var v_e = /* @__PURE__ */ Te(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), y_e = /* @__PURE__ */ Te(((e, t) => {
- t.exports = v_e();
-})), Ez = /*#__PURE__*/ (0, L.createContext)(null), b_e = y_e(), x_e = (e) => e, Dz = () => {
- var e = (0, L.useContext)(Ez);
- return e ? e.store.dispatch : x_e;
-}, Oz = () => {}, S_e = () => Oz, C_e = (e, t) => e === t;
+})), v_e = /* @__PURE__ */ Te(((e, t) => {
+ t.exports = __e();
+})), Dz = /*#__PURE__*/ (0, L.createContext)(null), y_e = v_e(), b_e = (e) => e, Oz = () => {
+ var e = (0, L.useContext)(Dz);
+ return e ? e.store.dispatch : b_e;
+}, kz = () => {}, x_e = () => kz, S_e = (e, t) => e === t;
function Q(e) {
- var t = (0, L.useContext)(Ez), n = (0, L.useMemo)(() => t ? (t) => {
+ var t = (0, L.useContext)(Dz), n = (0, L.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Oz, [t, e]);
- return (0, b_e.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : S_e, t ? t.store.getState : Oz, t ? t.store.getState : Oz, n, C_e);
+ } : kz, [t, e]);
+ return (0, y_e.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : x_e, t ? t.store.getState : kz, t ? t.store.getState : kz, n, S_e);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function w_e(e, t = `expected a function, instead received ${typeof e}`) {
+function C_e(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function T_e(e, t = `expected an object, instead received ${typeof e}`) {
+function w_e(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function E_e(e, t = "expected all items to be functions, instead received the following types: ") {
+function T_e(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 kz = (e) => Array.isArray(e) ? e : [e];
-function D_e(e) {
+var Az = (e) => Array.isArray(e) ? e : [e];
+function E_e(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return E_e(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return T_e(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function O_e(e, t) {
+function D_e(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var k_e = class {
+var O_e = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, A_e = typeof WeakRef < "u" ? WeakRef : k_e, j_e = 0, Az = 1;
-function jz() {
+}, k_e = typeof WeakRef < "u" ? WeakRef : O_e, A_e = 0, jz = 1;
+function Mz() {
return {
- s: j_e,
+ s: A_e,
v: void 0,
o: null,
p: null
};
}
-function Mz(e, t = {}) {
- let n = jz(), { resultEqualityCheck: r } = t, i, a = 0;
+function Nz(e, t = {}) {
+ let n = Mz(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -50696,43 +50698,43 @@ function Mz(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = jz(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Mz(), 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 = jz(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Mz(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Az) c = t.v;
+ if (t.s === jz) 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 A_e(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new k_e(c) : c;
}
- return s.s = Az, s.v = c, c;
+ return s.s = jz, s.v = c, c;
}
return o.clearCache = () => {
- n = jz(), o.resetResultsCount();
+ n = Mz(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function M_e(e, ...t) {
+function j_e(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()), w_e(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Mz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), C_e(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Nz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = kz(c), p = kz(u), m = D_e(e), h = s(function() {
+ }, f = Az(c), p = Az(u), m = E_e(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = O_e(m, arguments);
+ let e = D_e(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -50754,14 +50756,14 @@ function M_e(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ M_e(Mz), N_e = Object.assign((e, t = $) => {
- T_e(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ j_e(Nz), M_e = Object.assign((e, t = $) => {
+ w_e(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: () => N_e });
+}, { withTypes: () => M_e });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function P_e(e, t = 1) {
+function N_e(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -50772,17 +50774,17 @@ function P_e(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function Nz(e, t, n) {
- return _z(n) && (typeof t == "number" && oz(n) && Sz(t) && t < n.length || typeof t == "string" && t in n) ? gz(n[t], e) : !1;
+function Pz(e, t, n) {
+ return vz(n) && (typeof t == "number" && sz(n) && Cz(t) && t < n.length || typeof t == "string" && t in n) ? _z(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function Pz(e) {
+function Fz(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var F_e = (e, t, n) => {
+var P_e = (e, t, n) => {
if (e !== t) {
- let r = Pz(e), i = Pz(t);
+ let r = Fz(e), i = Fz(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -50790,15 +50792,15 @@ var F_e = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, I_e = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, L_e = /^\w*$/;
-function R_e(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || ER(e) ? !0 : typeof e == "string" && (L_e.test(e) || !I_e.test(e)) || t != null && Object.hasOwn(t, e);
+}, F_e = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, I_e = /^\w*$/;
+function L_e(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || DR(e) ? !0 : typeof e == "string" && (I_e.test(e) || !F_e.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function z_e(e, t, n, r) {
+function R_e(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = oz(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 = sz(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]];
@@ -50806,16 +50808,16 @@ function z_e(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) || R_e(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || L_e(e) ? e : {
key: e,
- path: OR(e)
+ path: kR(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 = F_e(e.criteria[r], t.criteria[r], n[r]);
+ let i = P_e(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -50823,25 +50825,25 @@ function z_e(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function Fz(e, ...t) {
+function Iz(e, ...t) {
let n = t.length;
- return n > 1 && Nz(e, t[0], t[1]) ? t = [] : n > 2 && Nz(t[0], t[1], t[2]) && (t = [t[0]]), z_e(e, P_e(t), ["asc"]);
+ return n > 1 && Pz(e, t[0], t[1]) ? t = [] : n > 2 && Pz(t[0], t[1], t[2]) && (t = [t[0]]), R_e(e, N_e(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var Iz = (e) => e.legend.settings, B_e = (e) => e.legend.size, V_e = $([(e) => e.legend.payload, Iz], (e, t) => {
+var Lz = (e) => e.legend.settings, z_e = (e) => e.legend.size, B_e = $([(e) => e.legend.payload, Lz], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? Fz(r, n) : r;
+ return n ? Iz(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function H_e() {
- return Q(V_e);
+function V_e() {
+ return Q(B_e);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var Lz = 1;
-function Rz() {
+var Rz = 1;
+function zz() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, L.useState)({
height: 0,
left: 0,
@@ -50856,7 +50858,7 @@ function Rz() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > Lz || Math.abs(i.left - t.left) > Lz || Math.abs(i.top - t.top) > Lz || Math.abs(i.width - t.width) > Lz) && n({
+ (Math.abs(i.height - t.height) > Rz || Math.abs(i.left - t.left) > Rz || Math.abs(i.top - t.top) > Rz || Math.abs(i.width - t.width) > Rz) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -50873,26 +50875,26 @@ function Rz() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function zz(e) {
+function Bz(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var Bz = typeof Symbol == "function" && Symbol.observable || "@@observable", Vz = () => Math.random().toString(36).substring(7).split("").join("."), Hz = {
- INIT: `@@redux/INIT${/* @__PURE__ */ Vz()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Vz()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Vz()}`
+var Vz = typeof Symbol == "function" && Symbol.observable || "@@observable", Hz = () => Math.random().toString(36).substring(7).split("").join("."), Uz = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ Hz()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Hz()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Hz()}`
};
-function Uz(e) {
+function Wz(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function Wz(e, t, n) {
- if (typeof e != "function") throw Error(zz(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(zz(0));
+function Gz(e, t, n) {
+ if (typeof e != "function") throw Error(Bz(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Bz(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(zz(1));
- return n(Wz)(e, t);
+ if (typeof n != "function") throw Error(Bz(1));
+ return n(Gz)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -50901,27 +50903,27 @@ function Wz(e, t, n) {
}));
}
function u() {
- if (c) throw Error(zz(3));
+ if (c) throw Error(Bz(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(zz(4));
- if (c) throw Error(zz(5));
+ if (typeof e != "function") throw Error(Bz(4));
+ if (c) throw Error(Bz(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(zz(6));
+ if (c) throw Error(Bz(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!Uz(e)) throw Error(zz(7));
- if (e.type === void 0) throw Error(zz(8));
- if (typeof e.type != "string") throw Error(zz(17));
- if (c) throw Error(zz(9));
+ if (!Wz(e)) throw Error(Bz(7));
+ if (e.type === void 0) throw Error(Bz(8));
+ if (typeof e.type != "string") throw Error(Bz(17));
+ if (c) throw Error(Bz(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -50932,41 +50934,41 @@ function Wz(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(zz(10));
- r = e, f({ type: Hz.REPLACE });
+ if (typeof e != "function") throw Error(Bz(10));
+ r = e, f({ type: Uz.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(zz(11));
+ if (typeof t != "object" || !t) throw Error(Bz(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [Bz]() {
+ [Vz]() {
return this;
}
};
}
- return f({ type: Hz.INIT }), {
+ return f({ type: Uz.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [Bz]: m
+ [Vz]: m
};
}
-function U_e(e) {
+function H_e(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: Hz.INIT }) === void 0) throw Error(zz(12));
- if (n(void 0, { type: Hz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(zz(13));
+ if (n(void 0, { type: Uz.INIT }) === void 0) throw Error(Bz(12));
+ if (n(void 0, { type: Uz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Bz(13));
});
}
-function Gz(e) {
+function Kz(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -50974,7 +50976,7 @@ function Gz(e) {
}
let r = Object.keys(n), i;
try {
- U_e(n);
+ H_e(n);
} catch (e) {
i = e;
}
@@ -50983,124 +50985,124 @@ function Gz(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(zz(14));
+ if (u === void 0) throw t && t.type, Error(Bz(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function Kz(...e) {
+function qz(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function W_e(...e) {
+function U_e(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(zz(15));
+ throw Error(Bz(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = Kz(...e.map((e) => e(o)))(i.dispatch), {
+ return a = qz(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function qz(e) {
- return Uz(e) && "type" in e && typeof e.type == "string";
+function Jz(e) {
+ return Wz(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var Jz = Symbol.for("immer-nothing"), Yz = Symbol.for("immer-draftable"), Xz = Symbol.for("immer-state");
-function Zz(e, ...t) {
+var Yz = Symbol.for("immer-nothing"), Xz = Symbol.for("immer-draftable"), Zz = Symbol.for("immer-state");
+function Qz(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var Qz = Object, $z = Qz.getPrototypeOf, eB = "constructor", tB = "prototype", nB = "configurable", rB = "enumerable", iB = "writable", aB = "value", oB = (e) => !!e && !!e[Xz];
-function sB(e) {
- return e ? lB(e) || hB(e) || !!e[Yz] || !!e[eB]?.[Yz] || gB(e) || _B(e) : !1;
+var $z = Object, eB = $z.getPrototypeOf, tB = "constructor", nB = "prototype", rB = "configurable", iB = "enumerable", aB = "writable", oB = "value", sB = (e) => !!e && !!e[Zz];
+function cB(e) {
+ return e ? uB(e) || gB(e) || !!e[Xz] || !!e[tB]?.[Xz] || _B(e) || vB(e) : !1;
}
-var G_e = Qz[tB][eB].toString(), cB = /* @__PURE__ */ new WeakMap();
-function lB(e) {
- if (!e || !vB(e)) return !1;
- let t = $z(e);
- if (t === null || t === Qz[tB]) return !0;
- let n = Qz.hasOwnProperty.call(t, eB) && t[eB];
+var W_e = $z[nB][tB].toString(), lB = /* @__PURE__ */ new WeakMap();
+function uB(e) {
+ if (!e || !yB(e)) return !1;
+ let t = eB(e);
+ if (t === null || t === $z[nB]) return !0;
+ let n = $z.hasOwnProperty.call(t, tB) && t[tB];
if (n === Object) return !0;
- if (!yB(n)) return !1;
- let r = cB.get(n);
- return r === void 0 && (r = Function.toString.call(n), cB.set(n, r)), r === G_e;
+ if (!bB(n)) return !1;
+ let r = lB.get(n);
+ return r === void 0 && (r = Function.toString.call(n), lB.set(n, r)), r === W_e;
}
-function uB(e, t, n = !0) {
- dB(e) === 0 ? (n ? Reflect.ownKeys(e) : Qz.keys(e)).forEach((n) => {
+function dB(e, t, n = !0) {
+ fB(e) === 0 ? (n ? Reflect.ownKeys(e) : $z.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function dB(e) {
- let t = e[Xz];
- return t ? t.type_ : hB(e) ? 1 : gB(e) ? 2 : _B(e) ? 3 : 0;
+function fB(e) {
+ let t = e[Zz];
+ return t ? t.type_ : gB(e) ? 1 : _B(e) ? 2 : vB(e) ? 3 : 0;
}
-var fB = (e, t, n = dB(e)) => n === 2 ? e.has(t) : Qz[tB].hasOwnProperty.call(e, t), pB = (e, t, n = dB(e)) => n === 2 ? e.get(t) : e[t], mB = (e, t, n, r = dB(e)) => {
+var pB = (e, t, n = fB(e)) => n === 2 ? e.has(t) : $z[nB].hasOwnProperty.call(e, t), mB = (e, t, n = fB(e)) => n === 2 ? e.get(t) : e[t], hB = (e, t, n, r = fB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function K_e(e, t) {
+function G_e(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var hB = Array.isArray, gB = (e) => e instanceof Map, _B = (e) => e instanceof Set, vB = (e) => typeof e == "object", yB = (e) => typeof e == "function", bB = (e) => typeof e == "boolean";
-function q_e(e) {
+var gB = Array.isArray, _B = (e) => e instanceof Map, vB = (e) => e instanceof Set, yB = (e) => typeof e == "object", bB = (e) => typeof e == "function", xB = (e) => typeof e == "boolean";
+function K_e(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var xB = (e) => e.copy_ || e.base_, SB = (e) => e.modified_ ? e.copy_ : e.base_;
-function CB(e, t) {
- if (gB(e)) return new Map(e);
- if (_B(e)) return new Set(e);
- if (hB(e)) return Array[tB].slice.call(e);
- let n = lB(e);
+var SB = (e) => e.copy_ || e.base_, CB = (e) => e.modified_ ? e.copy_ : e.base_;
+function wB(e, t) {
+ if (_B(e)) return new Map(e);
+ if (vB(e)) return new Set(e);
+ if (gB(e)) return Array[nB].slice.call(e);
+ let n = uB(e);
if (t === !0 || t === "class_only" && !n) {
- let t = Qz.getOwnPropertyDescriptors(e);
- delete t[Xz];
+ let t = $z.getOwnPropertyDescriptors(e);
+ delete t[Zz];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[iB] === !1 && (a[iB] = !0, a[nB] = !0), (a.get || a.set) && (t[i] = {
- [nB]: !0,
- [iB]: !0,
- [rB]: a[rB],
- [aB]: e[i]
+ a[aB] === !1 && (a[aB] = !0, a[rB] = !0), (a.get || a.set) && (t[i] = {
+ [rB]: !0,
+ [aB]: !0,
+ [iB]: a[iB],
+ [oB]: e[i]
});
}
- return Qz.create($z(e), t);
+ return $z.create(eB(e), t);
}
{
- let t = $z(e);
+ let t = eB(e);
if (t !== null && n) return { ...e };
- let r = Qz.create(t);
- return Qz.assign(r, e);
- }
-}
-function wB(e, t = !1) {
- return EB(e) || oB(e) || !sB(e) ? e : (dB(e) > 1 && Qz.defineProperties(e, {
- set: TB,
- add: TB,
- clear: TB,
- delete: TB
- }), Qz.freeze(e), t && uB(e, (e, t) => {
- wB(t, !0);
+ let r = $z.create(t);
+ return $z.assign(r, e);
+ }
+}
+function TB(e, t = !1) {
+ return DB(e) || sB(e) || !cB(e) ? e : (fB(e) > 1 && $z.defineProperties(e, {
+ set: EB,
+ add: EB,
+ clear: EB,
+ delete: EB
+ }), $z.freeze(e), t && dB(e, (e, t) => {
+ TB(t, !0);
}, !1), e);
}
-function J_e() {
- Zz(2);
+function q_e() {
+ Qz(2);
}
-var TB = { [aB]: J_e };
-function EB(e) {
- return e === null || !vB(e) || Qz.isFrozen(e);
+var EB = { [oB]: q_e };
+function DB(e) {
+ return e === null || !yB(e) || $z.isFrozen(e);
}
-var DB = "MapSet", OB = "Patches", kB = "ArrayMethods", AB = {};
-function jB(e) {
- let t = AB[e];
- return t || Zz(0, e), t;
+var OB = "MapSet", kB = "Patches", AB = "ArrayMethods", jB = {};
+function MB(e) {
+ let t = jB[e];
+ return t || Qz(0, e), t;
}
-var MB = (e) => !!AB[e], NB, PB = () => NB, Y_e = (e, t) => ({
+var NB = (e) => !!jB[e], PB, FB = () => PB, J_e = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -51108,114 +51110,114 @@ var MB = (e) => !!AB[e], NB, PB = () => NB, Y_e = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: MB(DB) ? jB(DB) : void 0,
- arrayMethodsPlugin_: MB(kB) ? jB(kB) : void 0
+ mapSetPlugin_: NB(OB) ? MB(OB) : void 0,
+ arrayMethodsPlugin_: NB(AB) ? MB(AB) : void 0
});
-function FB(e, t) {
- t && (e.patchPlugin_ = jB(OB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function IB(e) {
- LB(e), e.drafts_.forEach(X_e), e.drafts_ = null;
+function IB(e, t) {
+ t && (e.patchPlugin_ = MB(kB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function LB(e) {
- e === NB && (NB = e.parent_);
+ RB(e), e.drafts_.forEach(Y_e), e.drafts_ = null;
+}
+function RB(e) {
+ e === PB && (PB = e.parent_);
}
-var RB = (e) => NB = Y_e(NB, e);
-function X_e(e) {
- let t = e[Xz];
+var zB = (e) => PB = J_e(PB, e);
+function Y_e(e) {
+ let t = e[Zz];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function zB(e, t) {
+function BB(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[Xz].modified_ && (IB(t), Zz(4)), sB(e) && (e = BB(t, e));
+ n[Zz].modified_ && (LB(t), Qz(4)), cB(e) && (e = VB(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[Xz].base_, e, t);
- } else e = BB(t, n);
- return Z_e(t, e, !0), IB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Jz ? void 0 : e;
-}
-function BB(e, t) {
- if (EB(t)) return t;
- let n = t[Xz];
- if (!n) return GB(t, e.handledSet_, e);
- if (!HB(n, e)) return t;
+ r && r.generateReplacementPatches_(n[Zz].base_, e, t);
+ } else e = VB(t, n);
+ return X_e(t, e, !0), LB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Yz ? void 0 : e;
+}
+function VB(e, t) {
+ if (DB(t)) return t;
+ let n = t[Zz];
+ if (!n) return KB(t, e.handledSet_, e);
+ if (!UB(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);
- WB(n, e);
+ GB(n, e);
}
return n.copy_;
}
-function Z_e(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && wB(t, n);
+function X_e(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && TB(t, n);
}
-function VB(e) {
+function HB(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var HB = (e, t) => e.scope_ === t, Q_e = [];
-function UB(e, t, n, r) {
- let i = xB(e), a = e.type_;
- if (r !== void 0 && pB(i, r, a) === t) {
- mB(i, r, n, a);
+var UB = (e, t) => e.scope_ === t, Z_e = [];
+function WB(e, t, n, r) {
+ let i = SB(e), a = e.type_;
+ if (r !== void 0 && mB(i, r, a) === t) {
+ hB(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- uB(i, (e, n) => {
- if (oB(n)) {
+ dB(i, (e, n) => {
+ if (sB(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? Q_e;
- for (let e of o) mB(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? Z_e;
+ for (let e of o) hB(i, e, n, a);
}
-function $_e(e, t, n) {
+function Q_e(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !HB(i, r)) return;
+ if (!i || !UB(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = SB(i);
- UB(e, i.draft_ ?? i, a, n), WB(i, r);
+ let a = CB(i);
+ WB(e, i.draft_ ?? i, a, n), GB(i, r);
});
}
-function WB(e, t) {
+function GB(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);
}
- VB(e);
+ HB(e);
}
}
-function eve(e, t, n) {
+function $_e(e, t, n) {
let { scope_: r } = e;
- if (oB(n)) {
- let i = n[Xz];
- HB(i, r) && i.callbacks_.push(function() {
- ZB(e), UB(e, n, SB(i), t);
+ if (sB(n)) {
+ let i = n[Zz];
+ UB(i, r) && i.callbacks_.push(function() {
+ QB(e), WB(e, n, CB(i), t);
});
- } else sB(n) && e.callbacks_.push(function() {
- let i = xB(e);
- e.type_ === 3 ? i.has(n) && GB(n, r.handledSet_, r) : pB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && GB(pB(e.copy_, t, e.type_), r.handledSet_, r);
+ } else cB(n) && e.callbacks_.push(function() {
+ let i = SB(e);
+ e.type_ === 3 ? i.has(n) && KB(n, r.handledSet_, r) : mB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && KB(mB(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function GB(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || oB(e) || t.has(e) || !sB(e) || EB(e) ? e : (t.add(e), uB(e, (r, i) => {
- if (oB(i)) {
- let t = i[Xz];
- HB(t, n) && (mB(e, r, SB(t), e.type_), VB(t));
- } else sB(i) && GB(i, t, n);
+function KB(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || sB(e) || t.has(e) || !cB(e) || DB(e) ? e : (t.add(e), dB(e, (r, i) => {
+ if (sB(i)) {
+ let t = i[Zz];
+ UB(t, n) && (hB(e, r, CB(t), e.type_), HB(t));
+ } else cB(i) && KB(i, t, n);
}), e);
}
-function tve(e, t) {
- let n = hB(e), r = {
+function eve(e, t) {
+ let n = gB(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : PB(),
+ scope_: t ? t.scope_ : FB(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -51226,108 +51228,108 @@ function tve(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = KB;
- n && (i = [r], a = qB);
+ }, i = r, a = qB;
+ n && (i = [r], a = JB);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var KB = {
+var qB = {
get(e, t) {
- if (t === Xz) return e;
+ if (t === Zz) 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 = xB(e);
- if (!fB(i, t, e.type_)) return rve(e, i, t);
+ let i = SB(e);
+ if (!pB(i, t, e.type_)) return nve(e, i, t);
let a = i[t];
- if (e.finalized_ || !sB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && q_e(t)) return a;
- if (a === JB(e.base_, t) || nve(e, t, a)) {
- ZB(e);
- let n = e.type_ === 1 ? +t : t, r = QB(e.scope_, a, e, n);
+ if (e.finalized_ || !cB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && K_e(t)) return a;
+ if (a === YB(e.base_, t) || tve(e, t, a)) {
+ QB(e);
+ let n = e.type_ === 1 ? +t : t, r = $B(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in xB(e);
+ return t in SB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(xB(e));
+ return Reflect.ownKeys(SB(e));
},
set(e, t, n) {
- let r = YB(xB(e), t);
+ let r = XB(SB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = JB(xB(e), t), i = r?.[Xz];
+ let r = YB(SB(e), t), i = r?.[Zz];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (K_e(n, r) && (n !== void 0 || fB(e.base_, t, e.type_))) return !0;
- ZB(e), XB(e);
+ if (G_e(n, r) && (n !== void 0 || pB(e.base_, t, e.type_))) return !0;
+ QB(e), ZB(e);
}
- return e.copy_[t] === n && (n !== void 0 || fB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), eve(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || pB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), $_e(e, t, n), !0);
},
deleteProperty(e, t) {
- return ZB(e), JB(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), XB(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return QB(e), YB(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), ZB(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = xB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = SB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [iB]: !0,
- [nB]: e.type_ !== 1 || t !== "length",
- [rB]: r[rB],
- [aB]: n[t]
+ [aB]: !0,
+ [rB]: e.type_ !== 1 || t !== "length",
+ [iB]: r[iB],
+ [oB]: n[t]
};
},
defineProperty() {
- Zz(11);
+ Qz(11);
},
getPrototypeOf(e) {
- return $z(e.base_);
+ return eB(e.base_);
},
setPrototypeOf() {
- Zz(12);
+ Qz(12);
}
-}, qB = {};
-for (let e in KB) {
- let t = KB[e];
- qB[e] = function() {
+}, JB = {};
+for (let e in qB) {
+ let t = qB[e];
+ JB[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 KB.set.call(this, e[0], t, n, e[0]);
+JB.deleteProperty = function(e, t) {
+ return JB.set.call(this, e, t, void 0);
+}, JB.set = function(e, t, n) {
+ return qB.set.call(this, e[0], t, n, e[0]);
};
-function JB(e, t) {
- let n = e[Xz];
- return (n ? xB(n) : e)[t];
+function YB(e, t) {
+ let n = e[Zz];
+ return (n ? SB(n) : e)[t];
}
-function nve(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !sB(n) || n[Xz] ? !1 : e.baseRefs_.has(n);
+function tve(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !cB(n) || n[Zz] ? !1 : e.baseRefs_.has(n);
}
-function rve(e, t, n) {
- let r = YB(t, n);
- return r ? aB in r ? r[aB] : r.get?.call(e.draft_) : void 0;
+function nve(e, t, n) {
+ let r = XB(t, n);
+ return r ? oB in r ? r[oB] : r.get?.call(e.draft_) : void 0;
}
-function YB(e, t) {
+function XB(e, t) {
if (!(t in e)) return;
- let n = $z(e);
+ let n = eB(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = $z(n);
+ n = eB(n);
}
}
-function XB(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && XB(e.parent_));
-}
function ZB(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), CB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && ZB(e.parent_));
}
-var ive = class {
+function QB(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), wB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+}
+var rve = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (yB(e) && !yB(t)) {
+ if (bB(e) && !bB(t)) {
let n = t;
t = e;
let r = this;
@@ -51335,30 +51337,30 @@ var ive = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- yB(t) || Zz(6), n !== void 0 && !yB(n) && Zz(7);
+ bB(t) || Qz(6), n !== void 0 && !bB(n) && Qz(7);
let r;
- if (sB(e)) {
- let i = RB(this), a = QB(i, e, void 0), o = !0;
+ if (cB(e)) {
+ let i = zB(this), a = $B(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? IB(i) : LB(i);
+ o ? LB(i) : RB(i);
}
- return FB(i, n), zB(r, i);
+ return IB(i, n), BB(r, i);
}
- if (!e || !vB(e)) {
- if (r = t(e), r === void 0 && (r = e), r === Jz && (r = void 0), this.autoFreeze_ && wB(r, !0), n) {
+ if (!e || !yB(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === Yz && (r = void 0), this.autoFreeze_ && TB(r, !0), n) {
let t = [], i = [];
- jB(OB).generateReplacementPatches_(e, r, {
+ MB(kB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- Zz(1, e);
+ Qz(1, e);
}, this.produceWithPatches = (e, t) => {
- if (yB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (bB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -51367,18 +51369,18 @@ var ive = class {
n,
r
];
- }, bB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), bB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), bB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, xB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), xB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), xB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- sB(e) || Zz(8), oB(e) && (e = $B(e));
- let t = RB(this), n = QB(t, e, void 0);
- return n[Xz].isManual_ = !0, LB(t), n;
+ cB(e) || Qz(8), sB(e) && (e = eV(e));
+ let t = zB(this), n = $B(t, e, void 0);
+ return n[Zz].isManual_ = !0, RB(t), n;
}
finishDraft(e, t) {
- let n = e && e[Xz];
- (!n || !n.isManual_) && Zz(9);
+ let n = e && e[Zz];
+ (!n || !n.isManual_) && Qz(9);
let { scope_: r } = n;
- return FB(r, t), zB(void 0, r);
+ return IB(r, t), BB(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -51402,48 +51404,48 @@ var ive = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = jB(OB).applyPatches_;
- return oB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = MB(kB).applyPatches_;
+ return sB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function QB(e, t, n, r) {
- let [i, a] = gB(t) ? jB(DB).proxyMap_(t, n) : _B(t) ? jB(DB).proxySet_(t, n) : tve(t, n);
- return (n?.scope_ ?? PB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? $_e(n, a, r) : a.callbacks_.push(function(e) {
+function $B(e, t, n, r) {
+ let [i, a] = _B(t) ? MB(OB).proxyMap_(t, n) : vB(t) ? MB(OB).proxySet_(t, n) : eve(t, n);
+ return (n?.scope_ ?? FB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Q_e(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 $B(e) {
- return oB(e) || Zz(10, e), eV(e);
-}
function eV(e) {
- if (!sB(e) || EB(e)) return e;
- let t = e[Xz], n, r = !0;
+ return sB(e) || Qz(10, e), tV(e);
+}
+function tV(e) {
+ if (!cB(e) || DB(e)) return e;
+ let t = e[Zz], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = CB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = CB(e, !0);
- return uB(n, (e, t) => {
- mB(n, e, eV(t));
+ t.finalized_ = !0, n = wB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = wB(e, !0);
+ return dB(n, (e, t) => {
+ hB(n, e, tV(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var tV = new ive().produce;
+var nV = new rve().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function nV(e) {
+function rV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var ave = nV(), ove = nV, sve = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? Kz : Kz.apply(null, arguments);
+var ive = rV(), ave = rV, ove = 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 rV(e, t) {
+function iV(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(RV(0));
+ if (!r) throw Error(zV(0));
return {
type: e,
payload: r.payload,
@@ -51456,9 +51458,9 @@ function rV(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) => Jz(t) && t.type === e, n;
}
-var iV = class e extends Array {
+var aV = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -51472,29 +51474,29 @@ var iV = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function aV(e) {
- return sB(e) ? tV(e, () => {}) : e;
+function oV(e) {
+ return cB(e) ? nV(e, () => {}) : e;
}
-function oV(e, t, n) {
+function sV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function cve(e) {
+function sve(e) {
return typeof e == "boolean";
}
-var lve = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new iV();
- return t && (cve(t) ? a.push(ave) : a.push(ove(t.extraArgument))), a;
-}, sV = "RTK_autoBatch", cV = () => (e) => ({
+var cve = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new aV();
+ return t && (sve(t) ? a.push(ive) : a.push(ave(t.extraArgument))), a;
+}, cV = "RTK_autoBatch", lV = () => (e) => ({
payload: e,
- meta: { [sV]: !0 }
-}), lV = (e) => (t) => {
+ meta: { [cV]: !0 }
+}), uV = (e) => (t) => {
setTimeout(t, e);
-}, uve = (e, t) => (n) => {
+}, lve = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, uV = (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 ? uve(window.requestAnimationFrame, 100) : lV(10) : e.type === "callback" ? e.queueNotification : lV(e.timeout), l = () => {
+}, dV = (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 ? lve(window.requestAnimationFrame, 100) : uV(10) : e.type === "callback" ? e.queueNotification : uV(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -51506,37 +51508,37 @@ var lve = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[sV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[cV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, dve = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new iV(e);
- return n && r.push(uV(typeof n == "object" ? n : void 0)), r;
+}, uve = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new aV(e);
+ return n && r.push(dV(typeof n == "object" ? n : void 0)), r;
};
-function fve(e) {
- let t = lve(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function dve(e) {
+ let t = cve(), { 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 (Uz(n)) c = Gz(n);
- else throw Error(RV(1));
+ else if (Wz(n)) c = Kz(n);
+ else throw Error(zV(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = Kz;
- i && (u = sve({
+ let u = qz;
+ i && (u = ove({
trace: !1,
...typeof i == "object" && i
}));
- let d = dve(W_e(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return Wz(c, o, p);
+ let d = uve(U_e(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return Gz(c, o, p);
}
-function dV(e) {
+function fV(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(RV(28));
- if (r in t) throw Error(RV(29));
+ if (!r) throw Error(zV(28));
+ if (r in t) throw Error(zV(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -51561,25 +51563,25 @@ function dV(e) {
r
];
}
-function pve(e) {
+function fve(e) {
return typeof e == "function";
}
-function mve(e, t) {
- let [n, r, i] = dV(t), a;
- if (pve(e)) a = () => aV(e());
+function pve(e, t) {
+ let [n, r, i] = fV(t), a;
+ if (fve(e)) a = () => oV(e());
else {
- let t = aV(e);
+ let t = oV(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 (oB(e)) {
+ if (sB(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (sB(e)) return tV(e, (e) => n(e, t));
+ if (cB(e)) return nV(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -51594,20 +51596,20 @@ function mve(e, t) {
}
return o.getInitialState = a, o;
}
-var hve = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", gve = (e = 21) => {
+var mve = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", hve = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += hve[Math.random() * 64 | 0];
+ for (; n--;) t += mve[Math.random() * 64 | 0];
return t;
-}, _ve = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function vve(e, t) {
+}, gve = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function _ve(e, t) {
return `${e}/${t}`;
}
-function yve({ creators: e } = {}) {
- let t = e?.asyncThunk?.[_ve];
+function vve({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[gve];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(RV(11));
- let i = (typeof e.reducers == "function" ? e.reducers(xve()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(zV(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(bve()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -51615,8 +51617,8 @@ function yve({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(RV(12));
- if (n in o.sliceCaseReducersByType) throw Error(RV(13));
+ if (!n) throw Error(zV(12));
+ if (n in o.sliceCaseReducersByType) throw Error(zV(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -51635,17 +51637,17 @@ function yve({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: vve(n, r),
+ type: _ve(n, r),
createNotation: typeof e.reducers == "function"
};
- Cve(a) ? Tve(o, a, s, t) : Sve(o, a, s);
+ Sve(a) ? wve(o, a, s, t) : xve(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? dV(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? fV(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return mve(e.initialState, (e) => {
+ return pve(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);
@@ -51662,12 +51664,12 @@ function yve({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = oV(d, r, m)), i;
+ return i === void 0 && n && (i = sV(d, r, m)), i;
}
function i(t = l) {
- return oV(oV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return sV(sV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = bve(a, t, () => oV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = yve(a, t, () => sV(d, t, m), n);
return r;
});
}
@@ -51701,15 +51703,15 @@ function yve({ creators: e } = {}) {
return g;
};
}
-function bve(e, t, n, r) {
+function yve(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 fV = /* @__PURE__ */ yve();
-function xve() {
+var pV = /* @__PURE__ */ vve();
+function bve() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -51733,57 +51735,57 @@ function xve() {
asyncThunk: e
};
}
-function Sve({ type: e, reducerName: t, createNotation: n }, r, i) {
+function xve({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !wve(r)) throw Error(RV(17));
+ if (n && !Cve(r)) throw Error(zV(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? rV(e, o) : rV(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? iV(e, o) : iV(e));
}
-function Cve(e) {
+function Sve(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function wve(e) {
+function Cve(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function Tve({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(RV(18));
+function wve({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(zV(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 || pV,
- pending: s || pV,
- rejected: c || pV,
- settled: l || pV
+ fulfilled: o || mV,
+ pending: s || mV,
+ rejected: c || mV,
+ settled: l || mV
});
}
-function pV() {}
-var Eve = "task", mV = "listener", hV = "completed", gV = "cancelled", Dve = `task-${gV}`, Ove = `task-${hV}`, _V = `${mV}-${gV}`, kve = `${mV}-${hV}`, vV = class {
+function mV() {}
+var Tve = "task", hV = "listener", gV = "completed", _V = "cancelled", Eve = `task-${_V}`, Dve = `task-${gV}`, vV = `${hV}-${_V}`, Ove = `${hV}-${gV}`, yV = class {
constructor(e) {
- this.code = e, this.message = `${Eve} ${gV} (reason: ${e})`;
+ this.code = e, this.message = `${Tve} ${_V} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, yV = (e, t) => {
- if (typeof e != "function") throw TypeError(RV(32));
-}, bV = () => {}, xV = (e, t = bV) => (e.catch(t), e), SV = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), CV = (e) => {
- if (e.aborted) throw new vV(e.reason);
+}, bV = (e, t) => {
+ if (typeof e != "function") throw TypeError(zV(32));
+}, xV = () => {}, SV = (e, t = xV) => (e.catch(t), e), CV = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), wV = (e) => {
+ if (e.aborted) throw new yV(e.reason);
};
-function wV(e, t) {
- let n = bV;
+function TV(e, t) {
+ let n = xV;
return new Promise((r, i) => {
- let a = () => i(new vV(e.reason));
+ let a = () => i(new yV(e.reason));
if (e.aborted) {
a();
return;
}
- n = SV(e, a), t.finally(() => n()).then(r, i);
+ n = CV(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = bV;
+ n = xV;
});
}
-var Ave = async (e, t) => {
+var kve = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -51791,40 +51793,40 @@ var Ave = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof vV ? "cancelled" : "rejected",
+ status: e instanceof yV ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, TV = (e) => (t) => xV(wV(e, t).then((t) => (CV(e), t))), EV = (e) => {
- let t = TV(e);
+}, EV = (e) => (t) => SV(TV(e, t).then((t) => (wV(e), t))), DV = (e) => {
+ let t = EV(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: DV } = Object, OV = {}, kV = "listenerMiddleware", jve = (e, t) => {
- let n = (t) => SV(e, () => t.abort(e.reason));
+}, { assign: OV } = Object, kV = {}, AV = "listenerMiddleware", Ave = (e, t) => {
+ let n = (t) => CV(e, () => t.abort(e.reason));
return (r, i) => {
- yV(r, "taskExecutor");
+ bV(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = Ave(async () => {
- CV(e), CV(a.signal);
+ let o = kve(async () => {
+ wV(e), wV(a.signal);
let t = await r({
- pause: TV(a.signal),
- delay: EV(a.signal),
+ pause: EV(a.signal),
+ delay: DV(a.signal),
signal: a.signal
});
- return CV(a.signal), t;
- }, () => a.abort(Ove));
- return i?.autoJoin && t.push(o.catch(bV)), {
- result: TV(e)(o),
+ return wV(a.signal), t;
+ }, () => a.abort(Dve));
+ return i?.autoJoin && t.push(o.catch(xV)), {
+ result: EV(e)(o),
cancel() {
- a.abort(Dve);
+ a.abort(Eve);
}
};
};
-}, Mve = (e, t) => {
+}, jve = (e, t) => {
let n = async (n, r) => {
- CV(t);
+ wV(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -51842,47 +51844,47 @@ var Ave = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await wV(t, Promise.race(a));
- return CV(t), e;
+ let e = await TV(t, Promise.race(a));
+ return wV(t), e;
} finally {
i();
}
};
- return ((e, t) => xV(n(e, t)));
-}, AV = (e) => {
+ return ((e, t) => SV(n(e, t)));
+}, jV = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = rV(t).match;
+ if (t) i = iV(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(RV(21));
- return yV(a, "options.listener"), {
+ else if (!i) throw Error(zV(21));
+ return bV(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, jV = /* @__PURE__ */ DV((e) => {
- let { type: t, predicate: n, effect: r } = AV(e);
+}, MV = /* @__PURE__ */ OV((e) => {
+ let { type: t, predicate: n, effect: r } = jV(e);
return {
- id: gve(),
+ id: hve(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(RV(22));
+ throw Error(zV(22));
}
};
-}, { withTypes: () => jV }), MV = (e, t) => {
- let { type: n, effect: r, predicate: i } = AV(t);
+}, { withTypes: () => MV }), NV = (e, t) => {
+ let { type: n, effect: r, predicate: i } = jV(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, NV = (e) => {
+}, PV = (e) => {
e.pending.forEach((e) => {
- e.abort(_V);
+ e.abort(vV);
});
-}, Nve = (e, t) => () => {
- for (let e of t.keys()) NV(e);
+}, Mve = (e, t) => () => {
+ for (let e of t.keys()) PV(e);
e.clear();
-}, PV = (e, t, n) => {
+}, FV = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -51890,74 +51892,74 @@ var Ave = async (e, t) => {
throw e;
}, 0);
}
-}, FV = /* @__PURE__ */ DV(/* @__PURE__ */ rV(`${kV}/add`), { withTypes: () => FV }), Pve = /* @__PURE__ */ rV(`${kV}/removeAll`), IV = /* @__PURE__ */ DV(/* @__PURE__ */ rV(`${kV}/remove`), { withTypes: () => IV }), Fve = (...e) => {
- console.error(`${kV}/error`, ...e);
-}, LV = (e = {}) => {
+}, IV = /* @__PURE__ */ OV(/* @__PURE__ */ iV(`${AV}/add`), { withTypes: () => IV }), Nve = /* @__PURE__ */ iV(`${AV}/removeAll`), LV = /* @__PURE__ */ OV(/* @__PURE__ */ iV(`${AV}/remove`), { withTypes: () => LV }), Pve = (...e) => {
+ console.error(`${AV}/error`, ...e);
+}, RV = (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 = Fve } = e;
- yV(o, "onError");
+ }, { extra: a, onError: o = Pve } = e;
+ bV(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && NV(e);
+ e.unsubscribe(), t?.cancelActive && PV(e);
}), c = ((e) => {
- let n = MV(t, e) ?? jV(e);
+ let n = NV(t, e) ?? MV(e);
return s(n);
});
- DV(c, { withTypes: () => c });
+ OV(c, { withTypes: () => c });
let l = (e) => {
- let n = MV(t, e);
- return n && (n.unsubscribe(), e.cancelActive && NV(n)), !!n;
+ let n = NV(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && PV(n)), !!n;
};
- DV(l, { withTypes: () => l });
+ OV(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = Mve(c, u.signal), f = [];
+ let u = new AbortController(), d = jve(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, DV({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, OV({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: EV(u.signal),
- pause: TV(u.signal),
+ delay: DV(u.signal),
+ pause: EV(u.signal),
extra: a,
signal: u.signal,
- fork: jve(u.signal, f),
+ fork: Ave(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(_V), n.delete(e));
+ e !== u && (e.abort(vV), n.delete(e));
});
},
cancel: () => {
- u.abort(_V), e.pending.delete(u);
+ u.abort(vV), e.pending.delete(u);
},
throwIfCancelled: () => {
- CV(u.signal);
+ wV(u.signal);
}
})));
} catch (e) {
- e instanceof vV || PV(o, e, { raisedBy: "effect" });
+ e instanceof yV || FV(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(kve), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(Ove), i(e), e.pending.delete(u);
}
- }, d = Nve(t, n);
+ }, d = Mve(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!qz(r)) return n(r);
- if (FV.match(r)) return c(r.payload);
- if (Pve.match(r)) {
+ if (!Jz(r)) return n(r);
+ if (IV.match(r)) return c(r.payload);
+ if (Nve.match(r)) {
d();
return;
}
- if (IV.match(r)) return l(r.payload);
+ if (LV.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === OV) throw Error(RV(23));
+ if (i === kV) throw Error(zV(23));
return i;
}, s;
try {
@@ -51968,13 +51970,13 @@ var Ave = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, PV(o, e, { raisedBy: "predicate" });
+ s = !1, FV(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = OV;
+ i = kV;
}
return s;
},
@@ -51983,12 +51985,12 @@ var Ave = async (e, t) => {
clearListeners: d
};
};
-function RV(e) {
+function zV(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 zV = fV({
+var BV = pV({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -52016,23 +52018,23 @@ var zV = fV({
e.scale = t.payload;
}
}
-}), { setMargin: Ive, setLayout: Lve, setChartSize: Rve, setScale: zve } = zV.actions, Bve = zV.reducer;
+}), { setMargin: Fve, setLayout: Ive, setChartSize: Lve, setScale: Rve } = BV.actions, zve = BV.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function BV(e, t, n) {
+function VV(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 VV(e) {
+function HV(e) {
return Number.isFinite(e);
}
-function HV(e) {
+function UV(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function UV(e, t) {
+function WV(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52042,18 +52044,18 @@ function UV(e, t) {
}
return n;
}
-function WV(e) {
+function GV(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UV(Object(n), !0).forEach(function(t) {
- GV(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UV(Object(n)).forEach(function(t) {
+ t % 2 ? WV(Object(n), !0).forEach(function(t) {
+ Bve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WV(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GV(e, t, n) {
+function Bve(e, t, n) {
return (t = KV(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
@@ -52076,13 +52078,13 @@ function qV(e, t) {
return (t === "string" ? String : Number)(e);
}
function JV(e, t, n) {
- return VR(e) || VR(t) ? n : FR(t) ? kR(e, t, n) : typeof t == "function" ? t(e) : n;
+ return HR(e) || HR(t) ? n : IR(t) ? AR(e, t, n) : typeof t == "function" ? t(e) : n;
}
var YV = (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 WV(WV({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return WV(WV({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return GV(GV({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return GV(GV({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
}, XV = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", ZV = (e, t, n, r) => {
@@ -52094,39 +52096,39 @@ var YV = (e, t, n) => {
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 ? MR(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? NR(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 VV(i) ? {
+ return HV(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(UR) : c && l ? l.map((e, t) => {
+ }).filter(WR) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(UR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(WR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(UR) : o.domain().map((e, t) => {
+ }).filter(WR) : o.domain().map((e, t) => {
var n = o.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(UR);
+ }).filter(WR);
}, $V = (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]];
@@ -52139,16 +52141,16 @@ var YV = (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 = NR(c) ? l : c;
+ var c = s[1], l = s[0], u = PR(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: nge,
- none: xR,
- silhouette: rge,
- wiggle: ige,
+ expand: tge,
+ none: SR,
+ silhouette: nge,
+ wiggle: rge,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -52156,14 +52158,14 @@ var YV = (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 = NR(o[1]) ? o[0] : o[1];
+ var s = PR(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
}, tH = (e, t, n) => {
- var r = eH[n] ?? xR, i = tge().keys(t).value((e, t) => Number(JV(e, t, 0))).order(SR).offset(r)(e);
+ var r = eH[n] ?? SR, i = ege().keys(t).value((e, t) => Number(JV(e, t, 0))).order(CR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = JV(e[i], t[r], 0);
@@ -52177,20 +52179,20 @@ function nH(e) {
function rH(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !VR(i[t.dataKey])) {
- var s = BR(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !HR(i[t.dataKey])) {
+ var s = VR(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 = JV(i, VR(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = JV(i, HR(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
var iH = (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 = JV(a, t.dataKey, t.scale.domain()[o]);
- if (VR(s)) return null;
+ if (HR(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
}, aH = (e) => {
@@ -52208,8 +52210,8 @@ var iH = (e) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = oH(BV(r, t, n));
- return !VV(i[0]) || !VV(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = oH(VV(r, t, n));
+ return !HV(i[0]) || !HV(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]));
@@ -52219,7 +52221,7 @@ var iH = (e) => {
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = Fz(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = Iz(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);
}
@@ -52229,7 +52231,7 @@ var iH = (e) => {
};
function fH(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return WV(WV({}, t), {}, {
+ return GV(GV({}, t), {}, {
dataKey: n,
payload: r,
value: i,
@@ -52311,8 +52313,8 @@ var NH = $([
AH,
jH,
MH,
- Iz,
- B_e
+ Lz,
+ z_e
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -52416,7 +52418,7 @@ var UH = function(e, t) {
height: -1
}
}, GH = (e, t, n) => {
- var { width: r = WH.width, height: i = WH.height, aspect: a, maxHeight: o } = n, s = PR(r) ? e : Number(r), c = PR(i) ? t : Number(i);
+ var { width: r = WH.width, height: i = WH.height, aspect: a, maxHeight: o } = n, s = FR(r) ? e : Number(r), c = FR(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
@@ -52432,7 +52434,7 @@ var UH = function(e, t) {
height: 0,
overflowY: "visible"
}, YH = {}, XH = (e) => {
- var { width: t, height: n } = e, r = PR(t), i = PR(n);
+ var { width: t, height: n } = e, r = FR(t), i = FR(n);
return r && i ? KH : r ? qH : i ? JH : YH;
};
function ZH(e) {
@@ -52498,7 +52500,7 @@ function rU(e, t) {
}
var iU = /*#__PURE__*/ (0, L.createContext)(WH.initialDimension);
function aU(e) {
- return HV(e.width) && HV(e.height);
+ return UV(e.width) && UV(e.height);
}
function oU(e) {
var { children: t, width: n, height: r } = e, i = (0, L.useMemo)(() => ({
@@ -52523,7 +52525,7 @@ var sU = () => (0, L.useContext)(iU), cU = /*#__PURE__*/ (0, L.forwardRef)((e, t
});
}, []);
(0, L.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return WR;
+ if (h.current == null || typeof ResizeObserver > "u") return GR;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -52568,7 +52570,7 @@ var sU = () => (0, L.useContext)(iU), cU = /*#__PURE__*/ (0, L.forwardRef)((e, t
}, l)));
}), lU = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var n = sU();
- if (HV(n.width) && HV(n.height)) return e.children;
+ if (UV(n.width) && UV(n.height)) return e.children;
var { width: r, height: i } = ZH({
width: e.width,
height: e.height,
@@ -52623,9 +52625,9 @@ var dU = () => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
}, xU = () => Q(bU), SU = () => vU() !== void 0, CU = (e) => {
- var t = Dz(), n = LH(), { width: r, height: i } = e, a = sU(), o = r, s = i;
+ var t = Oz(), n = LH(), { width: r, height: i } = e, a = sU(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, L.useEffect)(() => {
- !n && HV(o) && HV(s) && t(Rve({
+ !n && UV(o) && UV(s) && t(Lve({
width: o,
height: s
}));
@@ -52997,7 +52999,7 @@ function yW(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var bW = fV({
+var bW = pV({
name: "legend",
initialState: {
settings: {
@@ -53023,21 +53025,21 @@ var bW = fV({
reducer(e, t) {
e.payload.push(yW(t.payload));
},
- prepare: cV()
+ prepare: lV()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = $B(e).payload.indexOf(yW(n));
+ var { prev: n, next: r } = t.payload, i = eV(e).payload.indexOf(yW(n));
i > -1 && (e.payload[i] = yW(r));
},
- prepare: cV()
+ prepare: lV()
},
removeLegendPayload: {
reducer(e, t) {
- var n = $B(e).payload.indexOf(yW(t.payload));
+ var n = eV(e).payload.indexOf(yW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: cV()
+ prepare: lV()
}
}
}), { setLegendSize: xW, setLegendSettings: SW, addLegendPayload: CW, replaceLegendPayload: wW, removeLegendPayload: TW } = bW.actions, EW = bW.reducer, DW = /* @__PURE__ */ Te(((e) => {
@@ -53271,21 +53273,21 @@ function tG(e) {
return e.value;
}
function nG(e) {
- var { contextPayload: t } = e, n = $W(e, KW), r = Tz(t, e.payloadUniqBy, tG), i = YW(YW({}, n), {}, { payload: r });
- return /*#__PURE__*/ L.isValidElement(e.content) ? /*#__PURE__*/ L.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ L.createElement(e.content, i) : /*#__PURE__*/ L.createElement(Mge, i);
+ var { contextPayload: t } = e, n = $W(e, KW), r = Ez(t, e.payloadUniqBy, tG), i = YW(YW({}, n), {}, { payload: r });
+ return /*#__PURE__*/ L.isValidElement(e.content) ? /*#__PURE__*/ L.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ L.createElement(e.content, i) : /*#__PURE__*/ L.createElement(jge, i);
}
function rG(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 }), YW(YW({}, l), u);
}
function iG(e) {
- var t = Dz();
+ var t = Oz();
return (0, L.useEffect)(() => {
t(SW(e));
}, [t, e]), null;
}
function aG(e) {
- var t = Dz();
+ var t = Oz();
return (0, L.useEffect)(() => (t(xW(e)), () => {
t(xW({
width: 0,
@@ -53305,7 +53307,7 @@ var sG = {
verticalAlign: "bottom"
};
function cG(e) {
- var t = ez(e, sG), n = H_e(), r = Ehe(), i = gU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Rz([n]), d = mU(), f = hU();
+ var t = tz(e, sG), n = V_e(), r = The(), i = gU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = zz([n]), d = mU(), f = hU();
if (d == null || f == null) return null;
var p = d - (i?.left || 0) - (i?.right || 0), m = oG(t.layout, o, a, p), h = c ? s : YW(YW({
position: "absolute",
@@ -53390,7 +53392,7 @@ function Hve(e, t) {
return (t === "string" ? String : Number)(e);
}
function Uve(e) {
- return Array.isArray(e) && FR(e[0]) && FR(e[1]) ? e.join(" ~ ") : e;
+ return Array.isArray(e) && IR(e[0]) && IR(e[1]) ? e.join(" ~ ") : e;
}
var mG = {
separator: " : ",
@@ -53411,7 +53413,7 @@ var mG = {
accessibilityLayer: !1
};
function Wve(e, t) {
- return t == null ? e : Fz(e, t);
+ return t == null ? e : Iz(e, t);
}
var Gve = (e) => {
var { separator: t = mG.separator, contentStyle: n, itemStyle: r, labelStyle: i = mG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = mG.accessibilityLayer } = e, p = () => {
@@ -53433,7 +53435,7 @@ var Gve = (e) => {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, FR(u) ? /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, FR(u) ? /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, IR(u) ? /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, IR(u) ? /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ L.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ L.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -53441,7 +53443,7 @@ var Gve = (e) => {
}, n);
}
return null;
- }, m = fG(fG({}, mG.contentStyle), n), h = fG({ margin: 0 }, i), g = !VR(u), _ = g ? u : "", v = Au("recharts-default-tooltip", c), y = Au("recharts-tooltip-label", l);
+ }, m = fG(fG({}, mG.contentStyle), n), h = fG({ margin: 0 }, i), g = !HR(u), _ = g ? u : "", v = Au("recharts-default-tooltip", c), y = Au("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
@@ -53689,27 +53691,27 @@ function iye(e, t) {
return (t === "string" ? String : Number)(e);
}
var TG = {
- curveBasisClosed: Whe,
- curveBasisOpen: Ghe,
- curveBasis: Uhe,
- curveBumpX: khe,
- curveBumpY: Ahe,
- curveLinearClosed: Khe,
- curveLinear: KL,
- curveMonotoneX: qhe,
- curveMonotoneY: Jhe,
- curveNatural: Yhe,
- curveStep: Xhe,
- curveStepAfter: Qhe,
- curveStepBefore: Zhe
-}, EG = (e) => VV(e.x) && VV(e.y), DG = (e) => e.base != null && EG(e.base) && EG(e), OG = (e) => e.x, kG = (e) => e.y, aye = (e, t) => {
+ curveBasisClosed: Uhe,
+ curveBasisOpen: Whe,
+ curveBasis: Hhe,
+ curveBumpX: Ohe,
+ curveBumpY: khe,
+ curveLinearClosed: Ghe,
+ curveLinear: qL,
+ curveMonotoneX: Khe,
+ curveMonotoneY: qhe,
+ curveNatural: Jhe,
+ curveStep: Yhe,
+ curveStepAfter: Zhe,
+ curveStepBefore: Xhe
+}, EG = (e) => HV(e.x) && HV(e.y), DG = (e) => e.base != null && EG(e.base) && EG(e), OG = (e) => e.x, kG = (e) => e.y, aye = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${HR(e)}`;
+ var n = `curve${UR(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = TG[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return TG[n] || KL;
+ return TG[n] || qL;
}, AG = {
connectNulls: !1,
type: "linear"
@@ -53717,9 +53719,9 @@ var TG = {
var { type: t = AG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = AG.connectNulls } = e, o = aye(t, i), s = a ? n.filter(EG) : n;
if (Array.isArray(r)) {
var c, l = n.map((e, t) => wG(wG({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? XL().y(kG).x1(OG).x0((e) => e.base.x) : XL().x(OG).y1(kG).y0((e) => e.base.y), c.defined(DG).curve(o)(a ? l.filter(DG) : l);
+ return c = i === "vertical" ? ZL().y(kG).x1(OG).x0((e) => e.base.x) : ZL().x(OG).y1(kG).y0((e) => e.base.y), c.defined(DG).curve(o)(a ? l.filter(DG) : l);
}
- return (i === "vertical" && Z(r) ? XL().y(kG).x1(OG).x0(r) : Z(r) ? XL().x(OG).y1(kG).y0(r) : YL().x(OG).y(kG)).defined(EG).curve(o)(s);
+ return (i === "vertical" && Z(r) ? ZL().y(kG).x1(OG).x0(r) : Z(r) ? ZL().x(OG).y1(kG).y0(r) : XL().x(OG).y(kG)).defined(EG).curve(o)(s);
}, jG = (e) => {
var { className: t, points: n, path: r, pathRef: i } = e, a = vU();
if ((!n || !n.length) && !r) return null;
@@ -53730,7 +53732,7 @@ var TG = {
layout: e.layout || a,
connectNulls: e.connectNulls
}, s = n && n.length ? oye(o) : r;
- return /*#__PURE__*/ L.createElement("path", SG({}, wL(e), ZR(e), {
+ return /*#__PURE__*/ L.createElement("path", SG({}, TL(e), QR(e), {
className: Au("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
@@ -53823,7 +53825,7 @@ var mye = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, hye = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ L.createElement("path", MG({}, EL(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ L.createElement("path", MG({}, DL(l), {
className: Au("recharts-cross", s),
d: mye(t, n, a, o, r, i)
}));
@@ -54148,11 +54150,11 @@ var zye = {
onAnimationStart: () => {}
}, qG = { t: 0 }, JG = { t: 1 };
function YG(e) {
- var t = ez(e, zye), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = vG(), d = n === "auto" ? !_G.isSsr && !u : n, f = Rye(t.animationId, t.animationManager), [p, m] = (0, L.useState)(d ? qG : JG), h = (0, L.useRef)(null);
+ var t = tz(e, zye), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = vG(), d = n === "auto" ? !_G.isSsr && !u : n, f = Rye(t.animationId, t.animationManager), [p, m] = (0, L.useState)(d ? qG : JG), h = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
d || m(JG);
}, [d]), (0, L.useEffect)(() => {
- if (!d || !r) return WR;
+ if (!d || !r) return GR;
var e = Dye(qG, JG, Nye(a), i, m, f.getTimeoutController());
return f.start([
c,
@@ -54179,8 +54181,8 @@ function YG(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function XG(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, L.useRef)(IR(t)), r = (0, L.useRef)(e);
- return r.current !== e && (n.current = IR(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, L.useRef)(LR(t)), r = (0, L.useRef)(e);
+ return r.current !== e && (n.current = LR(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
@@ -54259,7 +54261,7 @@ function tK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var nK = (e, t, n, r, i) => {
- var a = AR(n), o = AR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = jR(n), o = jR(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,
@@ -54270,44 +54272,44 @@ var nK = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = jR(Hye ||= tK([
+ d = MR(Hye ||= tK([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += jR(Uye ||= tK([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += MR(Uye ||= tK([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += jR(Wye ||= tK([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += MR(Wye ||= tK([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += jR(Gye ||= tK([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += MR(Gye ||= tK([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += jR(Kye ||= tK([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += MR(Kye ||= tK([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += jR(qye ||= tK([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += MR(qye ||= tK([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += jR(Jye ||= tK([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += MR(Jye ||= tK([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += jR(Yye ||= tK([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += MR(Yye ||= tK([
"A ",
",",
",0,0,",
@@ -54317,8 +54319,8 @@ var nK = (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 = jR(Xye ||= tK(/* @__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 = jR(Zye ||= tK([
+ d = MR(Xye ||= tK(/* @__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 = MR(Zye ||= tK([
"M ",
",",
" h ",
@@ -54339,7 +54341,7 @@ var nK = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, iK = (e) => {
- var t = ez(e, rK), n = (0, L.useRef)(null), [r, i] = (0, L.useState)(-1);
+ var t = tz(e, rK), n = (0, L.useRef)(null), [r, i] = (0, L.useState)(-1);
(0, L.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
@@ -54362,12 +54364,12 @@ var nK = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Au("recharts-rectangle", u);
if (!h) {
- var S = EL(t), { radius: C } = S, w = eK(S, Bye);
+ var S = DL(t), { radius: C } = S, w = eK(S, Bye);
return /*#__PURE__*/ L.createElement("path", $G({}, w, {
- x: AR(a),
- y: AR(o),
- width: AR(s),
- height: AR(c),
+ x: jR(a),
+ y: jR(o),
+ width: jR(s),
+ height: jR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: nK(a, o, s, c, l)
@@ -54383,12 +54385,12 @@ var nK = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = zR(T, s, e), i = zR(E, c, e), u = zR(D, a, e), d = zR(O, o, e);
+ var r = BR(T, s, e), i = BR(E, c, e), u = BR(D, a, e), d = BR(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = EL(t), { radius: h } = p, b = eK(p, Vye);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = DL(t), { radius: h } = p, b = eK(p, Vye);
return /*#__PURE__*/ L.createElement("path", $G({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -54536,7 +54538,7 @@ function dK() {
function fK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) => {
+var ybe = (e, t) => NR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (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) / sK, d = c ? i : i + a * u, f = lK(t, n, l, d), p = lK(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -54545,7 +54547,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
theta: u
};
}, mK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = ybe(a, o), c = a + s, l = lK(t, n, i, a), u = lK(t, n, i, c), d = jR(fbe ||= fK([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = ybe(a, o), c = a + s, l = lK(t, n, i, a), u = lK(t, n, i, c), d = MR(fbe ||= fK([
"M ",
",",
"\n A ",
@@ -54558,7 +54560,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = lK(t, n, r, a), p = lK(t, n, r, c);
- d += jR(pbe ||= fK([
+ d += MR(pbe ||= fK([
"L ",
",",
"\n A ",
@@ -54569,14 +54571,14 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += jR(mbe ||= fK([
+ } else d += MR(mbe ||= fK([
"L ",
",",
" Z"
]), t, n);
return d;
}, bbe = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = MR(l - c), { circleTangency: d, lineTangency: f, theta: p } = pK({
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = NR(l - c), { circleTangency: d, lineTangency: f, theta: p } = pK({
cx: t,
cy: n,
radius: i,
@@ -54593,7 +54595,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? jR(hbe ||= fK([
+ if (_ < 0) return o ? MR(hbe ||= fK([
"M ",
",",
"\n a",
@@ -54611,7 +54613,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
startAngle: c,
endAngle: l
});
- var v = jR(gbe ||= fK([
+ var v = MR(gbe ||= fK([
"M ",
",",
"\n A",
@@ -54653,7 +54655,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (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 += jR(_be ||= fK([
+ v += MR(_be ||= fK([
"L",
",",
"\n A",
@@ -54674,7 +54676,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (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 += jR(vbe ||= fK([
+ } else v += MR(vbe ||= fK([
"L",
",",
"Z"
@@ -54691,9 +54693,9 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, hK = (e) => {
- var t = ez(e, xbe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = tz(e, xbe), { 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 = Au("recharts-sector", d), p = a - i, m = LR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? bbe({
+ var f = Au("recharts-sector", d), p = a - i, m = RR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? bbe({
cx: n,
cy: r,
innerRadius: i,
@@ -54711,7 +54713,7 @@ var ybe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 359.999), pK = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ L.createElement("path", dK({}, EL(t), {
+ return /*#__PURE__*/ L.createElement("path", dK({}, DL(t), {
className: f,
d: h
}));
@@ -54733,7 +54735,7 @@ function Sbe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (XR(t)) {
+ if (ZR(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = lK(r, i, a, s), l = lK(r, i, o, s);
return [{
@@ -54750,7 +54752,7 @@ function Sbe(e, t, n) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
function Cbe(e) {
- return ER(e) ? NaN : Number(e);
+ return DR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
@@ -54760,7 +54762,7 @@ function gK(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function _K(e, t, n) {
- n && typeof n != "number" && Nz(e, t, n) && (t = n = void 0), e = gK(e), t === void 0 ? (t = e, e = 0) : t = gK(t), n = n === void 0 ? e < t ? 1 : -1 : gK(n);
+ n && typeof n != "number" && Pz(e, t, n) && (t = n = void 0), e = gK(e), t === void 0 ? (t = e, e = 0) : t = gK(t), n = n === void 0 ? e < t ? 1 : -1 : gK(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;
@@ -54781,7 +54783,7 @@ var vK = (e) => e.chartData, yK = $([vK], (e) => {
function SK(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (VV(t) && VV(n)) return !0;
+ if (HV(t) && HV(n)) return !0;
}
return !1;
}
@@ -54791,9 +54793,9 @@ function CK(e, t, n) {
function wK(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (VV(n)) i = n;
+ if (HV(n)) i = n;
else if (typeof n == "function") return;
- if (VV(r)) a = r;
+ if (HV(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
if (SK(o)) return o;
@@ -55442,9 +55444,9 @@ var ZK = {
_H,
NH
], obe), rq = $([tq, nq], (e, t) => {
- if (e != null) return LR(e.innerRadius, t, 0);
+ if (e != null) return RR(e.innerRadius, t, 0);
}), iq = $([tq, nq], (e, t) => {
- if (e != null) return LR(e.outerRadius, t, t * .8);
+ if (e != null) return RR(e.outerRadius, t, t * .8);
}), aq = $([tq], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
@@ -55466,8 +55468,8 @@ var ZK = {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: LR(o, i, i / 2),
- cy: LR(s, a, a / 2),
+ cx: RR(o, i, i / 2),
+ cy: RR(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -55571,7 +55573,7 @@ var vq = (e, t) => {
if (!SK(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- VV(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ HV(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;
}
@@ -57906,7 +57908,7 @@ var DX = /* @__PURE__ */ Ee({
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
function tCe(e) {
if (e in DX) return DX[e]();
- var t = `scale${HR(e)}`;
+ var t = `scale${UR(e)}`;
if (t in DX) return DX[t]();
}
function OX(e, t, n) {
@@ -57922,7 +57924,7 @@ function kX(e, t, n, r) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
function nCe(e) {
- return `scale${HR(e)}`;
+ return `scale${UR(e)}`;
}
function rCe(e) {
return nCe(e) in DX;
@@ -58125,9 +58127,9 @@ var KX = (e) => e.graphicalItems.cartesianItems, dCe = $([cq, lq], GX), qX = (e,
JX
], eZ);
function nZ(e) {
- if (FR(e) || e instanceof Date) {
+ if (IR(e) || e instanceof Date) {
var t = Number(e);
- if (VV(t)) return t;
+ if (HV(t)) return t;
}
}
function rZ(e) {
@@ -58139,7 +58141,7 @@ function rZ(e) {
if (n != null) return [n, n];
}
function iZ(e) {
- return e.map(nZ).filter(UR);
+ return e.map(nZ).filter(WR);
}
function mCe(e, t) {
var n = nZ(e), r = nZ(t);
@@ -58154,9 +58156,9 @@ function aZ(e, t) {
}
}
function gCe(e, t, n) {
- return !n || typeof t != "number" || NR(t) || !n.length ? [] : iZ(n.flatMap((n) => {
+ return !n || typeof t != "number" || PR(t) || !n.length ? [] : iZ(n.flatMap((n) => {
var r = JV(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!VV(i) || !VV(a))) return [t - i, t + a];
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!HV(i) || !HV(a))) return [t - i, t + a];
}));
}
var oZ = (e) => UX(e, hq(e), gq(e)), sZ = $([oZ], (e) => e?.dataKey), _Ce = $([
@@ -58224,7 +58226,7 @@ var oZ = (e) => UX(e, hq(e), gq(e)), sZ = $([oZ], (e) => e?.dataKey), _Ce = $([
}), t?.dataKey != null && e.forEach((e) => {
var n = rZ(JV(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]));
- }), VV(a) && VV(o)) return [a, o];
+ }), HV(a) && HV(o)) return [a, o];
}, xCe = $([
$X,
HX,
@@ -58234,11 +58236,11 @@ var oZ = (e) => UX(e, hq(e), gq(e)), sZ = $([oZ], (e) => e?.dataKey), _Ce = $([
], gZ, { memoizeOptions: { resultEqualityCheck: pq } });
function SCe(e) {
var { value: t } = e;
- if (FR(t) || t instanceof Date) return t;
+ if (IR(t) || t instanceof Date) return t;
}
var CCe = (e, t, n) => {
var r = e.map(SCe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && RR(r)) ? _K(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && zR(r)) ? _K(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
}, _Z = (e) => e.referenceElements.dots, vZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), wCe = $([
_Z,
cq,
@@ -58347,11 +58349,11 @@ var CZ = (e, t) => {
return n / o;
}
}), _U, IK, NH, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!VV(e)) return 0;
+ if (!HV(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = LR(n, e * a), s = e * a / 2;
+ var o = RR(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
@@ -58523,7 +58525,7 @@ var zZ = (e, t) => t, BZ = (e, t, n) => n, VCe = $(bH, zZ, BZ, (e, t, n) => e.fi
}, GZ = (e, t, n, r) => {
if (n != null) {
var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = XV(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && RR(c)) return c;
+ if (o && s && a === "category" && i && zR(c)) return c;
}
}, KZ = $([
_U,
@@ -58567,41 +58569,41 @@ var zZ = (e, t) => t, BZ = (e, t, n) => n, VCe = $(bH, zZ, BZ, (e, t, n) => e.fi
}), JZ = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = XV(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 ? MR(a[0] - a[1]) * 2 * m : m;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? NR(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 VV(i) ? {
+ return HV(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(UR) : l && s ? s.map((e, t) => {
+ }).filter(WR) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(UR) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(WR) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(UR) : r.domain().map((e, t) => {
+ }).filter(WR) : r.domain().map((e, t) => {
var n = r.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(UR);
+ }).filter(WR);
}
}, YZ = $([
_U,
@@ -58616,31 +58618,31 @@ var zZ = (e, t) => t, BZ = (e, t, n) => n, VCe = $(bH, zZ, BZ, (e, t, n) => e.fi
], JZ), XZ = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = XV(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? MR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ return l = o === "angleAxis" && r?.length >= 2 ? NR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return VV(r) ? {
+ return HV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(UR) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(WR) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return VV(r) ? {
+ return HV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(UR) : n.domain().map((e, t) => {
+ }).filter(WR) : n.domain().map((e, t) => {
var r = n.map(e);
- return VV(r) ? {
+ return HV(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(UR);
+ }).filter(WR);
}
}, ZZ = $([
_U,
@@ -58702,14 +58704,14 @@ function ZCe(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var rQ = (e, t) => {
var n, r = Number(t);
- if (!(NR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+ if (!(PR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
}, QCe = (e) => e.tooltip.settings, iQ = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, aQ = fV({
+}, aQ = pV({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -58744,21 +58746,21 @@ var rQ = (e, t) => {
reducer(e, t) {
e.tooltipItemPayloads.push(yW(t.payload));
},
- prepare: cV()
+ prepare: lV()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = $B(e).tooltipItemPayloads.indexOf(yW(n));
+ var { prev: n, next: r } = t.payload, i = eV(e).tooltipItemPayloads.indexOf(yW(n));
i > -1 && (e.tooltipItemPayloads[i] = yW(r));
},
- prepare: cV()
+ prepare: lV()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = $B(e).tooltipItemPayloads.indexOf(yW(t.payload));
+ var n = eV(e).tooltipItemPayloads.indexOf(yW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: cV()
+ prepare: lV()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -58883,7 +58885,7 @@ var mQ = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!VV(a)) return i;
+ if (!HV(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];
@@ -58990,7 +58992,7 @@ var SQ = (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 = Swe(d, s), m = Array.isArray(p) ? BV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? BR(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = Swe(d, s), m = Array.isArray(p) ? VV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? VR(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
var n = xwe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = bQ(bQ({}, f), {}, {
name: r,
@@ -59117,23 +59119,23 @@ var SQ = (e, t, n, r, i, a, o) => {
var { type: c } = t, l = XV(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 ? MR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? NR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(UR) : r.domain().map((e, t) => {
+ }).filter(WR) : r.domain().map((e, t) => {
var n = r.map(e);
- return VV(n) ? {
+ return HV(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(UR);
+ }).filter(WR);
}
}
}), PQ = $([
@@ -59331,9 +59333,9 @@ var KQ = (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 (MR(c - s) !== MR(l - c)) {
+ if (NR(c - s) !== NR(l - c)) {
var d = [];
- if (MR(l - c) === MR(i[1] - i[0])) {
+ if (NR(l - c) === NR(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);
@@ -59358,7 +59360,7 @@ var KQ = (e, t, n, r, i) => {
}
}
return -1;
-}, qQ = () => Q(BK), JQ = (e, t) => t, YQ = (e, t, n) => n, XQ = (e, t, n, r) => r, Gwe = $(NQ, (e) => Fz(e, (e) => e.coordinate)), ZQ = $([
+}, qQ = () => Q(BK), JQ = (e, t) => t, YQ = (e, t, n) => n, XQ = (e, t, n, r) => r, Gwe = $(NQ, (e) => Iz(e, (e) => e.coordinate)), ZQ = $([
vQ,
JQ,
YQ,
@@ -59480,7 +59482,7 @@ var iTe = { zIndexMap: Object.values(WK).reduce((e, t) => r$(r$({}, e), {}, { [t
function oTe(e) {
return aTe.has(e);
}
-var i$ = fV({
+var i$ = pV({
name: "zIndex",
initialState: iTe,
reducers: {
@@ -59493,14 +59495,14 @@ var i$ = fV({
panoramaElement: void 0
};
},
- prepare: cV()
+ prepare: lV()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !oTe(n) && delete e.zIndexMap[n]);
},
- prepare: cV()
+ prepare: lV()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
@@ -59511,24 +59513,24 @@ var i$ = fV({
panoramaElement: i ? yW(r) : void 0
};
},
- prepare: cV()
+ prepare: lV()
},
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: cV()
+ prepare: lV()
}
}
}), { registerZIndexPortal: sTe, unregisterZIndexPortal: cTe, registerZIndexPortalElement: lTe, unregisterZIndexPortalElement: uTe } = i$.actions, dTe = i$.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function a$(e) {
- var { zIndex: t, children: n } = e, r = SU() && t !== void 0 && t !== 0, i = LH(), a = Dz();
+ var { zIndex: t, children: n } = e, r = SU() && t !== void 0 && t !== 0, i = LH(), a = Oz();
(0, L.useLayoutEffect)(() => r ? (a(sTe({ zIndex: t })), () => {
a(cTe({ zIndex: t }));
- }) : WR, [
+ }) : GR, [
a,
t,
r
@@ -59600,7 +59602,7 @@ function gTe(e) {
var p, m, h;
if (l === "ScatterChart") p = u, m = hye, h = WK.cursorLine;
else if (l === "BarChart") p = gye(o, u, i, a), m = iK, h = WK.cursorRectangle;
- else if (o === "radial" && XR(u)) {
+ else if (o === "radial" && ZR(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = uK(u);
p = {
cx: g,
@@ -59614,7 +59616,7 @@ function gTe(e) {
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = c$(c$(c$(c$({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), TL(s)), {}, {
+ }, i), p), EL(s)), {}, {
payload: d,
payloadIndex: f,
className: Au("recharts-tooltip-cursor", x)
@@ -59726,9 +59728,9 @@ var l$ = /*#__PURE__*/ (0, L.createContext)(null), vTe = () => (0, L.useContext)
})))(), 1)).default, u$ = new yTe(), d$ = "recharts.syncEvent.tooltip", f$ = "recharts.syncEvent.brush", p$ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!NR(n)) return e[n];
+ if (!PR(n)) return e[n];
}
-}, m$ = fV({
+}, m$ = pV({
name: "options",
initialState: {
chartName: "",
@@ -59745,7 +59747,7 @@ var l$ = /*#__PURE__*/ (0, L.createContext)(null), vTe = () => (0, L.useContext)
function STe(e) {
return e.tooltip.syncInteraction;
}
-var h$ = fV({
+var h$ = pV({
name: "chartData",
initialState: {
chartData: void 0,
@@ -59832,9 +59834,9 @@ function jTe(e, t) {
return n;
}
function MTe() {
- var e = Q(VK), t = Q(UK), n = Dz(), r = Q(HK), i = Q(NQ), a = vU(), o = dU(), s = Q((e) => e.rootProps.className);
+ var e = Q(VK), t = Q(UK), n = Oz(), r = Q(HK), i = Q(NQ), a = vU(), o = dU(), s = Q((e) => e.rootProps.className);
(0, L.useEffect)(() => {
- if (e == null) return WR;
+ if (e == null) return GR;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
@@ -59902,9 +59904,9 @@ function MTe() {
]);
}
function NTe() {
- var e = Q(VK), t = Q(UK), n = Dz();
+ var e = Q(VK), t = Q(UK), n = Oz();
(0, L.useEffect)(() => {
- if (e == null) return WR;
+ if (e == null) return GR;
var r = (r, i, a) => {
t !== a && e === r && n(CTe(i));
};
@@ -59918,7 +59920,7 @@ function NTe() {
]);
}
function PTe() {
- var e = Dz();
+ var e = Oz();
(0, L.useEffect)(() => {
e(xTe());
}, [e]), MTe(), NTe();
@@ -60030,7 +60032,7 @@ var x$ = [], VTe = {
wrapperStyle: {}
};
function HTe(e) {
- var t = ez(e, VTe), { 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 = Dz(), S = typeof v == "number" ? String(v) : v;
+ var t = tz(e, VTe), { 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 = Oz(), S = typeof v == "number" ? String(v) : v;
(0, L.useEffect)(() => {
x(nwe({
shared: g,
@@ -60047,12 +60049,12 @@ function HTe(e) {
n,
S
]);
- var C = dU(), w = xG(), T = ZCe(g), { activeIndex: E, isActive: D } = Q((e) => Ywe(e, T, _, S)) ?? {}, O = Q((e) => Jwe(e, T, _, S)), k = Q((e) => t$(e, T, _, S)), A = Q((e) => qwe(e, T, _, S)), j = O, M = vTe(), N = n ?? D ?? !1, [ee, te] = Rz([j, N]), P = T === "axis" ? k : void 0;
+ var C = dU(), w = xG(), T = ZCe(g), { activeIndex: E, isActive: D } = Q((e) => Ywe(e, T, _, S)) ?? {}, O = Q((e) => Jwe(e, T, _, S)), k = Q((e) => t$(e, T, _, S)), A = Q((e) => qwe(e, T, _, S)), j = O, M = vTe(), N = n ?? D ?? !1, [ee, te] = zz([j, N]), P = T === "axis" ? k : void 0;
FTe(T, _, A, P, E, N);
var F = y ?? M;
if (F == null || C == null || T == null) return null;
var ne = j ?? x$;
- N || (ne = x$), s && ne.length && (ne = Tz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, zTe));
+ N || (ne = x$), s && ne.length && (ne = Ez(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, zTe));
var re = ne.length > 0, ie = b$(b$({}, t), {}, {
payload: ne,
label: P,
@@ -60114,7 +60116,7 @@ function GTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var C$ = class {
+var KTe = class {
constructor(e) {
UTe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
@@ -60139,7 +60141,7 @@ var C$ = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function w$(e, t) {
+function C$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60149,30 +60151,30 @@ function w$(e, t) {
}
return n;
}
-function KTe(e) {
+function qTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w$(Object(n), !0).forEach(function(t) {
- qTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w$(Object(n)).forEach(function(t) {
+ t % 2 ? C$(Object(n), !0).forEach(function(t) {
+ JTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qTe(e, t, n) {
- return (t = JTe(t)) in e ? Object.defineProperty(e, t, {
+function JTe(e, t, n) {
+ return (t = YTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JTe(e) {
- var t = YTe(e, "string");
+function YTe(e) {
+ var t = XTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YTe(e, t) {
+function XTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60182,10 +60184,10 @@ function YTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var T$ = KTe({}, {
+var w$ = qTe({}, {
cacheSize: 2e3,
enableCache: !0
-}), E$ = new C$(T$.cacheSize), XTe = {
+}), T$ = new KTe(w$.cacheSize), ZTe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -60193,14 +60195,14 @@ var T$ = KTe({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, D$ = "recharts_measurement_span";
-function ZTe(e, t) {
+}, E$ = "recharts_measurement_span";
+function QTe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var O$ = (e, t) => {
+var D$ = (e, t) => {
try {
- var n = document.getElementById(D$);
- n || (n = document.createElement("span"), n.setAttribute("id", D$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, XTe, t), n.textContent = `${e}`;
+ var n = document.getElementById(E$);
+ n || (n = document.createElement("span"), n.setAttribute("id", E$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, ZTe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -60212,31 +60214,31 @@ var O$ = (e, t) => {
height: 0
};
}
-}, k$ = function(e) {
+}, O$ = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
if (e == null || _G.isSsr) return {
width: 0,
height: 0
};
- if (!T$.enableCache) return O$(e, t);
- var n = ZTe(e, t), r = E$.get(n);
+ if (!w$.enableCache) return D$(e, t);
+ var n = QTe(e, t), r = T$.get(n);
if (r) return r;
- var i = O$(e, t);
- return E$.set(n, i), i;
-}, A$;
-function QTe(e, t, n) {
- return (t = $Te(t)) in e ? Object.defineProperty(e, t, {
+ var i = D$(e, t);
+ return T$.set(n, i), i;
+}, k$;
+function $Te(e, t, n) {
+ return (t = eEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Te(e) {
- var t = eEe(e, "string");
+function eEe(e) {
+ var t = tEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eEe(e, t) {
+function tEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60246,7 +60248,7 @@ function eEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var j$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, M$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, tEe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, nEe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, rEe = {
+var A$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, j$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, nEe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, rEe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, iEe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -60254,7 +60256,7 @@ var j$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, M$ = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, iEe = [
+}, aEe = [
"cm",
"mm",
"pt",
@@ -60263,20 +60265,20 @@ var j$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, M$ = /(
"Q",
"px"
];
-function aEe(e) {
- return iEe.includes(e);
+function oEe(e) {
+ return aEe.includes(e);
}
-var N$ = "NaN";
-function oEe(e, t) {
- return e * rEe[t];
+var M$ = "NaN";
+function sEe(e, t) {
+ return e * iEe[t];
}
-var P$ = class e {
+var N$ = class e {
static parse(t) {
- var [, n, r] = nEe.exec(t) ?? [];
+ var [, n, r] = rEe.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, NR(e) && (this.unit = ""), t !== "" && !tEe.test(t) && (this.num = NaN, this.unit = ""), aEe(t) && (this.num = oEe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, PR(e) && (this.unit = ""), t !== "" && !nEe.test(t) && (this.num = NaN, this.unit = ""), oEe(t) && (this.num = sEe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -60294,50 +60296,50 @@ var P$ = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return NR(this.num);
+ return PR(this.num);
}
};
-A$ = P$, QTe(P$, "NaN", new A$(NaN, ""));
-function F$(e) {
- if (e == null || e.includes(N$)) return N$;
+k$ = N$, $Te(N$, "NaN", new k$(NaN, ""));
+function P$(e) {
+ if (e == null || e.includes(M$)) return M$;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = j$.exec(t) ?? [], a = P$.parse(n ?? ""), o = P$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return N$;
- t = t.replace(j$, s.toString());
+ var [, n, r, i] = A$.exec(t) ?? [], a = N$.parse(n ?? ""), o = N$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return M$;
+ t = t.replace(A$, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = M$.exec(t) ?? [], d = P$.parse(c ?? ""), f = P$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return N$;
- t = t.replace(M$, p.toString());
+ var [, c, l, u] = j$.exec(t) ?? [], d = N$.parse(c ?? ""), f = N$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return M$;
+ t = t.replace(j$, p.toString());
}
return t;
}
-var I$ = /\(([^()]*)\)/;
-function sEe(e) {
- for (var t = e, n; (n = I$.exec(t)) != null;) {
+var F$ = /\(([^()]*)\)/;
+function cEe(e) {
+ for (var t = e, n; (n = F$.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(I$, F$(r));
+ t = t.replace(F$, P$(r));
}
return t;
}
-function cEe(e) {
+function lEe(e) {
var t = e.replace(/\s+/g, "");
- return t = sEe(t), t = F$(t), t;
+ return t = cEe(t), t = P$(t), t;
}
-function lEe(e) {
+function uEe(e) {
try {
- return cEe(e);
+ return lEe(e);
} catch {
- return N$;
+ return M$;
}
}
-function L$(e) {
- var t = lEe(e.slice(5, -1));
- return t === N$ ? "" : t;
+function I$(e) {
+ var t = uEe(e.slice(5, -1));
+ return t === M$ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var uEe = [
+var dEe = [
"x",
"y",
"lineHeight",
@@ -60346,32 +60348,32 @@ var uEe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], dEe = [
+], fEe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function R$() {
- return R$ = Object.assign ? Object.assign.bind() : function(e) {
+function L$() {
+ return L$ = 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;
- }, R$.apply(null, arguments);
+ }, L$.apply(null, arguments);
}
-function z$(e, t) {
+function R$(e, t) {
if (e == null) return {};
- var n, r, i = fEe(e, t);
+ var n, r, i = pEe(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 fEe(e, t) {
+function pEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60380,28 +60382,28 @@ function fEe(e, t) {
}
return n;
}
-var B$ = /[ \f\n\r\t\v\u2028\u2029]+/, V$ = (e) => {
+var z$ = /[ \f\n\r\t\v\u2028\u2029]+/, B$ = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return VR(t) || (i = n ? t.toString().split("") : t.toString().split(B$)), {
+ return HR(t) || (i = n ? t.toString().split("") : t.toString().split(z$)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: k$(e, r).width
+ width: O$(e, r).width
})),
- spaceWidth: n ? 0 : k$("\xA0", r).width
+ spaceWidth: n ? 0 : O$("\xA0", r).width
};
} catch {
return null;
}
};
-function H$(e) {
+function V$(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function pEe(e) {
- return VR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function mEe(e) {
+ return HR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var U$ = (e, t, n, r) => e.reduce((e, i) => {
+var H$ = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -60412,20 +60414,20 @@ var U$ = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), W$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), mEe = "…", G$ = (e, t, n, r, i, a, o, s) => {
- var c = V$({
+}, []), U$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), hEe = "…", W$ = (e, t, n, r, i, a, o, s) => {
+ var c = B$({
breakAll: n,
style: r,
- children: e.slice(0, t) + mEe
+ children: e.slice(0, t) + hEe
});
if (!c) return [!1, []];
- var l = U$(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || W$(l).width > Number(a), l];
-}, hEe = (e, t, n, r, i) => {
- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = U$(t, r, n, i);
- if (!l || i || !(d.length > a || W$(d).width > Number(r))) return d;
+ var l = H$(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || U$(l).width > Number(a), l];
+}, gEe = (e, t, n, r, i) => {
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = H$(t, r, n, i);
+ if (!l || i || !(d.length > a || U$(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = G$(u, g - 1, c, s, a, r, n, i), [y] = G$(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = W$(u, g - 1, c, s, a, r, n, i), [y] = W$(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -60433,13 +60435,13 @@ var U$ = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, K$ = (e) => [{
- words: VR(e) ? [] : e.toString().split(B$),
+}, G$ = (e) => [{
+ words: HR(e) ? [] : e.toString().split(z$),
width: void 0
-}], gEe = (e) => {
+}], _Ee = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !_G.isSsr) {
- var s, c, l = V$({
+ var s, c, l = B$({
breakAll: a,
children: r,
style: i
@@ -60447,28 +60449,28 @@ var U$ = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return K$(r);
- return hEe({
+ } else return G$(r);
+ return gEe({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return K$(r);
-}, q$ = "#808080", _Ee = {
+ return G$(r);
+}, K$ = "#808080", vEe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: q$,
+ fill: K$,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, J$ = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var n = ez(e, _Ee), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = z$(n, uEe), f = (0, L.useMemo)(() => gEe({
+}, q$ = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var n = tz(e, vEe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = R$(n, dEe), f = (0, L.useMemo)(() => _Ee({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -60482,32 +60484,32 @@ var U$ = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = z$(d, dEe);
- if (!FR(r) || !FR(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = R$(d, fEe);
+ if (!IR(r) || !IR(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!VV(y) || !VV(b)) return null;
+ if (!HV(y) || !HV(b)) return null;
var x;
switch (u) {
case "start":
- x = L$(`calc(${o})`);
+ x = I$(`calc(${o})`);
break;
case "middle":
- x = L$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = I$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = L$(`calc(${f.length - 1} * -${a})`);
+ default: x = I$(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
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__*/ L.createElement("text", R$({}, EL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ L.createElement("text", L$({}, DL(v), {
ref: t,
x: y,
y: b,
className: Au("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? q$ : s
+ fill: s.includes("url") ? K$ : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ L.createElement("tspan", {
@@ -60517,10 +60519,10 @@ var U$ = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-J$.displayName = "Text";
+q$.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function Y$(e, t) {
+function J$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60530,30 +60532,30 @@ function Y$(e, t) {
}
return n;
}
-function X$(e) {
+function Y$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Y$(Object(n), !0).forEach(function(t) {
- vEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y$(Object(n)).forEach(function(t) {
+ t % 2 ? J$(Object(n), !0).forEach(function(t) {
+ yEe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vEe(e, t, n) {
- return (t = yEe(t)) in e ? Object.defineProperty(e, t, {
+function yEe(e, t, n) {
+ return (t = bEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yEe(e) {
- var t = bEe(e, "string");
+function bEe(e) {
+ var t = xEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bEe(e, t) {
+function xEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60563,7 +60565,7 @@ function bEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var xEe = (e) => {
+var SEe = (e) => {
var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = uU(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 = {
@@ -60605,68 +60607,68 @@ var xEe = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? X$({
+ return n === "insideLeft" ? Y$({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? X$({
+ }, k) : n === "insideRight" ? Y$({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? X$({
+ }, k) : n === "insideTop" ? Y$({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? X$({
+ }, k) : n === "insideBottom" ? Y$({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? X$({
+ }, k) : n === "insideTopLeft" ? Y$({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? X$({
+ }, k) : n === "insideTopRight" ? Y$({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? X$({
+ }, k) : n === "insideBottomLeft" ? Y$({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? X$({
+ }, k) : n === "insideBottomRight" ? Y$({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || PR(n.x)) && (Z(n.y) || PR(n.y)) ? X$({
- x: o + LR(n.x, m),
- y: s + LR(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || FR(n.x)) && (Z(n.y) || FR(n.y)) ? Y$({
+ x: o + RR(n.x, m),
+ y: s + RR(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : X$({
+ }, k) : Y$({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, SEe = ["labelRef"], CEe = ["content"];
-function Z$(e, t) {
+}, CEe = ["labelRef"], wEe = ["content"];
+function X$(e, t) {
if (e == null) return {};
- var n, r, i = wEe(e, t);
+ var n, r, i = TEe(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 wEe(e, t) {
+function TEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60675,7 +60677,7 @@ function wEe(e, t) {
}
return n;
}
-function Q$(e, t) {
+function Z$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60685,30 +60687,30 @@ function Q$(e, t) {
}
return n;
}
-function $$(e) {
+function Q$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Q$(Object(n), !0).forEach(function(t) {
- TEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q$(Object(n)).forEach(function(t) {
+ t % 2 ? Z$(Object(n), !0).forEach(function(t) {
+ EEe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TEe(e, t, n) {
- return (t = EEe(t)) in e ? Object.defineProperty(e, t, {
+function EEe(e, t, n) {
+ return (t = DEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EEe(e) {
- var t = DEe(e, "string");
+function DEe(e) {
+ var t = OEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DEe(e, t) {
+function OEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60718,16 +60720,16 @@ function DEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function e1() {
- return e1 = Object.assign ? Object.assign.bind() : function(e) {
+function $$() {
+ return $$ = 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;
- }, e1.apply(null, arguments);
+ }, $$.apply(null, arguments);
}
-var t1 = /*#__PURE__*/ (0, L.createContext)(null), n1 = (e) => {
+var e1 = /*#__PURE__*/ (0, L.createContext)(null), t1 = (e) => {
var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, L.useMemo)(() => ({
x: t,
y: n,
@@ -60743,11 +60745,11 @@ var t1 = /*#__PURE__*/ (0, L.createContext)(null), n1 = (e) => {
a,
o
]);
- return /*#__PURE__*/ L.createElement(t1.Provider, { value: c }, s);
-}, r1 = () => {
- var e = (0, L.useContext)(t1), t = dU();
+ return /*#__PURE__*/ L.createElement(e1.Provider, { value: c }, s);
+}, n1 = () => {
+ var e = (0, L.useContext)(e1), t = dU();
return e || (t ? uU(t) : void 0);
-}, i1 = /*#__PURE__*/ (0, L.createContext)(null), OEe = (e) => {
+}, r1 = /*#__PURE__*/ (0, L.createContext)(null), kEe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, L.useMemo)(() => ({
cx: t,
cy: n,
@@ -60765,15 +60767,15 @@ var t1 = /*#__PURE__*/ (0, L.createContext)(null), n1 = (e) => {
o,
s
]);
- return /*#__PURE__*/ L.createElement(i1.Provider, { value: l }, c);
-}, a1 = () => {
- var e = (0, L.useContext)(i1), t = Q(sq);
+ return /*#__PURE__*/ L.createElement(r1.Provider, { value: l }, c);
+}, i1 = () => {
+ var e = (0, L.useContext)(r1), t = Q(sq);
return e || t;
-}, kEe = (e) => {
- var { value: t, formatter: n } = e, r = VR(e.children) ? t : e.children;
+}, AEe = (e) => {
+ var { value: t, formatter: n } = e, r = HR(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, o1 = (e) => e != null && typeof e == "function", AEe = (e, t) => MR(t - e) * Math.min(Math.abs(t - e), 360), jEe = (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 = AEe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, a1 = (e) => e != null && typeof e == "function", jEe = (e, t) => NR(t - e) * Math.min(Math.abs(t - e), 360), MEe = (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 = jEe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -60789,15 +60791,15 @@ var t1 = /*#__PURE__*/ (0, L.createContext)(null), n1 = (e) => {
v = h <= 0 ? v : !v;
var y = lK(s, c, m, _), b = lK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = VR(e.id) ? IR("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ L.createElement("text", e1({}, r, {
+ ${b.x},${b.y}`, S = HR(e.id) ? LR("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ L.createElement("text", $$({}, r, {
dominantBaseline: "central",
className: Au("recharts-radial-bar-label", o)
}), /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("path", {
id: S,
d: x
})), /*#__PURE__*/ L.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, MEe = (e, t, n) => {
+}, NEe = (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 } = lK(r, i, o + t, l);
@@ -60833,15 +60835,15 @@ var t1 = /*#__PURE__*/ (0, L.createContext)(null), n1 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, s1 = (e) => e != null && "cx" in e && Z(e.cx), NEe = {
+}, o1 = (e) => e != null && "cx" in e && Z(e.cx), PEe = {
angle: 0,
offset: 5,
zIndex: WK.label,
position: "middle",
textBreakAll: !1
};
-function PEe(e) {
- if (!s1(e)) return e;
+function FEe(e) {
+ if (!o1(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -60852,100 +60854,100 @@ function PEe(e) {
height: i
};
}
-function c1(e) {
- var t = ez(e, NEe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = a1(), f = r1(), p = n == null ? i === "center" ? f : d ?? f : s1(n) ? n : uU(n), m, h, g = PEe(p);
- if (!p || VR(a) && VR(o) && !/*#__PURE__*/ (0, L.isValidElement)(s) && typeof s != "function") return null;
- var _ = $$($$({}, t), {}, { viewBox: p });
+function s1(e) {
+ var t = tz(e, PEe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = i1(), f = n1(), p = n == null ? i === "center" ? f : d ?? f : o1(n) ? n : uU(n), m, h, g = FEe(p);
+ if (!p || HR(a) && HR(o) && !/*#__PURE__*/ (0, L.isValidElement)(s) && typeof s != "function") return null;
+ var _ = Q$(Q$({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, L.isValidElement)(s)) {
- var { labelRef: v } = _, y = Z$(_, SEe);
+ var { labelRef: v } = _, y = X$(_, CEe);
return /*#__PURE__*/ (0, L.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = Z$(_, CEe);
+ var { content: b } = _, x = X$(_, wEe);
if (m = /*#__PURE__*/ (0, L.createElement)(s, x), /*#__PURE__*/ (0, L.isValidElement)(m)) return m;
- } else m = kEe(t);
- var S = EL(t);
- if (s1(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return jEe(t, i, m, S, p);
- h = MEe(p, t.offset, t.position);
+ } else m = AEe(t);
+ var S = DL(t);
+ if (o1(p)) {
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return MEe(t, i, m, S, p);
+ h = NEe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = xEe({
+ var C = SEe({
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: s1(r) ? void 0 : r,
+ parentViewBox: o1(r) ? void 0 : r,
clamp: !0
});
- h = $$($$({
+ h = Q$(Q$({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ L.createElement(a$, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(J$, e1({
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(q$, $$({
ref: u,
className: Au("recharts-label", c)
}, S, h, {
- textAnchor: H$(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: V$(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-c1.displayName = "Label";
-var l1 = (e, t, n) => {
+s1.displayName = "Label";
+var c1 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ L.createElement(c1, e1({ key: "label-implicit" }, r)) : FR(e) ? /*#__PURE__*/ L.createElement(c1, e1({
+ return e === !0 ? /*#__PURE__*/ L.createElement(s1, $$({ key: "label-implicit" }, r)) : IR(e) ? /*#__PURE__*/ L.createElement(s1, $$({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, L.isValidElement)(e) ? e.type === c1 ? /*#__PURE__*/ (0, L.cloneElement)(e, $$({ key: "label-implicit" }, r)) : /*#__PURE__*/ L.createElement(c1, e1({
+ }, r)) : /*#__PURE__*/ (0, L.isValidElement)(e) ? e.type === s1 ? /*#__PURE__*/ (0, L.cloneElement)(e, Q$({ key: "label-implicit" }, r)) : /*#__PURE__*/ L.createElement(s1, $$({
key: "label-implicit",
content: e
- }, r)) : o1(e) ? /*#__PURE__*/ L.createElement(c1, e1({
+ }, r)) : a1(e) ? /*#__PURE__*/ L.createElement(s1, $$({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ L.createElement(c1, e1({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ L.createElement(s1, $$({}, e, { key: "label-implicit" }, r)) : null;
};
-function u1(e) {
+function l1(e) {
var { label: t, labelRef: n } = e;
- return l1(t, r1(), n) || null;
+ return c1(t, n1(), n) || null;
}
-function FEe(e) {
+function IEe(e) {
var { label: t } = e;
- return l1(t, a1()) || null;
+ return c1(t, i1()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var IEe = ["valueAccessor"], LEe = [
+var LEe = ["valueAccessor"], REe = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function d1() {
- return d1 = Object.assign ? Object.assign.bind() : function(e) {
+function u1() {
+ return u1 = 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;
- }, d1.apply(null, arguments);
+ }, u1.apply(null, arguments);
}
-function f1(e, t) {
+function d1(e, t) {
if (e == null) return {};
- var n, r, i = REe(e, t);
+ var n, r, i = zEe(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 REe(e, t) {
+function zEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60954,21 +60956,21 @@ function REe(e, t) {
}
return n;
}
-var zEe = (e) => {
+var BEe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (pEe(t)) return t;
-}, p1 = /*#__PURE__*/ (0, L.createContext)(void 0), m1 = p1.Provider, h1 = /*#__PURE__*/ (0, L.createContext)(void 0), BEe = h1.Provider;
-function VEe() {
- return (0, L.useContext)(p1);
-}
+ if (mEe(t)) return t;
+}, f1 = /*#__PURE__*/ (0, L.createContext)(void 0), p1 = f1.Provider, m1 = /*#__PURE__*/ (0, L.createContext)(void 0), VEe = m1.Provider;
function HEe() {
- return (0, L.useContext)(h1);
+ return (0, L.useContext)(f1);
}
-function g1(e) {
- var { valueAccessor: t = zEe } = e, n = f1(e, IEe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = f1(n, LEe), l = VEe(), u = HEe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: s ?? WK.label }, /*#__PURE__*/ L.createElement(AL, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = VR(r) ? t(e, i) : JV(e.payload, r), l = VR(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ L.createElement(c1, d1({ key: `label-${i}` }, EL(e), c, l, {
+function UEe() {
+ return (0, L.useContext)(m1);
+}
+function h1(e) {
+ var { valueAccessor: t = BEe } = e, n = d1(e, LEe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = d1(n, REe), l = HEe(), u = UEe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: s ?? WK.label }, /*#__PURE__*/ L.createElement(jL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = HR(r) ? t(e, i) : JV(e.payload, r), l = HR(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ L.createElement(s1, u1({ key: `label-${i}` }, DL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -60979,41 +60981,41 @@ function g1(e) {
}));
})));
}
-g1.displayName = "LabelList";
-function _1(e) {
+h1.displayName = "LabelList";
+function g1(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ L.createElement(g1, { key: "labelList-implicit" }) : /*#__PURE__*/ L.isValidElement(t) || o1(t) ? /*#__PURE__*/ L.createElement(g1, {
+ return t ? t === !0 ? /*#__PURE__*/ L.createElement(h1, { key: "labelList-implicit" }) : /*#__PURE__*/ L.isValidElement(t) || a1(t) ? /*#__PURE__*/ L.createElement(h1, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ L.createElement(g1, d1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ L.createElement(h1, u1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var UEe = [
+var WEe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], WEe;
-function v1() {
- return v1 = Object.assign ? Object.assign.bind() : function(e) {
+], GEe;
+function _1() {
+ return _1 = 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;
- }, v1.apply(null, arguments);
+ }, _1.apply(null, arguments);
}
-function GEe(e, t) {
+function KEe(e, t) {
if (e == null) return {};
- var n, r, i = KEe(e, t);
+ var n, r, i = qEe(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 KEe(e, t) {
+function qEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61022,23 +61024,23 @@ function KEe(e, t) {
}
return n;
}
-function qEe(e, t) {
+function JEe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var y1 = (e) => e != null && e.x === +e.x && e.y === +e.y, JEe = function() {
+var v1 = (e) => e != null && e.x === +e.x && e.y === +e.y, YEe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- y1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ v1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- y1(n) && r && r.push(n);
+ v1(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, b1 = (e, t) => {
- var n = JEe(e);
+}, y1 = (e, t) => {
+ var n = YEe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => jR(WEe ||= qEe([
+ var r = n.map((e) => e.reduce((e, t, n) => MR(GEe ||= JEe([
"",
"",
"",
@@ -61046,29 +61048,29 @@ var y1 = (e) => e != null && e.x === +e.x && e.y === +e.y, JEe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, YEe = (e, t, n) => {
- var r = b1(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${b1(Array.from(t).reverse(), n).slice(1)}`;
-}, x1 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = GEe(e, UEe);
+}, XEe = (e, t, n) => {
+ var r = y1(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${y1(Array.from(t).reverse(), n).slice(1)}`;
+}, b1 = (e) => {
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = KEe(e, WEe);
if (!t || !t.length) return null;
var o = Au("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = YEe(t, r, i);
- return /*#__PURE__*/ L.createElement("g", { className: o }, /*#__PURE__*/ L.createElement("path", v1({}, EL(a), {
+ var s = a.stroke && a.stroke !== "none", c = XEe(t, r, i);
+ return /*#__PURE__*/ L.createElement("g", { className: o }, /*#__PURE__*/ L.createElement("path", _1({}, DL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ L.createElement("path", v1({}, EL(a), {
+ })), s ? /*#__PURE__*/ L.createElement("path", _1({}, DL(a), {
fill: "none",
- d: b1(t, i)
- })) : null, s ? /*#__PURE__*/ L.createElement("path", v1({}, EL(a), {
+ d: y1(t, i)
+ })) : null, s ? /*#__PURE__*/ L.createElement("path", _1({}, DL(a), {
fill: "none",
- d: b1(r, i)
+ d: y1(r, i)
})) : null);
}
- var l = b1(t, i);
- return /*#__PURE__*/ L.createElement("path", v1({}, EL(a), {
+ var l = y1(t, i);
+ return /*#__PURE__*/ L.createElement("path", _1({}, DL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -61076,36 +61078,36 @@ var y1 = (e) => e != null && e.x === +e.x && e.y === +e.y, JEe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function S1() {
- return S1 = Object.assign ? Object.assign.bind() : function(e) {
+function x1() {
+ return x1 = 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;
- }, S1.apply(null, arguments);
+ }, x1.apply(null, arguments);
}
-var C1 = (e) => {
+var S1 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Au("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ L.createElement("circle", S1({}, wL(e), ZR(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ L.createElement("circle", x1({}, TL(e), QR(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, w1 = (e) => e.graphicalItems.polarItems, T1 = $([
- w1,
+}, C1 = (e) => e.graphicalItems.polarItems, w1 = $([
+ C1,
HX,
$([cq, lq], GX)
-], qX), E1 = $([$([T1], ZX), yK], QX), D1 = $([
- E1,
+], qX), T1 = $([$([w1], ZX), yK], QX), E1 = $([
+ T1,
HX,
- T1
+ w1
], eZ);
$([
- E1,
+ T1,
HX,
- T1
+ w1
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
value: JV(e, t.dataKey ?? n.dataKey),
errorDomain: []
@@ -61116,71 +61118,71 @@ $([
value: JV(e, t.dataKey),
errorDomain: []
})));
-var O1 = () => void 0, k1 = $([
+var D1 = () => void 0, O1 = $([
HX,
_U,
+ T1,
E1,
- D1,
RK,
cq,
$([
HX,
fZ,
pZ,
- O1,
+ D1,
$([
- E1,
- HX,
T1,
+ HX,
+ w1,
mZ,
cq
], gZ),
- O1,
+ D1,
_U,
cq
], wZ)
-], TZ), A1 = $([
- k1,
+], TZ), k1 = $([
+ O1,
UX,
DZ
-], OZ), XEe = $([DZ, $([
+], OZ), ZEe = $([DZ, $([
HX,
+ O1,
k1,
- A1,
cq
-], AZ)], vq), j1 = (e, t, n) => {
+], AZ)], vq), A1 = (e, t, n) => {
switch (t) {
case "angleAxis": return $K(e, n);
case "radiusAxis": return eq(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, M1 = (e, t, n) => {
+}, j1 = (e, t, n) => {
switch (t) {
case "angleAxis": return Abe(e, n);
case "radiusAxis": return jbe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, N1 = $([$([
- j1,
+}, M1 = $([$([
+ A1,
DZ,
- XEe,
- M1
-], kX)], _q), P1 = $([
+ ZEe,
+ j1
+], kX)], _q), N1 = $([
_U,
- D1,
+ E1,
UX,
cq
-], FZ), F1 = $([
+], FZ), P1 = $([
_U,
- j1,
- DZ,
- N1,
A1,
+ DZ,
M1,
+ k1,
+ j1,
KZ,
- P1,
+ N1,
cq
-], JZ), ZEe = $([F1], (e) => {
+], JZ), QEe = $([P1], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -61188,19 +61190,19 @@ var O1 = () => void 0, k1 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), QEe = $([
+}), $Ee = $([
_U,
- j1,
- N1,
+ A1,
M1,
+ j1,
KZ,
- P1,
+ N1,
cq
-], XZ), $Ee = $([(e, t) => F1(e, "angleAxis", t, !1)], (e) => {
+], XZ), eDe = $([(e, t) => P1(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), eDe = $([(e, t) => F1(e, "radiusAxis", t, !1)], (e) => {
+}), tDe = $([(e, t) => P1(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), tDe = [
+}), nDe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -61213,16 +61215,16 @@ var O1 = () => void 0, k1 = $([
"polarRadius",
"zIndex"
];
-function nDe(e, t) {
+function rDe(e, t) {
if (e == null) return {};
- var n, r, i = rDe(e, t);
+ var n, r, i = iDe(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 rDe(e, t) {
+function iDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61231,16 +61233,16 @@ function rDe(e, t) {
}
return n;
}
-function I1() {
- return I1 = Object.assign ? Object.assign.bind() : function(e) {
+function F1() {
+ return F1 = 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;
- }, I1.apply(null, arguments);
+ }, F1.apply(null, arguments);
}
-function L1(e, t) {
+function I1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61250,30 +61252,30 @@ function L1(e, t) {
}
return n;
}
-function R1(e) {
+function L1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L1(Object(n), !0).forEach(function(t) {
- iDe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L1(Object(n)).forEach(function(t) {
+ t % 2 ? I1(Object(n), !0).forEach(function(t) {
+ aDe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iDe(e, t, n) {
- return (t = aDe(t)) in e ? Object.defineProperty(e, t, {
+function aDe(e, t, n) {
+ return (t = oDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aDe(e) {
- var t = oDe(e, "string");
+function oDe(e) {
+ var t = sDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oDe(e, t) {
+function sDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61283,69 +61285,69 @@ function oDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var sDe = (e, t, n, r) => {
+var cDe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = lK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, cDe = (e) => {
+}, lDe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = R1({ stroke: "#ccc" }, wL(e));
+ var s = L1({ stroke: "#ccc" }, TL(e));
return /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = lK(t, n, r, e), o = lK(t, n, i, e);
- return /*#__PURE__*/ L.createElement("line", I1({ key: `line-${e}` }, s, {
+ return /*#__PURE__*/ L.createElement("line", F1({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, z1 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = R1({
+}, R1 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = L1({
stroke: "#ccc",
fill: "none"
- }, wL(e));
- return /*#__PURE__*/ L.createElement("circle", I1({}, i, {
+ }, TL(e));
+ return /*#__PURE__*/ L.createElement("circle", F1({}, i, {
className: Au("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, B1 = (e) => {
- var { radius: t } = e, n = R1({
+}, z1 = (e) => {
+ var { radius: t } = e, n = L1({
stroke: "#ccc",
fill: "none"
- }, wL(e));
- return /*#__PURE__*/ L.createElement("path", I1({}, n, {
+ }, TL(e));
+ return /*#__PURE__*/ L.createElement("path", F1({}, n, {
className: Au("recharts-polar-grid-concentric-polygon", e.className),
- d: sDe(t, e.cx, e.cy, e.polarAngles)
+ d: cDe(t, e.cx, e.cy, e.polarAngles)
}));
-}, lDe = (e) => {
+}, uDe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ L.createElement(z1, I1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ L.createElement(B1, I1({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ L.createElement(R1, F1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ L.createElement(z1, F1({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ L.createElement(z1, I1({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ L.createElement(R1, F1({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ L.createElement(B1, I1({ key: i }, e, {
+ })) : /*#__PURE__*/ L.createElement(z1, F1({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, uDe = {
+}, dDe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: WK.grid
-}, V1 = (e) => {
- var t = ez(e, uDe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = nDe(t, tDe), m = Q(sq), h = Q((e) => $Ee(e, i)), g = Q((e) => eDe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, B1 = (e) => {
+ var t = tz(e, dDe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = rDe(t, nDe), m = Q(sq), h = Q((e) => eDe(e, i)), g = Q((e) => tDe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = R1({
+ var y = L1({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -61354,13 +61356,13 @@ var sDe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: y.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ L.createElement(lDe, I1({
+ return b <= 0 ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: y.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ L.createElement(uDe, F1({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ L.createElement(cDe, I1({
+ })), /*#__PURE__*/ L.createElement(lDe, F1({
gridType: n,
radialLines: r
}, y, {
@@ -61368,19 +61370,19 @@ var sDe = (e, t, n, r) => {
polarRadius: v
}))));
};
-V1.displayName = "PolarGrid";
+B1.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function H1(e) {
+function V1(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function dDe(e, t = az) {
+function fDe(e, t = oz) {
if (e == null) return;
- let n = H1(e);
+ let n = V1(e);
if (n.length === 0) return;
- let r = Cz(t), i, a;
+ let r = wz(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);
@@ -61389,11 +61391,11 @@ function dDe(e, t = az) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function fDe(e, t = az) {
+function pDe(e, t = oz) {
if (e == null) return;
- let n = H1(e);
+ let n = V1(e);
if (n.length === 0) return;
- let r = Cz(t), i, a;
+ let r = wz(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);
@@ -61402,7 +61404,7 @@ function fDe(e, t = az) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var U1 = fV({
+var H1 = pV({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -61422,35 +61424,35 @@ var U1 = fV({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: pDe, removeRadiusAxis: mDe, addAngleAxis: hDe, removeAngleAxis: gDe } = U1.actions, _De = U1.reducer;
+}), { addRadiusAxis: mDe, removeRadiusAxis: hDe, addAngleAxis: gDe, removeAngleAxis: _De } = H1.actions, vDe = H1.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function W1(e) {
+function U1(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var vDe = ["type"], yDe = [
+var yDe = ["type"], bDe = [
"cx",
"cy",
"angle",
"axisLine"
-], bDe = [
+], xDe = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function G1() {
- return G1 = Object.assign ? Object.assign.bind() : function(e) {
+function W1() {
+ return W1 = 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;
- }, G1.apply(null, arguments);
+ }, W1.apply(null, arguments);
}
-function K1(e, t) {
+function G1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61460,30 +61462,30 @@ function K1(e, t) {
}
return n;
}
-function q1(e) {
+function K1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? K1(Object(n), !0).forEach(function(t) {
- xDe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K1(Object(n)).forEach(function(t) {
+ t % 2 ? G1(Object(n), !0).forEach(function(t) {
+ SDe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xDe(e, t, n) {
- return (t = SDe(t)) in e ? Object.defineProperty(e, t, {
+function SDe(e, t, n) {
+ return (t = CDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SDe(e) {
- var t = CDe(e, "string");
+function CDe(e) {
+ var t = wDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CDe(e, t) {
+function wDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61493,16 +61495,16 @@ function CDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J1(e, t) {
+function q1(e, t) {
if (e == null) return {};
- var n, r, i = wDe(e, t);
+ var n, r, i = TDe(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 wDe(e, t) {
+function TDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61511,20 +61513,20 @@ function wDe(e, t) {
}
return n;
}
-var TDe = "radiusAxis";
-function EDe(e) {
- var t = Dz(), n = xU(), r = (0, L.useMemo)(() => {
- var { type: t } = e, r = J1(e, vDe), i = JK(n, "radiusAxis", t);
- if (i != null) return q1(q1({}, r), {}, { type: i });
+var EDe = "radiusAxis";
+function DDe(e) {
+ var t = Oz(), n = xU(), r = (0, L.useMemo)(() => {
+ var { type: t } = e, r = q1(e, yDe), i = JK(n, "radiusAxis", t);
+ if (i != null) return K1(K1({}, r), {}, { type: i });
}, [e, n]);
- return (0, L.useEffect)(() => r == null ? WR : (t(pDe(r)), () => {
- t(mDe(r));
+ return (0, L.useEffect)(() => r == null ? GR : (t(mDe(r)), () => {
+ t(hDe(r));
}), [t, r]), null;
}
-var DDe = (e, t, n, r) => {
+var ODe = (e, t, n, r) => {
var { coordinate: i } = e;
return lK(n, r, i, t);
-}, ODe = (e) => {
+}, kDe = (e) => {
var t;
switch (e) {
case "left":
@@ -61536,49 +61538,49 @@ var DDe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, kDe = (e, t, n, r) => {
- var i = dDe(r, (e) => e.coordinate || 0);
+}, ADe = (e, t, n, r) => {
+ var i = fDe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: fDe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: pDe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, ADe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = J1(e, yDe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = lK(n, r, s[0], i), l = lK(n, r, s[1], i), u = q1(q1(q1({}, wL(o)), {}, { fill: "none" }, wL(a)), {}, {
+}, jDe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = q1(e, bDe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = lK(n, r, s[0], i), l = lK(n, r, s[1], i), u = K1(K1(K1({}, TL(o)), {}, { fill: "none" }, TL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ L.createElement("line", G1({ className: "recharts-polar-radius-axis-line" }, u));
-}, jDe = (e, t, n) => /*#__PURE__*/ L.isValidElement(e) ? /*#__PURE__*/ L.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ L.createElement(J$, G1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), MDe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = J1(e, bDe), s = ODe(e.orientation), c = wL(o), l = TL(a), u = t.map((t, o) => {
- var u = DDe(t, e.angle, e.cx, e.cy), d = q1(q1(q1(q1({
+ return /*#__PURE__*/ L.createElement("line", W1({ className: "recharts-polar-radius-axis-line" }, u));
+}, MDe = (e, t, n) => /*#__PURE__*/ L.isValidElement(e) ? /*#__PURE__*/ L.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ L.createElement(q$, W1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), NDe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = q1(e, xDe), s = kDe(e.orientation), c = TL(o), l = EL(a), u = t.map((t, o) => {
+ var u = ODe(t, e.angle, e.cx, e.cy), d = K1(K1(K1(K1({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ L.createElement(AL, G1({
- className: Au("recharts-polar-radius-axis-tick", W1(a)),
+ return /*#__PURE__*/ L.createElement(jL, W1({
+ className: Au("recharts-polar-radius-axis-tick", U1(a)),
key: `tick-${t.coordinate}`
- }, QR(e, t, o)), jDe(a, d, r ? r(t.value, o) : t.value));
+ }, $R(e, t, o)), MDe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ L.createElement(AL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, NDe = (e) => {
- var { radiusAxisId: t } = e, n = Q(sq), r = Q((e) => N1(e, "radiusAxis", t)), i = Q((e) => F1(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ L.createElement(jL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, PDe = (e) => {
+ var { radiusAxisId: t } = e, n = Q(sq), r = Q((e) => M1(e, "radiusAxis", t)), i = Q((e) => P1(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = q1(q1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ L.createElement(a$, { zIndex: a.zIndex }, /*#__PURE__*/ L.createElement(AL, { className: Au("recharts-polar-radius-axis", TDe, a.className) }, s && ADe(a, i), o && MDe(a, i), /*#__PURE__*/ L.createElement(OEe, kDe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ L.createElement(FEe, { label: a.label }), a.children)));
+ var a = K1(K1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: a.zIndex }, /*#__PURE__*/ L.createElement(jL, { className: Au("recharts-polar-radius-axis", EDe, a.className) }, s && jDe(a, i), o && NDe(a, i), /*#__PURE__*/ L.createElement(kEe, ADe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ L.createElement(IEe, { label: a.label }), a.children)));
};
-function Y1(e) {
- var t = ez(e, KK);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(EDe, {
+function J1(e) {
+ var t = tz(e, KK);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(DDe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -61595,22 +61597,22 @@ function Y1(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ L.createElement(NDe, t));
+ }), /*#__PURE__*/ L.createElement(PDe, t));
}
-Y1.displayName = "PolarRadiusAxis";
+J1.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var PDe = ["children", "type"], FDe = ["ref"];
-function X1() {
- return X1 = Object.assign ? Object.assign.bind() : function(e) {
+var FDe = ["children", "type"], IDe = ["ref"];
+function Y1() {
+ return Y1 = 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;
- }, X1.apply(null, arguments);
+ }, Y1.apply(null, arguments);
}
-function Z1(e, t) {
+function X1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61620,30 +61622,30 @@ function Z1(e, t) {
}
return n;
}
-function Q1(e) {
+function Z1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Z1(Object(n), !0).forEach(function(t) {
- IDe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z1(Object(n)).forEach(function(t) {
+ t % 2 ? X1(Object(n), !0).forEach(function(t) {
+ LDe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IDe(e, t, n) {
- return (t = LDe(t)) in e ? Object.defineProperty(e, t, {
+function LDe(e, t, n) {
+ return (t = RDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LDe(e) {
- var t = RDe(e, "string");
+function RDe(e) {
+ var t = zDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RDe(e, t) {
+function zDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61653,16 +61655,16 @@ function RDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $1(e, t) {
+function Q1(e, t) {
if (e == null) return {};
- var n, r, i = zDe(e, t);
+ var n, r, i = BDe(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 zDe(e, t) {
+function BDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61671,17 +61673,17 @@ function zDe(e, t) {
}
return n;
}
-var e0 = 1e-5, BDe = Math.cos(cK(45)), VDe = "angleAxis";
-function HDe(e) {
- var t = Dz(), n = xU(), r = (0, L.useMemo)(() => {
- var { children: t, type: r } = e, i = $1(e, PDe), a = JK(n, "angleAxis", r);
- if (a != null) return Q1(Q1({}, i), {}, { type: a });
+var $1 = 1e-5, VDe = Math.cos(cK(45)), HDe = "angleAxis";
+function UDe(e) {
+ var t = Oz(), n = xU(), r = (0, L.useMemo)(() => {
+ var { children: t, type: r } = e, i = Q1(e, FDe), a = JK(n, "angleAxis", r);
+ if (a != null) return Z1(Z1({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => $K(e, r?.id));
- return (0, L.useEffect)(() => r == null ? WR : (t(hDe(r)), () => {
- t(gDe(r));
+ return (0, L.useEffect)(() => r == null ? GR : (t(gDe(r)), () => {
+ t(_De(r));
}), [t, r]), i ? e.children : null;
}
-var UDe = (e, t) => {
+var WDe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = lK(n, r, i, e.coordinate), l = lK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -61689,29 +61691,29 @@ var UDe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, WDe = (e, t) => {
+}, GDe = (e, t) => {
var n = Math.cos(cK(-e.coordinate));
- return n > e0 ? t === "outer" ? "start" : "end" : n < -e0 ? t === "outer" ? "end" : "start" : "middle";
-}, GDe = (e) => {
- var t = Math.cos(cK(-e.coordinate)), n = Math.sin(cK(-e.coordinate));
- return Math.abs(t) <= BDe ? n > 0 ? "start" : "end" : "middle";
+ return n > $1 ? t === "outer" ? "start" : "end" : n < -$1 ? t === "outer" ? "end" : "start" : "middle";
}, KDe = (e) => {
+ var t = Math.cos(cK(-e.coordinate)), n = Math.sin(cK(-e.coordinate));
+ return Math.abs(t) <= VDe ? n > 0 ? "start" : "end" : "middle";
+}, qDe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = Q1(Q1({}, wL(e)), {}, { fill: "none" }, wL(a));
- if (i === "circle") return /*#__PURE__*/ L.createElement(C1, X1({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = Z1(Z1({}, TL(e)), {}, { fill: "none" }, TL(a));
+ if (i === "circle") return /*#__PURE__*/ L.createElement(S1, Y1({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
var c = o.map((e) => lK(t, n, r, e.coordinate));
- return /*#__PURE__*/ L.createElement(x1, X1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, qDe = (e) => {
- var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ L.isValidElement(t) ? /*#__PURE__*/ L.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ L.createElement(J$, X1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+ return /*#__PURE__*/ L.createElement(b1, Y1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
}, JDe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = wL(e), { ref: s } = o, c = $1(o, FDe), l = TL(t), u = Q1(Q1({}, c), {}, { fill: "none" }, wL(n)), d = a.map((a, o) => {
- var s = UDe(a, e), d = WDe(a, e.orientation), f = GDe(a), p = Q1(Q1(Q1({}, c), {}, {
+ var { tick: t, tickProps: n, value: r } = e;
+ return t ? /*#__PURE__*/ L.isValidElement(t) ? /*#__PURE__*/ L.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ L.createElement(q$, Y1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, YDe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = TL(e), { ref: s } = o, c = Q1(o, IDe), l = EL(t), u = Z1(Z1({}, c), {}, { fill: "none" }, TL(n)), d = a.map((a, o) => {
+ var s = WDe(a, e), d = GDe(a, e.orientation), f = KDe(a), p = Z1(Z1(Z1({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -61722,28 +61724,28 @@ var UDe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ L.createElement(AL, X1({
- className: Au("recharts-polar-angle-axis-tick", W1(t)),
+ return /*#__PURE__*/ L.createElement(jL, Y1({
+ className: Au("recharts-polar-angle-axis-tick", U1(t)),
key: `tick-${a.coordinate}`
- }, QR(e, a, o)), n && /*#__PURE__*/ L.createElement("line", X1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ L.createElement(qDe, {
+ }, $R(e, a, o)), n && /*#__PURE__*/ L.createElement("line", Y1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ L.createElement(JDe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ L.createElement(AL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, YDe = (e) => {
- var { angleAxisId: t } = e, n = Q(sq), r = Q((e) => N1(e, "angleAxis", t)), i = LH(), a = Q((e) => ZEe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ L.createElement(jL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, XDe = (e) => {
+ var { angleAxisId: t } = e, n = Q(sq), r = Q((e) => M1(e, "angleAxis", t)), i = LH(), a = Q((e) => QEe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = Q1(Q1(Q1({}, e), {}, { scale: r }, n), {}, {
+ var o = Z1(Z1(Z1({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ L.createElement(a$, { zIndex: o.zIndex }, /*#__PURE__*/ L.createElement(AL, { className: Au("recharts-polar-angle-axis", VDe, o.className) }, /*#__PURE__*/ L.createElement(KDe, o), /*#__PURE__*/ L.createElement(JDe, o)));
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: o.zIndex }, /*#__PURE__*/ L.createElement(jL, { className: Au("recharts-polar-angle-axis", HDe, o.className) }, /*#__PURE__*/ L.createElement(qDe, o), /*#__PURE__*/ L.createElement(YDe, o)));
};
-function t0(e) {
- var t = ez(e, GK);
- return /*#__PURE__*/ L.createElement(HDe, {
+function e0(e) {
+ var t = tz(e, GK);
+ return /*#__PURE__*/ L.createElement(UDe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -61760,12 +61762,12 @@ function t0(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ L.createElement(YDe, t));
+ }, /*#__PURE__*/ L.createElement(XDe, t));
}
-t0.displayName = "PolarAngleAxis";
+e0.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var XDe = /* @__PURE__ */ Te(((e) => {
+var ZDe = /* @__PURE__ */ Te(((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) {
@@ -61794,26 +61796,26 @@ var XDe = /* @__PURE__ */ Te(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), ZDe = (/* @__PURE__ */ Te(((e, t) => {
- t.exports = XDe();
-})))(), n0 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", r0 = null, i0 = null, a0 = (e) => {
- if (e === r0 && Array.isArray(i0)) return i0;
+})), QDe = (/* @__PURE__ */ Te(((e, t) => {
+ t.exports = ZDe();
+})))(), t0 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", n0 = null, r0 = null, i0 = (e) => {
+ if (e === n0 && Array.isArray(r0)) return r0;
var t = [];
return L.Children.forEach(e, (e) => {
- VR(e) || ((0, ZDe.isFragment)(e) ? t = t.concat(a0(e.props.children)) : t.push(e));
- }), i0 = t, r0 = e, t;
+ HR(e) || ((0, QDe.isFragment)(e) ? t = t.concat(i0(e.props.children)) : t.push(e));
+ }), r0 = t, n0 = e, t;
};
-function o0(e, t) {
+function a0(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => n0(e)) : [n0(t)], a0(e).forEach((e) => {
- var t = kR(e, "type.displayName") || kR(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => t0(e)) : [t0(t)], i0(e).forEach((e) => {
+ var t = AR(e, "type.displayName") || AR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var s0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var o0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function QDe(e) {
+function $De(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -61826,8 +61828,8 @@ function QDe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var $De, eOe, tOe, nOe, rOe;
-function c0(e, t) {
+var eOe, tOe, nOe, rOe, iOe;
+function s0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61837,30 +61839,30 @@ function c0(e, t) {
}
return n;
}
-function l0(e) {
+function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? c0(Object(n), !0).forEach(function(t) {
- iOe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c0(Object(n)).forEach(function(t) {
+ t % 2 ? s0(Object(n), !0).forEach(function(t) {
+ aOe(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 iOe(e, t, n) {
- return (t = aOe(t)) in e ? Object.defineProperty(e, t, {
+function aOe(e, t, n) {
+ return (t = oOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aOe(e) {
- var t = oOe(e, "string");
+function oOe(e) {
+ var t = sOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oOe(e, t) {
+function sOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61870,42 +61872,42 @@ function oOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function u0() {
- return u0 = Object.assign ? Object.assign.bind() : function(e) {
+function l0() {
+ return l0 = 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;
- }, u0.apply(null, arguments);
+ }, l0.apply(null, arguments);
}
-function d0(e, t) {
+function u0(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var f0 = (e, t, n, r, i) => {
- var a = n - r, o = jR($De ||= d0([
+var d0 = (e, t, n, r, i) => {
+ var a = n - r, o = MR(eOe ||= u0([
"M ",
",",
""
]), e, t);
- return o += jR(eOe ||= d0([
+ return o += MR(tOe ||= u0([
"L ",
",",
""
- ]), e + n, t), o += jR(tOe ||= d0([
+ ]), e + n, t), o += MR(nOe ||= u0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += jR(nOe ||= d0([
+ ]), e + n - a / 2, t + i), o += MR(rOe ||= u0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += jR(rOe ||= d0([
+ ]), e + n - a / 2 - r, t + i), o += MR(iOe ||= u0([
"L ",
",",
" Z"
]), e, t), o;
-}, sOe = {
+}, cOe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -61915,8 +61917,8 @@ var f0 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, cOe = (e) => {
- var t = ez(e, sOe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, L.useRef)(null), [p, m] = (0, L.useState)(-1), h = (0, L.useRef)(i), g = (0, L.useRef)(a), _ = (0, L.useRef)(o), v = (0, L.useRef)(n), y = (0, L.useRef)(r), b = XG(e, "trapezoid-");
+}, lOe = (e) => {
+ var t = tz(e, cOe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, L.useRef)(null), [p, m] = (0, L.useState)(-1), h = (0, L.useRef)(i), g = (0, L.useRef)(a), _ = (0, L.useRef)(o), v = (0, L.useRef)(n), y = (0, L.useRef)(r), b = XG(e, "trapezoid-");
if ((0, L.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -61924,9 +61926,9 @@ var f0 = (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 = Au("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ L.createElement("g", null, /*#__PURE__*/ L.createElement("path", u0({}, EL(t), {
+ if (!d) return /*#__PURE__*/ L.createElement("g", null, /*#__PURE__*/ L.createElement("path", l0({}, DL(t), {
className: x,
- d: f0(n, r, i, a, o)
+ d: d0(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 = IG(["strokeDasharray"], l, c);
return /*#__PURE__*/ L.createElement(YG, {
@@ -61938,35 +61940,35 @@ var f0 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = zR(S, i, e), c = zR(C, a, e), l = zR(w, o, e), u = zR(T, n, e), d = zR(E, r, e);
+ var s = BR(S, i, e), c = BR(C, a, e), l = BR(w, o, e), u = BR(T, n, e), d = BR(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ L.createElement("path", u0({}, EL(t), {
+ return /*#__PURE__*/ L.createElement("path", l0({}, DL(t), {
className: x,
- d: f0(u, d, s, c, l),
+ d: d0(u, d, s, c, l),
ref: f,
- style: l0(l0({}, p), t.style)
+ style: c0(c0({}, p), t.style)
}));
});
-}, lOe = [
+}, uOe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function uOe(e, t) {
+function dOe(e, t) {
if (e == null) return {};
- var n, r, i = dOe(e, t);
+ var n, r, i = fOe(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 dOe(e, t) {
+function fOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61975,7 +61977,7 @@ function dOe(e, t) {
}
return n;
}
-function p0(e, t) {
+function f0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61985,30 +61987,30 @@ function p0(e, t) {
}
return n;
}
-function m0(e) {
+function p0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? p0(Object(n), !0).forEach(function(t) {
- fOe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p0(Object(n)).forEach(function(t) {
+ t % 2 ? f0(Object(n), !0).forEach(function(t) {
+ pOe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fOe(e, t, n) {
- return (t = pOe(t)) in e ? Object.defineProperty(e, t, {
+function pOe(e, t, n) {
+ return (t = mOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pOe(e) {
- var t = mOe(e, "string");
+function mOe(e) {
+ var t = hOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mOe(e, t) {
+function hOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62018,51 +62020,51 @@ function mOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function hOe(e, t) {
- return m0(m0({}, t), e);
-}
function gOe(e, t) {
+ return p0(p0({}, t), e);
+}
+function _Oe(e, t) {
return e === "symbols";
}
-function h0(e) {
+function m0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ L.createElement(iK, n);
- case "trapezoid": return /*#__PURE__*/ L.createElement(cOe, n);
+ case "trapezoid": return /*#__PURE__*/ L.createElement(lOe, n);
case "sector": return /*#__PURE__*/ L.createElement(hK, n);
case "symbols":
- if (gOe(t, n)) return /*#__PURE__*/ L.createElement(YR, n);
+ if (_Oe(t, n)) return /*#__PURE__*/ L.createElement(XR, n);
break;
case "curve": return /*#__PURE__*/ L.createElement(jG, n);
default: return null;
}
}
-function _Oe(e) {
+function vOe(e) {
return /*#__PURE__*/ (0, L.isValidElement)(e) ? e.props : e;
}
-function g0(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = uOe(e, lOe), o;
- if (/*#__PURE__*/ (0, L.isValidElement)(t)) o = /*#__PURE__*/ (0, L.cloneElement)(t, m0(m0({}, a), _Oe(t)));
+function h0(e) {
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = dOe(e, uOe), o;
+ if (/*#__PURE__*/ (0, L.isValidElement)(t)) o = /*#__PURE__*/ (0, L.cloneElement)(t, p0(p0({}, a), vOe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (QDe(t) && typeof t != "boolean") {
- var s = hOe(t, a);
- o = /*#__PURE__*/ L.createElement(h0, {
+ else if ($De(t) && typeof t != "boolean") {
+ var s = gOe(t, a);
+ o = /*#__PURE__*/ L.createElement(m0, {
shapeType: n,
elementProps: s
});
} else {
var c = a;
- o = /*#__PURE__*/ L.createElement(h0, {
+ o = /*#__PURE__*/ L.createElement(m0, {
shapeType: n,
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ L.createElement(AL, { className: r }, o) : /*#__PURE__*/ L.createElement(AL, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ L.createElement(jL, { className: r }, o) : /*#__PURE__*/ L.createElement(jL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var _0 = (e, t, n) => {
- var r = Dz();
+var g0 = (e, t, n) => {
+ var r = Oz();
return (i, a) => (o) => {
e?.(i, a, o), r(oQ({
activeIndex: String(a),
@@ -62071,13 +62073,13 @@ var _0 = (e, t, n) => {
activeGraphicalItemId: n
}));
};
-}, v0 = (e) => {
- var t = Dz();
+}, _0 = (e) => {
+ var t = Oz();
return (n, r) => (i) => {
e?.(n, r, i), t(rwe());
};
-}, y0 = (e, t, n) => {
- var r = Dz();
+}, v0 = (e, t, n) => {
+ var r = Oz();
return (i, a) => (o) => {
e?.(i, a, o), r(iwe({
activeIndex: String(a),
@@ -62089,8 +62091,8 @@ var _0 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function b0(e) {
- var { tooltipEntrySettings: t } = e, n = Dz(), r = LH(), i = (0, L.useRef)(null);
+function y0(e) {
+ var { tooltipEntrySettings: t } = e, n = Oz(), r = LH(), i = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
r || (i.current === null ? n($Ce(t)) : i.current !== t && n(ewe({
prev: i.current,
@@ -62106,8 +62108,8 @@ function b0(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function x0(e) {
- var { legendPayload: t } = e, n = Dz(), r = LH(), i = (0, L.useRef)(null);
+function b0(e) {
+ var { legendPayload: t } = e, n = Oz(), r = LH(), i = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
r || (i.current === null ? n(CW(t)) : i.current !== t && n(wW({
prev: i.current,
@@ -62121,8 +62123,8 @@ function x0(e) {
i.current &&= (n(TW(i.current)), null);
}, [n]), null;
}
-function S0(e) {
- var { legendPayload: t } = e, n = Dz(), r = Q(_U), i = (0, L.useRef)(null);
+function x0(e) {
+ var { legendPayload: t } = e, n = Oz(), r = Q(_U), i = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
(r === "centric" || r === "radial") && (i.current === null ? n(CW(t)) : i.current !== t && n(wW({
prev: i.current,
@@ -62138,22 +62140,22 @@ function S0(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var vOe = L.useId ?? (() => {
- var [e] = L.useState(() => IR("uid-"));
+var yOe = L.useId ?? (() => {
+ var [e] = L.useState(() => LR("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function yOe(e, t) {
- var n = vOe();
+function bOe(e, t) {
+ var n = yOe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var bOe = /*#__PURE__*/ (0, L.createContext)(void 0), C0 = (e) => {
- var { id: t, type: n, children: r } = e, i = yOe(`recharts-${n}`, t);
- return /*#__PURE__*/ L.createElement(bOe.Provider, { value: i }, r(i));
-}, w0 = fV({
+var xOe = /*#__PURE__*/ (0, L.createContext)(void 0), S0 = (e) => {
+ var { id: t, type: n, children: r } = e, i = bOe(`recharts-${n}`, t);
+ return /*#__PURE__*/ L.createElement(xOe.Provider, { value: i }, r(i));
+}, C0 = pV({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -62164,78 +62166,78 @@ var bOe = /*#__PURE__*/ (0, L.createContext)(void 0), C0 = (e) => {
reducer(e, t) {
e.cartesianItems.push(yW(t.payload));
},
- prepare: cV()
+ prepare: lV()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = $B(e).cartesianItems.indexOf(yW(n));
+ var { prev: n, next: r } = t.payload, i = eV(e).cartesianItems.indexOf(yW(n));
i > -1 && (e.cartesianItems[i] = yW(r));
},
- prepare: cV()
+ prepare: lV()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = $B(e).cartesianItems.indexOf(yW(t.payload));
+ var n = eV(e).cartesianItems.indexOf(yW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: cV()
+ prepare: lV()
},
addPolarGraphicalItem: {
reducer(e, t) {
e.polarItems.push(yW(t.payload));
},
- prepare: cV()
+ prepare: lV()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = $B(e).polarItems.indexOf(yW(t.payload));
+ var n = eV(e).polarItems.indexOf(yW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: cV()
+ prepare: lV()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = $B(e).polarItems.indexOf(yW(n));
+ var { prev: n, next: r } = t.payload, i = eV(e).polarItems.indexOf(yW(n));
i > -1 && (e.polarItems[i] = yW(r));
},
- prepare: cV()
+ prepare: lV()
}
}
-}), { addCartesianGraphicalItem: xOe, replaceCartesianGraphicalItem: SOe, removeCartesianGraphicalItem: COe, addPolarGraphicalItem: wOe, removePolarGraphicalItem: TOe, replacePolarGraphicalItem: EOe } = w0.actions, DOe = w0.reducer, T0 = /*#__PURE__*/ (0, L.memo)((e) => {
- var t = Dz(), n = (0, L.useRef)(null);
+}), { addCartesianGraphicalItem: SOe, replaceCartesianGraphicalItem: COe, removeCartesianGraphicalItem: wOe, addPolarGraphicalItem: TOe, removePolarGraphicalItem: EOe, replacePolarGraphicalItem: DOe } = C0.actions, OOe = C0.reducer, w0 = /*#__PURE__*/ (0, L.memo)((e) => {
+ var t = Oz(), n = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
- n.current === null ? t(xOe(e)) : n.current !== e && t(SOe({
+ n.current === null ? t(SOe(e)) : n.current !== e && t(COe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(COe(n.current)), null);
+ n.current &&= (t(wOe(n.current)), null);
}, [t]), null;
-}), E0 = /*#__PURE__*/ (0, L.memo)((e) => {
- var t = Dz(), n = (0, L.useRef)(null);
+}), T0 = /*#__PURE__*/ (0, L.memo)((e) => {
+ var t = Oz(), n = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
- n.current === null ? t(wOe(e)) : n.current !== e && t(EOe({
+ n.current === null ? t(TOe(e)) : n.current !== e && t(DOe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(TOe(n.current)), null);
+ n.current &&= (t(EOe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function OOe(e) {
+function kOe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function kOe(e) {
- if (!(!oz(e) || e.length === 0)) return OOe(H1(e));
+function AOe(e) {
+ if (!(!sz(e) || e.length === 0)) return kOe(V1(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var AOe = ["points"];
-function D0(e, t) {
+var jOe = ["points"];
+function E0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62245,30 +62247,30 @@ function D0(e, t) {
}
return n;
}
-function O0(e) {
+function D0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? D0(Object(n), !0).forEach(function(t) {
- jOe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D0(Object(n)).forEach(function(t) {
+ t % 2 ? E0(Object(n), !0).forEach(function(t) {
+ MOe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jOe(e, t, n) {
- return (t = MOe(t)) in e ? Object.defineProperty(e, t, {
+function MOe(e, t, n) {
+ return (t = NOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MOe(e) {
- var t = NOe(e, "string");
+function NOe(e) {
+ var t = POe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NOe(e, t) {
+function POe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62278,25 +62280,25 @@ function NOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function k0() {
- return k0 = Object.assign ? Object.assign.bind() : function(e) {
+function O0() {
+ return O0 = 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;
- }, k0.apply(null, arguments);
+ }, O0.apply(null, arguments);
}
-function POe(e, t) {
+function FOe(e, t) {
if (e == null) return {};
- var n, r, i = FOe(e, t);
+ var n, r, i = IOe(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 FOe(e, t) {
+function IOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62305,21 +62307,21 @@ function FOe(e, t) {
}
return n;
}
-function IOe(e) {
+function LOe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, L.isValidElement)(t)) return /*#__PURE__*/ (0, L.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Au(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = POe(a, AOe);
- return /*#__PURE__*/ L.createElement(C1, k0({}, s, { className: i }));
+ var i = Au(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = FOe(a, jOe);
+ return /*#__PURE__*/ L.createElement(S1, O0({}, s, { className: i }));
}
-function LOe(e, t) {
+function ROe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function A0(e) {
+function k0(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = WK.scatter } = e;
- if (!LOe(t, n)) return null;
- var u = s0(n), d = yhe(n), f = t.map((e, r) => {
- var s = O0(O0(O0({ r: 3 }, o), d), {}, {
+ if (!ROe(t, n)) return null;
+ var u = o0(n), d = vhe(n), f = t.map((e, r) => {
+ var s = D0(D0(D0({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -62328,18 +62330,18 @@ function A0(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ L.createElement(IOe, {
+ return /*#__PURE__*/ L.createElement(LOe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ L.createElement(a$, { zIndex: l }, /*#__PURE__*/ L.createElement(AL, k0({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ L.createElement(a$, { zIndex: l }, /*#__PURE__*/ L.createElement(jL, O0({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function j0(e, t) {
+function A0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62349,30 +62351,30 @@ function j0(e, t) {
}
return n;
}
-function M0(e) {
+function j0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? j0(Object(n), !0).forEach(function(t) {
- ROe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j0(Object(n)).forEach(function(t) {
+ t % 2 ? A0(Object(n), !0).forEach(function(t) {
+ zOe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ROe(e, t, n) {
- return (t = zOe(t)) in e ? Object.defineProperty(e, t, {
+function zOe(e, t, n) {
+ return (t = BOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zOe(e) {
- var t = BOe(e, "string");
+function BOe(e) {
+ var t = VOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BOe(e, t) {
+function VOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62382,7 +62384,7 @@ function BOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var N0 = fV({
+var M0 = pV({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -62394,58 +62396,58 @@ var N0 = fV({
reducer(e, t) {
e.xAxis[t.payload.id] = yW(t.payload);
},
- prepare: cV()
+ prepare: lV()
},
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] = yW(r));
},
- prepare: cV()
+ prepare: lV()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: cV()
+ prepare: lV()
},
addYAxis: {
reducer(e, t) {
e.yAxis[t.payload.id] = yW(t.payload);
},
- prepare: cV()
+ prepare: lV()
},
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] = yW(r));
},
- prepare: cV()
+ prepare: lV()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: cV()
+ prepare: lV()
},
addZAxis: {
reducer(e, t) {
e.zAxis[t.payload.id] = yW(t.payload);
},
- prepare: cV()
+ prepare: lV()
},
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] = yW(r));
},
- prepare: cV()
+ prepare: lV()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: cV()
+ prepare: lV()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -62453,14 +62455,14 @@ var N0 = fV({
var a = i.widthHistory || [];
if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;
var o = [...a, r].slice(-3);
- e.yAxis[n] = M0(M0({}, i), {}, {
+ e.yAxis[n] = j0(j0({}, i), {}, {
width: r,
widthHistory: o
});
}
}
}
-}), { addXAxis: VOe, replaceXAxis: HOe, removeXAxis: UOe, addYAxis: WOe, replaceYAxis: GOe, removeYAxis: KOe, addZAxis: qOe, replaceZAxis: JOe, removeZAxis: YOe, updateYAxisWidth: XOe } = N0.actions, ZOe = N0.reducer, QOe = $([
+}), { addXAxis: HOe, replaceXAxis: UOe, removeXAxis: WOe, addYAxis: GOe, replaceYAxis: KOe, removeYAxis: qOe, addZAxis: JOe, replaceZAxis: YOe, removeZAxis: XOe, updateYAxisWidth: ZOe } = M0.actions, QOe = M0.reducer, $Oe = $([
$([NH], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -62476,10 +62478,10 @@ var N0 = fV({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), P0 = () => Q(QOe), $Oe = () => Q(Nwe);
+}), N0 = () => Q($Oe), eke = () => Q(Nwe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function F0(e, t) {
+function P0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62489,30 +62491,30 @@ function F0(e, t) {
}
return n;
}
-function I0(e) {
+function F0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? F0(Object(n), !0).forEach(function(t) {
- eke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F0(Object(n)).forEach(function(t) {
+ t % 2 ? P0(Object(n), !0).forEach(function(t) {
+ tke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eke(e, t, n) {
- return (t = tke(t)) in e ? Object.defineProperty(e, t, {
+function tke(e, t, n) {
+ return (t = nke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tke(e) {
- var t = nke(e, "string");
+function nke(e) {
+ var t = rke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nke(e, t) {
+function rke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62522,10 +62524,10 @@ function nke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rke = (e) => {
+var ike = (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 = I0(I0(I0({}, {
+ var s = F0(F0(F0({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -62536,17 +62538,17 @@ var rke = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), TL(i)), ZR(i)), c = /*#__PURE__*/ (0, L.isValidElement)(i) ? /*#__PURE__*/ (0, L.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ L.createElement(C1, s);
- return /*#__PURE__*/ L.createElement(AL, {
+ }), EL(i)), QR(i)), c = /*#__PURE__*/ (0, L.isValidElement)(i) ? /*#__PURE__*/ (0, L.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ L.createElement(S1, s);
+ return /*#__PURE__*/ L.createElement(jL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function L0(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = WK.activeDot } = e, s = Q(RQ), c = $Oe();
+function I0(e) {
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = WK.activeDot } = e, s = Q(RQ), c = eke();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return VR(l) ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: o }, /*#__PURE__*/ L.createElement(rke, {
+ return HR(l) ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: o }, /*#__PURE__*/ L.createElement(ike, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -62557,7 +62559,7 @@ function L0(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function R0(e, t) {
+function L0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62567,30 +62569,30 @@ function R0(e, t) {
}
return n;
}
-function z0(e) {
+function R0(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) {
- ike(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
+ t % 2 ? L0(Object(n), !0).forEach(function(t) {
+ ake(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ike(e, t, n) {
- return (t = ake(t)) in e ? Object.defineProperty(e, t, {
+function ake(e, t, n) {
+ return (t = oke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ake(e) {
- var t = oke(e, "string");
+function oke(e) {
+ var t = ske(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oke(e, t) {
+function ske(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62600,15 +62602,15 @@ function oke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var B0 = (e, t) => N1(e, "radiusAxis", t), ske = $([B0], (e) => {
+var z0 = (e, t) => M1(e, "radiusAxis", t), cke = $([z0], (e) => {
if (e != null) return { scale: e };
-}), cke = $([eq, B0], (e, t) => {
- if (e != null && t != null) return z0(z0({}, e), {}, { scale: t });
-}), lke = (e, t, n, r) => F1(e, "radiusAxis", t, r), V0 = (e, t, n) => $K(e, n), H0 = (e, t, n) => N1(e, "angleAxis", n), uke = $([V0, H0], (e, t) => {
- if (e != null && t != null) return z0(z0({}, e), {}, { scale: t });
-}), dke = (e, t, n, r) => F1(e, "angleAxis", n, r), fke = $([
+}), lke = $([eq, z0], (e, t) => {
+ if (e != null && t != null) return R0(R0({}, e), {}, { scale: t });
+}), uke = (e, t, n, r) => P1(e, "radiusAxis", t, r), B0 = (e, t, n) => $K(e, n), V0 = (e, t, n) => M1(e, "angleAxis", n), dke = $([B0, V0], (e, t) => {
+ if (e != null && t != null) return R0(R0({}, e), {}, { scale: t });
+}), fke = (e, t, n, r) => P1(e, "angleAxis", n, r), pke = $([
+ B0,
V0,
- H0,
sq
], (e, t, n) => {
if (n != null && t != null) return {
@@ -62618,40 +62620,40 @@ var B0 = (e, t) => N1(e, "radiusAxis", t), ske = $([B0], (e) => {
cx: n.cx,
cy: n.cy
};
-}), pke = (e, t, n, r, i) => i, mke = $([
+}), mke = (e, t, n, r, i) => i, hke = $([
_U,
- cke,
lke,
uke,
- dke
-], (e, t, n, r, i) => XV(e, "radiusAxis") ? dH(t, n, !1) : dH(r, i, !1)), hke = $([
- ske,
- fke,
+ dke,
+ fke
+], (e, t, n, r, i) => XV(e, "radiusAxis") ? dH(t, n, !1) : dH(r, i, !1)), gke = $([
+ cke,
+ pke,
yK,
- $([w1, pke], (e, t) => {
+ $([C1, mke], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- mke
+ hke
], (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 Tke({
+ if (e != null && t != null && a != null && i != null && r != null) return Eke({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), gke = ["id"];
-function U0() {
- return U0 = Object.assign ? Object.assign.bind() : function(e) {
+}), _ke = ["id"];
+function H0() {
+ return H0 = 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;
- }, U0.apply(null, arguments);
+ }, H0.apply(null, arguments);
}
-function W0(e, t) {
+function U0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62661,30 +62663,30 @@ function W0(e, t) {
}
return n;
}
-function G0(e) {
+function W0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? W0(Object(n), !0).forEach(function(t) {
- _ke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W0(Object(n)).forEach(function(t) {
+ t % 2 ? U0(Object(n), !0).forEach(function(t) {
+ vke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _ke(e, t, n) {
- return (t = vke(t)) in e ? Object.defineProperty(e, t, {
+function vke(e, t, n) {
+ return (t = yke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vke(e) {
- var t = yke(e, "string");
+function yke(e) {
+ var t = bke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yke(e, t) {
+function bke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62694,16 +62696,16 @@ function yke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function bke(e, t) {
+function xke(e, t) {
if (e == null) return {};
- var n, r, i = xke(e, t);
+ var n, r, i = Ske(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function xke(e, t) {
+function Ske(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62712,23 +62714,23 @@ function xke(e, t) {
}
return n;
}
-function K0(e, t) {
+function G0(e, t) {
return e && e !== "none" ? e : t;
}
-var Ske = (e) => {
+var Cke = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
- color: K0(r, i),
+ color: G0(r, i),
value: pH(n, t),
payload: e
}];
-}, Cke = /*#__PURE__*/ L.memo((e) => {
+}, wke = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: WR,
+ getPosition: GR,
settings: {
stroke: n,
strokeWidth: r,
@@ -62738,16 +62740,16 @@ var Ske = (e) => {
name: pH(a, t),
hide: o,
type: s,
- color: K0(n, i),
+ color: G0(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ L.createElement(b0, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ L.createElement(y0, { tooltipEntrySettings: l });
});
-function wke(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = wL(bke(n, gke));
- return /*#__PURE__*/ L.createElement(A0, {
+function Tke(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = TL(xke(n, _ke));
+ return /*#__PURE__*/ L.createElement(k0, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -62756,11 +62758,11 @@ function wke(e) {
baseProps: o
});
}
-function Tke(e) {
+function Eke(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 = JV(e, n.dataKey, r), d = JV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? kOe(d) : d, m = VR(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(G0(G0({}, lK(o, s, m, f)), {}, {
+ var a = JV(e, n.dataKey, r), d = JV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? AOe(d) : d, m = HR(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(W0(W0({}, lK(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -62773,8 +62775,8 @@ function Tke(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = VR(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(G0(G0({}, e), {}, { radius: r }, lK(o, s, r, e.angle)));
+ var n = e.value[0], r = HR(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(W0(W0({}, e), {}, { radius: r }, lK(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -62782,7 +62784,7 @@ function Tke(e) {
baseLinePoints: d
};
}
-function Eke(e) {
+function Dke(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -62792,7 +62794,7 @@ function Eke(e) {
upperWidth: 0,
height: 0
};
- return G0(G0({}, t), {}, {
+ return W0(W0({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -62800,12 +62802,12 @@ function Eke(e) {
fill: void 0
});
});
- return /*#__PURE__*/ L.createElement(m1, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ L.createElement(p1, { value: t ? i : void 0 }, r);
}
-function Dke(e) {
+function Oke(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ L.isValidElement(i) ? /*#__PURE__*/ L.cloneElement(i, G0(G0({}, r), {}, { points: t })) : typeof i == "function" ? i(G0(G0({}, r), {}, { points: t })) : /*#__PURE__*/ L.createElement(x1, U0({}, EL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ L.isValidElement(i) ? /*#__PURE__*/ L.cloneElement(i, W0(W0({}, r), {}, { points: t })) : typeof i == "function" ? i(W0(W0({}, r), {}, { points: t })) : /*#__PURE__*/ L.createElement(b1, H0({}, DL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -62818,28 +62820,28 @@ function Dke(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ L.createElement(AL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ L.createElement(wke, {
+ return /*#__PURE__*/ L.createElement(jL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ L.createElement(Tke, {
props: r,
points: t
}));
}
-var q0 = (e, t, n) => (r, i) => {
+var K0 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
- return a ? G0(G0({}, r), {}, {
- x: zR(a.x, r.x, n),
- y: zR(a.y, r.y, n)
- }) : G0(G0({}, r), {}, {
- x: zR(r.cx, r.x, n),
- y: zR(r.cy, r.y, n)
+ return a ? W0(W0({}, r), {}, {
+ x: BR(a.x, r.x, n),
+ y: BR(a.y, r.y, n)
+ }) : W0(W0({}, r), {}, {
+ x: BR(r.cx, r.x, n),
+ y: BR(r.cy, r.y, n)
});
};
-function Oke(e) {
+function kke(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 = XG(t, "recharts-radar-"), [_, v] = (0, L.useState)(!1), y = !_, b = (0, L.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, L.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ L.createElement(Eke, {
+ return /*#__PURE__*/ L.createElement(Dke, {
showLabels: y,
points: i
}, /*#__PURE__*/ L.createElement(YG, {
@@ -62852,23 +62854,23 @@ function Oke(e) {
onAnimationEnd: b,
onAnimationStart: x
}, (e) => {
- var o = e === 1 ? i : i.map(q0(f, m, e)), s = e === 1 ? a : a?.map(q0(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ L.createElement(Dke, {
+ var o = e === 1 ? i : i.map(K0(f, m, e)), s = e === 1 ? a : a?.map(K0(p, h, e));
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ L.createElement(Oke, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ L.createElement(_1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ L.createElement(g1, { label: t.label }), t.children);
}
-function kke(e) {
+function Ake(e) {
var t = (0, L.useRef)(void 0), n = (0, L.useRef)(void 0);
- return /*#__PURE__*/ L.createElement(Oke, {
+ return /*#__PURE__*/ L.createElement(kke, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var Ake = {
+var jke = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -62882,31 +62884,31 @@ var Ake = {
radiusAxisId: 0,
zIndex: WK.area
};
-function jke(e) {
+function Mke(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Au("recharts-radar", n);
- return /*#__PURE__*/ L.createElement(a$, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(AL, { className: i }, /*#__PURE__*/ L.createElement(kke, e)), /*#__PURE__*/ L.createElement(L0, {
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(jL, { className: i }, /*#__PURE__*/ L.createElement(Ake, e)), /*#__PURE__*/ L.createElement(I0, {
points: r,
- mainColor: K0(e.stroke, e.fill),
+ mainColor: G0(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function Mke(e) {
- var t = LH(), n = Q((n) => hke(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ L.createElement(jke, U0({}, e, {
+function Nke(e) {
+ var t = LH(), n = Q((n) => gke(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ L.createElement(Mke, H0({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function J0(e) {
- var t = ez(e, Ake);
- return /*#__PURE__*/ L.createElement(C0, {
+function q0(e) {
+ var t = tz(e, jke);
+ return /*#__PURE__*/ L.createElement(S0, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(E0, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(T0, {
type: "radar",
id: e,
data: void 0,
@@ -62914,7 +62916,7 @@ function J0(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ L.createElement(S0, { legendPayload: Ske(t) }), /*#__PURE__*/ L.createElement(Cke, {
+ }), /*#__PURE__*/ L.createElement(x0, { legendPayload: Cke(t) }), /*#__PURE__*/ L.createElement(wke, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -62923,32 +62925,32 @@ function J0(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ L.createElement(Mke, U0({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(Nke, H0({}, t, { id: e }))));
}
-J0.displayName = "Radar";
+q0.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-function Y0() {
- return Y0 = Object.assign ? Object.assign.bind() : function(e) {
+function J0() {
+ return J0 = 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;
- }, Y0.apply(null, arguments);
+ }, J0.apply(null, arguments);
}
-function X0(e) {
+function Y0(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function Z0(e) {
- return /*#__PURE__*/ L.createElement(g0, Y0({ shapeType: "sector" }, e));
+function X0(e) {
+ return /*#__PURE__*/ L.createElement(h0, J0({ shapeType: "sector" }, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-var Q0 = (e, t, n) => {
+var Z0 = (e, t, n) => {
var r = n ?? e;
- if (!VR(r)) return LR(r, t, 0);
-}, $0 = (e, t, n) => {
+ if (!HR(r)) return RR(r, t, 0);
+}, Q0 = (e, t, n) => {
var r = {}, i = e.filter(fq), 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;
@@ -62957,18 +62959,18 @@ var Q0 = (e, t, n) => {
return {
stackId: r,
dataKeys: i.map((e) => e.dataKey),
- barSize: Q0(t, n, i[0]?.barSize)
+ barSize: Z0(t, n, i[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: Q0(t, n, e.barSize)
+ barSize: Z0(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function e2(e, t) {
+function $0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62978,30 +62980,30 @@ function e2(e, t) {
}
return n;
}
-function t2(e) {
+function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? e2(Object(n), !0).forEach(function(t) {
- Nke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e2(Object(n)).forEach(function(t) {
+ t % 2 ? $0(Object(n), !0).forEach(function(t) {
+ Pke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nke(e, t, n) {
- return (t = Pke(t)) in e ? Object.defineProperty(e, t, {
+function Pke(e, t, n) {
+ return (t = Fke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pke(e) {
- var t = Fke(e, "string");
+function Fke(e) {
+ var t = Ike(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fke(e, t) {
+function Ike(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63011,11 +63013,11 @@ function Fke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ike(e, t, n, r, i) {
+function Lke(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = LR(e, n, 0, !0), s, c = [];
- if (VV(r[0]?.barSize)) {
+ var o = RR(e, n, 0, !0), s, c = [];
+ if (HV(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 = {
@@ -63034,11 +63036,11 @@ function Ike(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = LR(t, n, 0, !0);
+ var p = RR(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 = VV(i) ? Math.min(m, i) : m;
+ var h = HV(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -63051,10 +63053,10 @@ function Ike(e, t, n, r, i) {
return s;
}
}
-var n2 = (e, t, n, r, i, a, o) => {
- var s = VR(o) ? t : o, c = Ike(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => t2(t2({}, e), {}, { position: t2(t2({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, r2 = (e, t) => {
+var t2 = (e, t, n, r, i, a, o) => {
+ var s = HR(o) ? t : o, c = Lke(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => e2(e2({}, e), {}, { position: e2(e2({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, n2 = (e, t) => {
var n = uq(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
@@ -63066,7 +63068,7 @@ var n2 = (e, t, n, r, i, a, o) => {
}
}
}
-}, i2 = (e, t) => {
+}, r2 = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -63074,7 +63076,7 @@ var n2 = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function a2(e, t) {
+function i2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63084,30 +63086,30 @@ function a2(e, t) {
}
return n;
}
-function o2(e) {
+function a2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? a2(Object(n), !0).forEach(function(t) {
- Lke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a2(Object(n)).forEach(function(t) {
+ t % 2 ? i2(Object(n), !0).forEach(function(t) {
+ Rke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Lke(e, t, n) {
- return (t = Rke(t)) in e ? Object.defineProperty(e, t, {
+function Rke(e, t, n) {
+ return (t = zke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Rke(e) {
- var t = zke(e, "string");
+function zke(e) {
+ var t = Bke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zke(e, t) {
+function Bke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63117,81 +63119,81 @@ function zke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var s2 = $([(e, t) => eq(e, t), (e, t) => N1(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return o2(o2({}, e), {}, { scale: t });
-}), c2 = (e, t) => QEe(e, "radiusAxis", t, !1), l2 = $([(e, t, n) => $K(e, n), (e, t, n) => N1(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return o2(o2({}, e), {}, { scale: t });
-}), u2 = (e, t, n) => F1(e, "angleAxis", n, !1), d2 = $([w1, (e, t, n, r) => r], (e, t) => {
+var o2 = $([(e, t) => eq(e, t), (e, t) => M1(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return a2(a2({}, e), {}, { scale: t });
+}), s2 = (e, t) => $Ee(e, "radiusAxis", t, !1), c2 = $([(e, t, n) => $K(e, n), (e, t, n) => M1(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return a2(a2({}, e), {}, { scale: t });
+}), l2 = (e, t, n) => P1(e, "angleAxis", n, !1), u2 = $([C1, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), f2 = $([
+}), d2 = $([
_U,
+ o2,
s2,
c2,
- l2,
- u2
-], (e, t, n, r, i) => XV(e, "radiusAxis") ? dH(t, n, !1) : dH(r, i, !1)), Bke = $([
- l2,
- s2,
+ l2
+], (e, t, n, r, i) => XV(e, "radiusAxis") ? dH(t, n, !1) : dH(r, i, !1)), Vke = $([
+ c2,
+ o2,
_U
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return aH({ numericAxis: r });
-}), Vke = (e, t, n, r, i) => i, Hke = (e, t, n, r, i) => n, Uke = (e, t, n, r, i) => t, p2 = (e, t, n, r, i) => r.maxBarSize, m2 = (e) => e.type === "radialBar", Wke = $([$([
+}), Hke = (e, t, n, r, i) => i, Uke = (e, t, n, r, i) => n, Wke = (e, t, n, r, i) => t, f2 = (e, t, n, r, i) => r.maxBarSize, p2 = (e) => e.type === "radialBar", Gke = $([$([
$([
$([
_U,
- w1,
- Hke,
- Uke
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(m2)),
+ C1,
+ Uke,
+ Wke
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(p2)),
LK,
() => void 0
- ], $0),
+ ], Q0),
PK,
FK,
IK,
$([
_U,
PK,
+ c2,
l2,
- u2,
+ o2,
s2,
- c2,
- p2
+ f2
], (e, t, n, r, i, a, o) => {
- var s = VR(o) ? t : o;
+ var s = HR(o) ? t : o;
return e === "centric" ? dH(n, r, !0) ?? s ?? 0 : dH(i, a, !0) ?? s ?? 0;
}),
- f2,
- p2
-], n2), d2], i2), h2 = $([T1], (e) => e.filter(m2).filter(fq)), g2 = $([
+ d2,
+ f2
+], t2), u2], r2), m2 = $([w1], (e) => e.filter(p2).filter(fq)), h2 = $([
$([
- h2,
+ m2,
yK,
oZ
], dq),
- h2,
+ m2,
RK,
zK
-], cZ), Gke = $([
+], cZ), Kke = $([
+ c2,
l2,
- u2,
+ o2,
s2,
- c2,
vK,
+ u2,
d2,
- f2,
_U,
- Bke,
- sq,
Vke,
- Wke,
- $([(e, t, n) => _U(e) === "centric" ? g2(e, "radiusAxis", t) : g2(e, "angleAxis", n), d2], r2)
+ sq,
+ Hke,
+ Gke,
+ $([(e, t, n) => _U(e) === "centric" ? h2(e, "radiusAxis", t) : h2(e, "angleAxis", n), u2], n2)
], (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 cAe({
+ return lAe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -63212,7 +63214,7 @@ var s2 = $([(e, t) => eq(e, t), (e, t) => N1(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), Kke = $([yK, (e, t) => t], (e, t) => {
+}), qke = $([yK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -63225,31 +63227,31 @@ var s2 = $([(e, t) => eq(e, t), (e, t) => N1(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function _2(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && VV(e.zIndex) ? e.zIndex : t;
+function g2(e, t) {
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && HV(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var qke = [
+var Jke = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], Jke = [
+], Yke = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], Yke = ["value", "background"];
-function v2() {
- return v2 = Object.assign ? Object.assign.bind() : function(e) {
+], Xke = ["value", "background"];
+function _2() {
+ return _2 = 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;
- }, v2.apply(null, arguments);
+ }, _2.apply(null, arguments);
}
-function y2(e, t) {
+function v2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63259,30 +63261,30 @@ function y2(e, t) {
}
return n;
}
-function b2(e) {
+function y2(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) {
- Xke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
+ t % 2 ? v2(Object(n), !0).forEach(function(t) {
+ Zke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xke(e, t, n) {
- return (t = Zke(t)) in e ? Object.defineProperty(e, t, {
+function Zke(e, t, n) {
+ return (t = Qke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zke(e) {
- var t = Qke(e, "string");
+function Qke(e) {
+ var t = $ke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qke(e, t) {
+function $ke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63292,16 +63294,16 @@ function Qke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function x2(e, t) {
+function b2(e, t) {
if (e == null) return {};
- var n, r, i = $ke(e, t);
+ var n, r, i = eAe(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 $ke(e, t) {
+function eAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63310,8 +63312,8 @@ function $ke(e, t) {
}
return n;
}
-var S2 = [];
-function eAe(e) {
+var x2 = [];
+function tAe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -63328,15 +63330,15 @@ function eAe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ L.createElement(BEe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ L.createElement(VEe, { value: t ? i : void 0 }, r);
}
-function tAe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = x2(n, qke), l = wL(c), u = Q(RQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = x2(n, Jke), h = _0(d, n.dataKey, s), g = v0(p), _ = y0(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ L.createElement(eAe, {
+function nAe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = b2(n, Jke), l = TL(c), u = Q(RQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = b2(n, Yke), h = g0(d, n.dataKey, s), g = _0(p), _ = v0(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ L.createElement(tAe, {
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 = b2(b2(b2(b2({}, l), {}, { cornerRadius: X0(o) }, e), QR(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = y2(y2(y2(y2({}, l), {}, { cornerRadius: Y0(o) }, e), $R(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -63350,10 +63352,10 @@ function tAe(e) {
return n ? /*#__PURE__*/ L.createElement(a$, {
zIndex: WK.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ L.createElement(Z0, f)) : /*#__PURE__*/ L.createElement(Z0, v2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ L.createElement(_1, { label: n.label }), n.children);
+ }, /*#__PURE__*/ L.createElement(X0, f)) : /*#__PURE__*/ L.createElement(X0, _2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
+ }), /*#__PURE__*/ L.createElement(g1, { label: n.label }), n.children);
}
-function nAe(e) {
+function rAe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = XG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, L.useState)(!1), m = (0, L.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, L.useCallback)(() => {
@@ -63369,37 +63371,37 @@ function nAe(e) {
onAnimationEnd: m,
key: u
}, (e) => {
- var i = e === 1 ? r : (r ?? S2).map((t, n) => {
+ var i = e === 1 ? r : (r ?? x2).map((t, n) => {
var r = d && d[n];
- if (r) return b2(b2({}, t), {}, {
- startAngle: zR(r.startAngle, t.startAngle, e),
- endAngle: zR(r.endAngle, t.endAngle, e)
+ if (r) return y2(y2({}, t), {}, {
+ startAngle: BR(r.startAngle, t.startAngle, e),
+ endAngle: BR(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return b2(b2({}, t), {}, { endAngle: zR(a, i, e) });
+ return y2(y2({}, t), {}, { endAngle: BR(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ L.createElement(tAe, {
- sectors: i ?? S2,
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ L.createElement(nAe, {
+ sectors: i ?? x2,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function rAe(e) {
+function iAe(e) {
var t = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement(nAe, {
+ return /*#__PURE__*/ L.createElement(rAe, {
props: e,
previousSectorsRef: t
});
}
-function iAe(e) {
- var t = Q((t) => Kke(t, e.legendType));
- return /*#__PURE__*/ L.createElement(S0, { legendPayload: t ?? [] });
+function aAe(e) {
+ var t = Q((t) => qke(t, e.legendType));
+ return /*#__PURE__*/ L.createElement(x0, { legendPayload: t ?? [] });
}
-var aAe = /*#__PURE__*/ L.memo((e) => {
+var oAe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: WR,
+ getPosition: GR,
settings: {
graphicalItemId: l,
stroke: r,
@@ -63414,32 +63416,32 @@ var aAe = /*#__PURE__*/ L.memo((e) => {
unit: ""
}
};
- return /*#__PURE__*/ L.createElement(b0, { tooltipEntrySettings: u });
-}), oAe = class extends L.PureComponent {
+ return /*#__PURE__*/ L.createElement(y0, { tooltipEntrySettings: u });
+}), sAe = class extends L.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = TL(this.props.background);
- return /*#__PURE__*/ L.createElement(a$, { zIndex: _2(this.props.background, WK.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = x2(e, Yke);
+ var { cornerRadius: t } = this.props, n = EL(this.props.background);
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: g2(this.props.background, WK.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = b2(e, Xke);
if (!a) return null;
- var s = b2(b2(b2(b2(b2({ cornerRadius: X0(t) }, o), {}, { fill: "#eee" }, a), n), QR(this.props, e, r)), {}, {
+ var s = y2(y2(y2(y2(y2({ cornerRadius: Y0(t) }, o), {}, { fill: "#eee" }, a), n), $R(this.props, e, r)), {}, {
index: r,
className: Au("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
- return /*#__PURE__*/ L.createElement(Z0, v2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
+ return /*#__PURE__*/ L.createElement(X0, _2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
}));
}
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Au("recharts-area", n);
- return /*#__PURE__*/ L.createElement(a$, { zIndex: this.props.zIndex }, /*#__PURE__*/ L.createElement(AL, { className: i }, r && /*#__PURE__*/ L.createElement(AL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ L.createElement(AL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ L.createElement(rAe, this.props))));
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: this.props.zIndex }, /*#__PURE__*/ L.createElement(jL, { className: i }, r && /*#__PURE__*/ L.createElement(jL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ L.createElement(jL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ L.createElement(iAe, this.props))));
}
};
-function sAe(e) {
- var t = L.useMemo(() => o0(e.children, S$), [e.children]), n = L.useMemo(() => ({
+function cAe(e) {
+ var t = L.useMemo(() => a0(e.children, S$), [e.children]), n = L.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
@@ -63460,8 +63462,8 @@ function sAe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => Gke(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? S2;
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(aAe, {
+ ]), r = Q((r) => Kke(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? x2;
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(oAe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -63471,9 +63473,9 @@ function sAe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ L.createElement(oAe, v2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ L.createElement(sAe, _2({}, e, { sectors: r })));
}
-var C2 = {
+var S2 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
@@ -63490,9 +63492,9 @@ var C2 = {
radiusAxisId: 0,
zIndex: WK.bar
};
-function cAe(e) {
+function lAe(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 ? S2 : (t ?? []).map((e, t) => {
+ return g == null || l == null ? x2 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
if (n ? b = $V(n[r + t], i) : (b = JV(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 = iH({
@@ -63506,7 +63508,7 @@ function cAe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = MR(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = NR(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -63529,11 +63531,11 @@ function cAe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = MR(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = NR(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
- return b2(b2(b2({}, e), T), {}, {
+ return y2(y2(y2({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -63545,30 +63547,30 @@ function cAe(e) {
}, _ && _[t] && _[t].props);
});
}
-function w2(e) {
- var t = ez(e, C2);
- return /*#__PURE__*/ L.createElement(C0, {
+function C2(e) {
+ var t = tz(e, S2);
+ return /*#__PURE__*/ L.createElement(S0, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(E0, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(T0, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? C2.hide,
- angleAxisId: t.angleAxisId ?? C2.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? C2.radiusAxisId,
+ hide: t.hide ?? S2.hide,
+ angleAxisId: t.angleAxisId ?? S2.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? S2.radiusAxisId,
stackId: nH(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ L.createElement(iAe, t), /*#__PURE__*/ L.createElement(sAe, v2({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(aAe, t), /*#__PURE__*/ L.createElement(cAe, _2({}, t, { id: e }))));
}
-w2.displayName = "RadialBar";
+C2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var T2 = (e) => {
- var { chartData: t } = e, n = Dz(), r = LH();
+var w2 = (e) => {
+ var { chartData: t } = e, n = Oz(), r = LH();
return (0, L.useEffect)(() => r ? () => {} : (n(g$(t)), () => {
n(g$(void 0));
}), [
@@ -63576,7 +63578,7 @@ var T2 = (e) => {
n,
r
]), null;
-}, E2 = {
+}, T2 = {
x: 0,
y: 0,
width: 0,
@@ -63587,13 +63589,13 @@ var T2 = (e) => {
bottom: 0,
left: 0
}
-}, D2 = fV({
+}, E2 = pV({
name: "brush",
- initialState: E2,
+ initialState: T2,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? E2 : t.payload;
+ return t.payload == null ? T2 : t.payload;
} }
-}), { setBrushSettings: lAe } = D2.actions, uAe = D2.reducer, dAe = (e, t) => {
+}), { setBrushSettings: uAe } = E2.actions, dAe = E2.reducer, fAe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -63601,9 +63603,9 @@ var T2 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, fAe = (e) => {
+}, pAe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return dAe({
+ return fAe({
x: t,
y: n
}, {
@@ -63611,13 +63613,13 @@ var T2 = (e) => {
y: i
});
};
-function pAe(e) {
+function mAe(e) {
return (e % 180 + 180) % 180;
}
-var mAe = function(e) {
- var { width: t, height: n } = e, r = pAe(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 hAe = function(e) {
+ var { width: t, height: n } = e, r = mAe(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);
-}, O2 = fV({
+}, D2 = pV({
name: "referenceElements",
initialState: {
dots: [],
@@ -63629,35 +63631,35 @@ var mAe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = $B(e).dots.findIndex((e) => e === t.payload);
+ var n = eV(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 = $B(e).areas.findIndex((e) => e === t.payload);
+ var n = eV(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
e.lines.push(yW(t.payload));
},
removeLine: (e, t) => {
- var n = $B(e).lines.findIndex((e) => e === t.payload);
+ var n = eV(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: hAe, removeDot: gAe, addArea: _Ae, removeArea: vAe, addLine: yAe, removeLine: bAe } = O2.actions, xAe = O2.reducer, k2 = /*#__PURE__*/ (0, L.createContext)(void 0), SAe = (e) => {
- var { children: t } = e, [n] = (0, L.useState)(`${IR("recharts")}-clip`), r = P0();
+}), { addDot: gAe, removeDot: _Ae, addArea: vAe, removeArea: yAe, addLine: bAe, removeLine: xAe } = D2.actions, SAe = D2.reducer, O2 = /*#__PURE__*/ (0, L.createContext)(void 0), CAe = (e) => {
+ var { children: t } = e, [n] = (0, L.useState)(`${LR("recharts")}-clip`), r = N0();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
- return /*#__PURE__*/ L.createElement(k2.Provider, { value: n }, /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("clipPath", { id: n }, /*#__PURE__*/ L.createElement("rect", {
+ return /*#__PURE__*/ L.createElement(O2.Provider, { value: n }, /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("clipPath", { id: n }, /*#__PURE__*/ L.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, CAe = () => (0, L.useContext)(k2), wAe = class {
+}, wAe = () => (0, L.useContext)(O2), TAe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -63683,7 +63685,7 @@ var mAe = function(e) {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function A2(e, t) {
+function k2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63693,30 +63695,30 @@ function A2(e, t) {
}
return n;
}
-function j2(e) {
+function A2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? A2(Object(n), !0).forEach(function(t) {
- TAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A2(Object(n)).forEach(function(t) {
+ t % 2 ? k2(Object(n), !0).forEach(function(t) {
+ EAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TAe(e, t, n) {
- return (t = EAe(t)) in e ? Object.defineProperty(e, t, {
+function EAe(e, t, n) {
+ return (t = DAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EAe(e) {
- var t = DAe(e, "string");
+function DAe(e) {
+ var t = OAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DAe(e, t) {
+function OAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63726,27 +63728,27 @@ function DAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function M2() {
- return M2 = Object.assign ? Object.assign.bind() : function(e) {
+function j2() {
+ return j2 = 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;
- }, M2.apply(null, arguments);
+ }, j2.apply(null, arguments);
}
-var OAe = (e, t) => {
+var kAe = (e, t) => {
var n;
if (/*#__PURE__*/ L.isValidElement(e)) n = /*#__PURE__*/ L.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!VV(t.x1) || !VV(t.y1) || !VV(t.x2) || !VV(t.y2)) return null;
- n = /*#__PURE__*/ L.createElement("line", M2({}, t, { className: "recharts-reference-line-line" }));
+ if (!HV(t.x1) || !HV(t.y1) || !HV(t.x2) || !HV(t.y2)) return null;
+ n = /*#__PURE__*/ L.createElement("line", j2({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, kAe = (e, t, n, r, i, a) => {
+}, AAe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!VV(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!HV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -63755,9 +63757,9 @@ var OAe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, AAe = (e, t, n, r, i, a) => {
+}, jAe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!VV(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!HV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -63766,7 +63768,7 @@ var OAe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, jAe = (e, t, n, r) => {
+}, MAe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -63775,43 +63777,43 @@ var OAe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, MAe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = FR(s);
- return FR(c) ? kAe(c, u, r, a, t, n) : d ? AAe(s, u, r, i, e, n) : l != null && l.length === 2 ? jAe(l, u, r, new wAe({
+}, NAe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = IR(s);
+ return IR(c) ? AAe(c, u, r, a, t, n) : d ? jAe(s, u, r, i, e, n) : l != null && l.length === 2 ? MAe(l, u, r, new TAe({
x: e,
y: t
})) : null;
};
-function NAe(e) {
- var t = Dz();
- return (0, L.useEffect)(() => (t(yAe(e)), () => {
- t(bAe(e));
+function PAe(e) {
+ var t = Oz();
+ return (0, L.useEffect)(() => (t(bAe(e)), () => {
+ t(xAe(e));
})), null;
}
-function PAe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = LH(), s = CAe(), c = Q((e) => LX(e, t)), l = Q((e) => BX(e, n)), u = Q((e) => LZ(e, "xAxis", t, o)), d = Q((e) => LZ(e, "yAxis", n, o)), f = dU();
+function FAe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = LH(), s = wAe(), c = Q((e) => LX(e, t)), l = Q((e) => BX(e, n)), u = Q((e) => LZ(e, "xAxis", t, o)), d = Q((e) => LZ(e, "yAxis", n, o)), f = dU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = MAe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = NAe(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 = j2(j2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, EL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = A2(A2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, DL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = fAe({
+ }), x = pAe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ L.createElement(a$, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(AL, { className: Au("recharts-reference-line", i) }, OAe(r, b), /*#__PURE__*/ L.createElement(n1, M2({}, x, {
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(jL, { className: Au("recharts-reference-line", i) }, kAe(r, b), /*#__PURE__*/ L.createElement(t1, j2({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ L.createElement(u1, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ L.createElement(l1, { label: e.label }), e.children)));
}
-var FAe = {
+var IAe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -63823,21 +63825,21 @@ var FAe = {
position: "middle",
zIndex: WK.line
};
-function N2(e) {
- var t = ez(e, FAe);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(NAe, {
+function M2(e) {
+ var t = tz(e, IAe);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(PAe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ L.createElement(PAe, t));
+ }), /*#__PURE__*/ L.createElement(FAe, t));
}
-N2.displayName = "ReferenceLine";
+M2.displayName = "ReferenceLine";
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function P2(e, t) {
+function N2(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -63848,13 +63850,13 @@ function P2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function IAe(e, t, n) {
- return mAe({
+function LAe(e, t, n) {
+ return hAe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function LAe(e, t, n) {
+function RAe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -63864,33 +63866,33 @@ function LAe(e, t, n) {
end: r ? i : a
};
}
-function F2(e, t, n, r, i) {
+function P2(e, t, n, r, i) {
if (e * t < e * r || e * t > e * i) return !1;
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function RAe(e, t) {
- return P2(e, t + 1);
+function zAe(e, t) {
+ return N2(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function zAe(e, t, n, r, i) {
+function BAe(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: P2(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || F2(e, p, f, u, s);
+ if (t === void 0) return { v: N2(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || P2(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function BAe(e, t, n, r, i) {
+function VAe(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++) {
for (var l = (a - 1) % c, u = o, d = !0, f = function() {
var t = r[m];
if (t == null) return 0;
- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || F2(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || P2(e, f, c, u, s);
if (!p) return d = !1, 1;
p && (u = f + e * (c() / 2 + i));
}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);
@@ -63906,7 +63908,7 @@ function BAe(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function I2(e, t) {
+function F2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63916,30 +63918,30 @@ function I2(e, t) {
}
return n;
}
-function L2(e) {
+function I2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? I2(Object(n), !0).forEach(function(t) {
- VAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I2(Object(n)).forEach(function(t) {
+ t % 2 ? F2(Object(n), !0).forEach(function(t) {
+ HAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VAe(e, t, n) {
- return (t = HAe(t)) in e ? Object.defineProperty(e, t, {
+function HAe(e, t, n) {
+ return (t = UAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HAe(e) {
- var t = UAe(e, "string");
+function UAe(e) {
+ var t = WAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UAe(e, t) {
+function WAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63949,26 +63951,26 @@ function UAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WAe(e, t, n, r, i) {
+function GAe(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;
var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);
if (t === o - 1) {
var f = e * (l.coordinate + e * d() / 2 - c);
- a[t] = l = L2(L2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = L2(L2({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && F2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = L2(L2({}, l), {}, { isShow: !0 }));
+ a[t] = l = I2(I2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = I2(I2({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && P2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = I2(I2({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function GAe(e, t, n, r, i, a) {
+function KAe(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];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = L2(L2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && F2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = L2(L2({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = I2(I2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && P2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = I2(I2({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -63977,17 +63979,17 @@ function GAe(e, t, n, r, i, a) {
var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);
if (t === 0) {
var d = e * (a.coordinate - e * u() / 2 - c);
- o[t] = a = L2(L2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = L2(L2({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && F2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = L2(L2({}, a), {}, { isShow: !0 }));
+ o[t] = a = I2(I2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = I2(I2({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && P2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = I2(I2({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function R2(e, t, n) {
+function L2(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) || _G.isSsr) return RAe(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? k$(u, {
+ if (Z(c) || _G.isSsr) return zAe(i, Z(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? O$(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -63995,19 +63997,19 @@ function R2(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? IAe(k$(i, {
+ return p === "width" ? LAe(O$(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : k$(i, {
+ }), m, d) : O$(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? MR(_.coordinate - g.coordinate) : 1, y = LAe(a, v, p);
- return c === "equidistantPreserveStart" ? zAe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? BAe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? GAe(v, y, h, i, o, c === "preserveStartEnd") : WAe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? NR(_.coordinate - g.coordinate) : 1, y = RAe(a, v, p);
+ return c === "equidistantPreserveStart" ? BAe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? VAe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? KAe(v, y, h, i, o, c === "preserveStartEnd") : GAe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var KAe = (e) => {
+var qAe = (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) => {
@@ -64020,7 +64022,7 @@ var KAe = (e) => {
return Math.round(l);
}
return 0;
-}, z2 = fV({
+}, R2 = pV({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -64036,7 +64038,7 @@ var KAe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: qAe, removeRenderedTicks: JAe } = z2.actions, YAe = z2.reducer, XAe = [
+}), { setRenderedTicks: JAe, removeRenderedTicks: YAe } = R2.actions, XAe = R2.reducer, ZAe = [
"axisLine",
"width",
"height",
@@ -64046,16 +64048,16 @@ var KAe = (e) => {
"axisType",
"axisId"
];
-function ZAe(e, t) {
+function QAe(e, t) {
if (e == null) return {};
- var n, r, i = QAe(e, t);
+ var n, r, i = $Ae(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 QAe(e, t) {
+function $Ae(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64064,16 +64066,16 @@ function QAe(e, t) {
}
return n;
}
-function B2() {
- return B2 = Object.assign ? Object.assign.bind() : function(e) {
+function z2() {
+ return z2 = 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;
- }, B2.apply(null, arguments);
+ }, z2.apply(null, arguments);
}
-function V2(e, t) {
+function B2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64083,30 +64085,30 @@ function V2(e, t) {
}
return n;
}
-function H2(e) {
+function V2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? V2(Object(n), !0).forEach(function(t) {
- $Ae(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V2(Object(n)).forEach(function(t) {
+ t % 2 ? B2(Object(n), !0).forEach(function(t) {
+ eje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $Ae(e, t, n) {
- return (t = eje(t)) in e ? Object.defineProperty(e, t, {
+function eje(e, t, n) {
+ return (t = tje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eje(e) {
- var t = tje(e, "string");
+function tje(e) {
+ var t = nje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tje(e, t) {
+function nje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64116,7 +64118,7 @@ function tje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var U2 = {
+var H2 = {
x: 0,
y: 0,
width: 0,
@@ -64140,13 +64142,13 @@ var U2 = {
interval: "preserveEnd",
zIndex: WK.axis
};
-function nje(e) {
+function rje(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 = H2(H2(H2({}, c), wL(s)), {}, { fill: "none" });
+ var l = V2(V2(V2({}, c), TL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = H2(H2({}, l), {}, {
+ l = V2(V2({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -64154,16 +64156,16 @@ function nje(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = H2(H2({}, l), {}, {
+ l = V2(V2({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ L.createElement("line", B2({}, l, { className: Au("recharts-cartesian-axis-line", kR(s, "className")) }));
+ return /*#__PURE__*/ L.createElement("line", z2({}, l, { className: Au("recharts-cartesian-axis-line", AR(s, "className")) }));
}
-function rje(e, t, n, r, i, a, o, s, c) {
+function ije(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":
@@ -64190,14 +64192,14 @@ function rje(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ije(e, t) {
+function aje(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function aje(e, t) {
+function oje(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -64205,19 +64207,19 @@ function aje(e, t) {
default: return t ? "end" : "start";
}
}
-function oje(e) {
+function sje(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Au(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ L.isValidElement(t)) i = /*#__PURE__*/ L.cloneElement(t, H2(H2({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(H2(H2({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ L.isValidElement(t)) i = /*#__PURE__*/ L.cloneElement(t, V2(V2({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(V2(V2({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Au(o, W1(t))), i = /*#__PURE__*/ L.createElement(J$, B2({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Au(o, U1(t))), i = /*#__PURE__*/ L.createElement(q$, z2({}, n, { className: o }), r);
}
return i;
}
-function sje(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = Dz();
- return (0, L.useEffect)(() => r == null || n == null ? WR : (i(qAe({
+function cje(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = Oz();
+ return (0, L.useEffect)(() => r == null || n == null ? GR : (i(JAe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -64227,7 +64229,7 @@ function sje(e) {
axisId: r,
axisType: n
})), () => {
- i(JAe({
+ i(YAe({
axisId: r,
axisType: n
}));
@@ -64238,17 +64240,17 @@ function sje(e) {
n
]), null;
}
-var cje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = R2(H2(H2({}, b), {}, { ticks: n }), v, y), T = wL(b), E = TL(r), D = H$(T.textAnchor) ? T.textAnchor : ije(u, d), O = aje(u, d), k = {};
+var lje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = L2(V2(V2({}, b), {}, { ticks: n }), v, y), T = TL(b), E = EL(r), D = V$(T.textAnchor) ? T.textAnchor : aje(u, d), O = oje(u, d), k = {};
typeof i == "object" && (k = i);
- var A = H2(H2({}, T), {}, { fill: "none" }, k), j = w.map((e) => H2({ entry: e }, rje(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = V2(V2({}, T), {}, { fill: "none" }, k), j = w.map((e) => V2({ entry: e }, ije(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ L.createElement(AL, {
+ return /*#__PURE__*/ L.createElement(jL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ L.createElement("line", B2({}, A, n, { className: Au("recharts-cartesian-axis-tick-line", kR(i, "className")) })));
+ }, i && /*#__PURE__*/ L.createElement("line", z2({}, A, n, { className: Au("recharts-cartesian-axis-tick-line", AR(i, "className")) })));
}), N = j.map((e, t) => {
- var { entry: n, tick: i } = e, u = H2(H2({}, H2(H2(H2(H2({ verticalAnchor: O }, T), {}, {
+ var { entry: n, tick: i } = e, u = V2(V2({}, V2(V2(V2(V2({ verticalAnchor: O }, T), {}, {
textAnchor: D,
stroke: "none",
fill: a
@@ -64259,16 +64261,16 @@ var cje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ L.createElement(AL, B2({
+ return /*#__PURE__*/ L.createElement(jL, z2({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, QR(x, n, t)), r && /*#__PURE__*/ L.createElement(oje, {
+ }, $R(x, n, t)), r && /*#__PURE__*/ L.createElement(sje, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ L.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ L.createElement(sje, {
+ return /*#__PURE__*/ L.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ L.createElement(cje, {
ticks: w,
axisId: C,
axisType: S
@@ -64276,9 +64278,9 @@ var cje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ L.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), lje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = ZAe(e, XAe), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(""), h = (0, L.useRef)(null);
- (0, L.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => KAe({
+}), uje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = QAe(e, ZAe), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(""), h = (0, L.useRef)(null);
+ (0, L.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => qAe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -64296,7 +64298,7 @@ var cje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(AL, { className: Au("recharts-cartesian-axis", a) }, /*#__PURE__*/ L.createElement(nje, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ L.createElement(a$, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(jL, { className: Au("recharts-cartesian-axis", a) }, /*#__PURE__*/ L.createElement(rje, {
x: e.x,
y: e.y,
width: r,
@@ -64304,8 +64306,8 @@ var cje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: wL(e)
- }), /*#__PURE__*/ L.createElement(cje, {
+ otherSvgProps: TL(e)
+ }), /*#__PURE__*/ L.createElement(lje, {
ref: g,
axisType: c,
events: u,
@@ -64329,32 +64331,32 @@ var cje = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ L.createElement(n1, {
+ }), /*#__PURE__*/ L.createElement(t1, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ L.createElement(u1, {
+ }, /*#__PURE__*/ L.createElement(l1, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), W2 = /*#__PURE__*/ L.forwardRef((e, t) => {
- var n = ez(e, U2);
- return /*#__PURE__*/ L.createElement(lje, B2({}, n, { ref: t }));
+}), U2 = /*#__PURE__*/ L.forwardRef((e, t) => {
+ var n = tz(e, H2);
+ return /*#__PURE__*/ L.createElement(uje, z2({}, n, { ref: t }));
});
-W2.displayName = "CartesianAxis";
+U2.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var uje = [
+var dje = [
"x1",
"y1",
"x2",
"y2",
"key"
-], dje = ["offset"], fje = ["xAxisId", "yAxisId"], pje = ["xAxisId", "yAxisId"];
-function G2(e, t) {
+], fje = ["offset"], pje = ["xAxisId", "yAxisId"], mje = ["xAxisId", "yAxisId"];
+function W2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64364,30 +64366,30 @@ function G2(e, t) {
}
return n;
}
-function K2(e) {
+function G2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G2(Object(n), !0).forEach(function(t) {
- mje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(t) {
+ t % 2 ? W2(Object(n), !0).forEach(function(t) {
+ hje(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 mje(e, t, n) {
- return (t = hje(t)) in e ? Object.defineProperty(e, t, {
+function hje(e, t, n) {
+ return (t = gje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hje(e) {
- var t = gje(e, "string");
+function gje(e) {
+ var t = _je(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gje(e, t) {
+function _je(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64397,25 +64399,25 @@ function gje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function q2() {
- return q2 = Object.assign ? Object.assign.bind() : function(e) {
+function K2() {
+ return K2 = 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;
- }, q2.apply(null, arguments);
+ }, K2.apply(null, arguments);
}
-function J2(e, t) {
+function q2(e, t) {
if (e == null) return {};
- var n, r, i = _je(e, t);
+ var n, r, i = vje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _je(e, t) {
+function vje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64424,7 +64426,7 @@ function _je(e, t) {
}
return n;
}
-var vje = (e) => {
+var yje = (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;
@@ -64440,13 +64442,13 @@ var vje = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function Y2(e) {
+function J2(e) {
var { option: t, lineItemProps: n } = e, r;
if (/*#__PURE__*/ L.isValidElement(t)) r = /*#__PURE__*/ L.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = wL(J2(n, uje)) ?? {}, { offset: u } = l, d = J2(l, dje);
- r = /*#__PURE__*/ L.createElement("line", q2({}, d, {
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = TL(q2(n, dje)) ?? {}, { offset: u } = l, d = q2(l, fje);
+ r = /*#__PURE__*/ L.createElement("line", K2({}, d, {
x1: i,
y1: a,
x2: o,
@@ -64457,11 +64459,11 @@ function Y2(e) {
}
return r;
}
-function yje(e) {
+function bje(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 = J2(e, fje), c = i.map((e, i) => {
- var a = K2(K2({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = q2(e, pje), c = i.map((e, i) => {
+ var a = G2(G2({}, s), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -64469,7 +64471,7 @@ function yje(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ L.createElement(Y2, {
+ return /*#__PURE__*/ L.createElement(J2, {
key: `line-${i}`,
option: r,
lineItemProps: a
@@ -64477,11 +64479,11 @@ function yje(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function bje(e) {
+function xje(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 = J2(e, pje), c = i.map((e, i) => {
- var a = K2(K2({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = q2(e, mje), c = i.map((e, i) => {
+ var a = G2(G2({}, s), {}, {
x1: e,
y1: t,
x2: e,
@@ -64489,7 +64491,7 @@ function bje(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ L.createElement(Y2, {
+ return /*#__PURE__*/ L.createElement(J2, {
option: r,
lineItemProps: a,
key: `line-${i}`
@@ -64497,7 +64499,7 @@ function bje(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function xje(e) {
+function Sje(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);
@@ -64520,7 +64522,7 @@ function xje(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function Sje(e) {
+function Cje(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);
@@ -64543,9 +64545,9 @@ function Sje(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var Cje = (e, t) => {
+var wje = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return ZV(R2(K2(K2(K2({}, U2), n), {}, {
+ return ZV(L2(G2(G2(G2({}, H2), n), {}, {
ticks: QV(n, !0),
viewBox: {
x: 0,
@@ -64554,9 +64556,9 @@ var Cje = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, wje = (e, t) => {
+}, Tje = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return ZV(R2(K2(K2(K2({}, U2), n), {}, {
+ return ZV(L2(G2(G2(G2({}, H2), n), {}, {
ticks: QV(n, !0),
viewBox: {
x: 0,
@@ -64565,7 +64567,7 @@ var Cje = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, Tje = {
+}, Eje = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -64579,18 +64581,18 @@ var Cje = (e, t) => {
syncWithTicks: !1,
zIndex: WK.grid
};
-function X2(e) {
- var t = mU(), n = hU(), r = pU(), i = K2(K2({}, ez(e, Tje)), {}, {
+function Y2(e) {
+ var t = mU(), n = hU(), r = pU(), i = G2(G2({}, tz(e, Eje)), {}, {
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 = LH(), h = Q((e) => qZ(e, "xAxis", a, m)), g = Q((e) => qZ(e, "yAxis", o, m));
- if (!HV(l) || !HV(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || Cje, v = i.horizontalCoordinatesGenerator || wje, { horizontalPoints: y, verticalPoints: b } = i;
+ if (!UV(l) || !UV(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || wje, v = i.horizontalCoordinatesGenerator || Tje, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
- yAxis: g ? K2(K2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
+ yAxis: g ? G2(G2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
@@ -64599,14 +64601,14 @@ function X2(e) {
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
- xAxis: h ? K2(K2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
+ xAxis: h ? G2(G2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, C ? !0 : d);
UH(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ L.createElement(a$, { zIndex: i.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ L.createElement(vje, {
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: i.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ L.createElement(yje, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -64614,22 +64616,22 @@ function X2(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ L.createElement(xje, q2({}, i, { horizontalPoints: y })), /*#__PURE__*/ L.createElement(Sje, q2({}, i, { verticalPoints: b })), /*#__PURE__*/ L.createElement(yje, q2({}, i, {
+ }), /*#__PURE__*/ L.createElement(Sje, K2({}, i, { horizontalPoints: y })), /*#__PURE__*/ L.createElement(Cje, K2({}, i, { verticalPoints: b })), /*#__PURE__*/ L.createElement(bje, K2({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ L.createElement(bje, q2({}, i, {
+ })), /*#__PURE__*/ L.createElement(xje, K2({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
yAxis: g
}))));
}
-X2.displayName = "CartesianGrid";
+Y2.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var Z2 = fV({
+var X2 = pV({
name: "errorBars",
initialState: {},
reducers: {
@@ -64646,17 +64648,17 @@ var Z2 = fV({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: Eje, replaceErrorBar: Dje, removeErrorBar: Oje } = Z2.actions, kje = Z2.reducer, Aje = ["children"];
-function jje(e, t) {
+}), { addErrorBar: Dje, replaceErrorBar: Oje, removeErrorBar: kje } = X2.actions, Aje = X2.reducer, jje = ["children"];
+function Mje(e, t) {
if (e == null) return {};
- var n, r, i = Mje(e, t);
+ var n, r, i = Nje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Mje(e, t) {
+function Nje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64665,7 +64667,7 @@ function Mje(e, t) {
}
return n;
}
-var Nje = /*#__PURE__*/ (0, L.createContext)({
+var Pje = /*#__PURE__*/ (0, L.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -64676,13 +64678,13 @@ var Nje = /*#__PURE__*/ (0, L.createContext)({
}),
errorBarOffset: 0
});
-function Q2(e) {
- var { children: t } = e, n = jje(e, Aje);
- return /*#__PURE__*/ L.createElement(Nje.Provider, { value: n }, t);
+function Z2(e) {
+ var { children: t } = e, n = Mje(e, jje);
+ return /*#__PURE__*/ L.createElement(Pje.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function $2(e, t) {
+function Q2(e, t) {
var n = Q((t) => LX(t, e)), r = Q((e) => BX(e, t)), i = n?.allowDataOverflow ?? FX.allowDataOverflow, a = r?.allowDataOverflow ?? RX.allowDataOverflow;
return {
needClip: i || a,
@@ -64690,8 +64692,8 @@ function $2(e, t) {
needClipY: a
};
}
-function e4(e) {
- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = P0(), { needClipX: a, needClipY: o, needClip: s } = $2(t, n);
+function $2(e) {
+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = N0(), { needClipX: a, needClipY: o, needClip: s } = Q2(t, n);
if (!s || !i) return null;
var { x: c, y: l, width: u, height: d } = i;
return /*#__PURE__*/ L.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ L.createElement("rect", {
@@ -64703,30 +64705,30 @@ function e4(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var t4 = (e, t, n, r) => QZ(e, "xAxis", t, r), n4 = (e, t, n, r) => ZZ(e, "xAxis", t, r), r4 = (e, t, n, r) => QZ(e, "yAxis", n, r), i4 = (e, t, n, r) => ZZ(e, "yAxis", n, r), Pje = $([
+var e4 = (e, t, n, r) => QZ(e, "xAxis", t, r), t4 = (e, t, n, r) => ZZ(e, "xAxis", t, r), n4 = (e, t, n, r) => QZ(e, "yAxis", n, r), r4 = (e, t, n, r) => ZZ(e, "yAxis", n, r), Fje = $([
_U,
- t4,
- r4,
+ e4,
n4,
- i4
-], (e, t, n, r, i) => XV(e, "xAxis") ? dH(t, r, !1) : dH(n, i, !1)), Fje = (e, t, n, r, i) => i;
-function Ije(e) {
+ t4,
+ r4
+], (e, t, n, r, i) => XV(e, "xAxis") ? dH(t, r, !1) : dH(n, i, !1)), Ije = (e, t, n, r, i) => i;
+function Lje(e) {
return e.type === "line";
}
-var Lje = $([
+var Rje = $([
_U,
+ e4,
+ n4,
t4,
r4,
- n4,
- i4,
- $([KX, Fje], (e, t) => e.filter(Ije).find((e) => e.id === t)),
- Pje,
+ $([KX, Ije], (e, t) => e.filter(Lje).find((e) => e.id === t)),
+ Fje,
bK
], (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 rMe({
+ if (p != null) return iMe({
layout: e,
xAxis: t,
yAxis: n,
@@ -64740,8 +64742,8 @@ var Lje = $([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function a4(e) {
- var t = TL(e), n = 3, r = 2;
+function i4(e) {
+ var t = EL(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), {
@@ -64756,13 +64758,13 @@ function a4(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var Rje = ["id"], zje = [
+var zje = ["id"], Bje = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], Bje = [
+], Vje = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -64778,16 +64780,16 @@ var Rje = ["id"], zje = [
"yAxisId",
"id"
];
-function o4() {
- return o4 = Object.assign ? Object.assign.bind() : function(e) {
+function a4() {
+ return a4 = 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;
- }, o4.apply(null, arguments);
+ }, a4.apply(null, arguments);
}
-function s4(e, t) {
+function o4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64797,30 +64799,30 @@ function s4(e, t) {
}
return n;
}
-function c4(e) {
+function s4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s4(Object(n), !0).forEach(function(t) {
- Vje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s4(Object(n)).forEach(function(t) {
+ t % 2 ? o4(Object(n), !0).forEach(function(t) {
+ Hje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vje(e, t, n) {
- return (t = Hje(t)) in e ? Object.defineProperty(e, t, {
+function Hje(e, t, n) {
+ return (t = Uje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hje(e) {
- var t = Uje(e, "string");
+function Uje(e) {
+ var t = Wje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Uje(e, t) {
+function Wje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64830,16 +64832,16 @@ function Uje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function l4(e, t) {
+function c4(e, t) {
if (e == null) return {};
- var n, r, i = Wje(e, t);
+ var n, r, i = Gje(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 Wje(e, t) {
+function Gje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64848,7 +64850,7 @@ function Wje(e, t) {
}
return n;
}
-var Gje = (e) => {
+var Kje = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -64858,10 +64860,10 @@ var Gje = (e) => {
value: pH(n, t),
payload: e
}];
-}, Kje = /*#__PURE__*/ L.memo((e) => {
+}, qje = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: WR,
+ getPosition: GR,
settings: {
stroke: r,
strokeWidth: i,
@@ -64876,15 +64878,15 @@ var Gje = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ L.createElement(b0, { tooltipEntrySettings: d });
-}), u4 = (e, t) => `${t}px ${e}px`;
-function qje(e, t) {
+ return /*#__PURE__*/ L.createElement(y0, { tooltipEntrySettings: d });
+}), l4 = (e, t) => `${t}px ${e}px`;
+function Jje(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var Jje = (e, t, n) => {
+var Yje = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
- if (!r) return u4(t, e);
+ if (!r) return l4(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) {
var l, u = n[s];
if (u != null && c + u > a) {
@@ -64894,14 +64896,14 @@ var Jje = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...qje(n, i),
+ ...Jje(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function Yje(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = wL(l4(r, Rje));
- return /*#__PURE__*/ L.createElement(A0, {
+function Xje(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = TL(c4(r, zje));
+ return /*#__PURE__*/ L.createElement(k0, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -64912,7 +64914,7 @@ function Yje(e) {
clipPathId: t
});
}
-function Xje(e) {
+function Zje(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, L.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -64922,7 +64924,7 @@ function Xje(e) {
upperWidth: 0,
height: 0
};
- return c4(c4({}, t), {}, {
+ return s4(s4({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -64930,10 +64932,10 @@ function Xje(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ L.createElement(m1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ L.createElement(p1, { value: t ? i : void 0 }, n);
}
-function d4(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 = c4(c4({}, EL(l4(a, zje))), {}, {
+function u4(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 = s4(s4({}, DL(c4(a, Bje))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -64943,31 +64945,31 @@ function d4(e) {
connectNulls: c,
strokeDasharray: i ?? a.strokeDasharray
});
- return /*#__PURE__*/ L.createElement(L.Fragment, null, r?.length > 1 && /*#__PURE__*/ L.createElement(g0, o4({
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, r?.length > 1 && /*#__PURE__*/ L.createElement(h0, a4({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ L.createElement(Yje, {
+ }, d, { pathRef: n })), /*#__PURE__*/ L.createElement(Xje, {
points: r,
clipPathId: t,
props: a
}));
}
-function Zje(e) {
+function Qje(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Qje(e) {
+function $je(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 = XG(o, "recharts-line-"), y = (0, L.useRef)(v), [b, x] = (0, L.useState)(!1), S = !b, C = (0, L.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, L.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = Zje(r.current), E = (0, L.useRef)(0);
+ }, [g]), T = Qje(r.current), E = (0, L.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ L.createElement(Xje, {
+ return /*#__PURE__*/ L.createElement(Zje, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ L.createElement(YG, {
@@ -64980,26 +64982,26 @@ function Qje(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = zR(D, T + D, e), u = Math.min(l, T), d = c ? s ? Jje(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : u4(T, u) : s == null ? void 0 : String(s);
+ var l = BR(D, T + D, e), u = Math.min(l, T), d = c ? s ? Yje(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : l4(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 c4(c4({}, t), {}, {
- x: zR(i.x, t.x, e),
- y: zR(i.y, t.y, e)
+ return s4(s4({}, t), {}, {
+ x: BR(i.x, t.x, e),
+ y: BR(i.y, t.y, e)
});
}
- return f ? c4(c4({}, t), {}, {
- x: zR(p * 2, t.x, e),
- y: zR(m / 2, t.y, e)
- }) : c4(c4({}, t), {}, {
+ return f ? s4(s4({}, t), {}, {
+ x: BR(p * 2, t.x, e),
+ y: BR(m / 2, t.y, e)
+ }) : s4(s4({}, t), {}, {
x: t.x,
y: t.y
});
});
- return i.current = g, /*#__PURE__*/ L.createElement(d4, {
+ return i.current = g, /*#__PURE__*/ L.createElement(u4, {
props: n,
points: g,
clipPathId: t,
@@ -65007,18 +65009,18 @@ function Qje(e) {
strokeDasharray: d
});
}
- return /*#__PURE__*/ L.createElement(d4, {
+ return /*#__PURE__*/ L.createElement(u4, {
props: n,
points: o,
clipPathId: t,
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ L.createElement(_1, { label: n.label }));
+ }), /*#__PURE__*/ L.createElement(g1, { label: n.label }));
}
-function $je(e) {
+function eMe(e) {
var { clipPathId: t, props: n } = e, r = (0, L.useRef)(null), i = (0, L.useRef)(0), a = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement(Qje, {
+ return /*#__PURE__*/ L.createElement($je, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -65026,17 +65028,17 @@ function $je(e) {
pathRef: a
});
}
-var eMe = (e, t) => ({
+var tMe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: JV(e.payload, t)
-}), tMe = class extends L.Component {
+}), nMe = class extends L.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Au("recharts-line", r), m = u, { r: h, strokeWidth: g } = a4(t), _ = s0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ L.createElement(a$, { zIndex: f }, /*#__PURE__*/ L.createElement(AL, { className: p }, d && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement(e4, {
+ var p = Au("recharts-line", r), m = u, { r: h, strokeWidth: g } = i4(t), _ = o0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: f }, /*#__PURE__*/ L.createElement(jL, { className: p }, d && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement($2, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -65045,16 +65047,16 @@ var eMe = (e, t) => ({
y: o - v / 2,
width: c + v,
height: l + v
- }))), /*#__PURE__*/ L.createElement(Q2, {
+ }))), /*#__PURE__*/ L.createElement(Z2, {
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: eMe,
+ dataPointFormatter: tMe,
errorBarOffset: 0
- }, /*#__PURE__*/ L.createElement($je, {
+ }, /*#__PURE__*/ L.createElement(eMe, {
props: this.props,
clipPathId: m
- }))), /*#__PURE__*/ L.createElement(L0, {
+ }))), /*#__PURE__*/ L.createElement(I0, {
activeDot: this.props.activeDot,
points: n,
mainColor: this.props.stroke,
@@ -65062,7 +65064,7 @@ var eMe = (e, t) => ({
clipPath: y
}));
}
-}, f4 = {
+}, d4 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -65082,11 +65084,11 @@ var eMe = (e, t) => ({
zIndex: WK.line,
type: "linear"
};
-function nMe(e) {
- var t = ez(e, f4), { 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 = l4(t, Bje), { needClip: _ } = $2(p, m), v = P0(), y = vU(), b = LH(), x = Q((e) => Lje(e, p, m, b, h));
+function rMe(e) {
+ var t = tz(e, d4), { 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 = c4(t, Vje), { needClip: _ } = Q2(p, m), v = N0(), y = vU(), b = LH(), x = Q((e) => Rje(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ L.createElement(tMe, o4({}, g, {
+ return /*#__PURE__*/ L.createElement(nMe, a4({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -65110,7 +65112,7 @@ function nMe(e) {
needClip: _
}));
}
-function rMe(e) {
+function iMe(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 = JV(e, o);
@@ -65122,11 +65124,11 @@ function rMe(e) {
entry: e,
index: c
}),
- y: (VR(l) ? null : r.scale.map(l)) ?? null,
+ y: (HR(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = VR(l) ? null : n.scale.map(l), d = rH({
+ var u = HR(l) ? null : n.scale.map(l), d = rH({
axis: r,
ticks: a,
bandSize: s,
@@ -65141,12 +65143,12 @@ function rMe(e) {
};
}).filter(Boolean);
}
-function iMe(e) {
- var t = ez(e, f4), n = LH();
- return /*#__PURE__*/ L.createElement(C0, {
+function aMe(e) {
+ var t = tz(e, d4), n = LH();
+ return /*#__PURE__*/ L.createElement(S0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(x0, { legendPayload: Gje(t) }), /*#__PURE__*/ L.createElement(Kje, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(b0, { legendPayload: Kje(t) }), /*#__PURE__*/ L.createElement(qje, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -65157,7 +65159,7 @@ function iMe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ L.createElement(T0, {
+ }), /*#__PURE__*/ L.createElement(w0, {
type: "line",
id: e,
data: t.data,
@@ -65167,33 +65169,33 @@ function iMe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ L.createElement(nMe, o4({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(rMe, a4({}, t, { id: e }))));
}
-var p4 = /*#__PURE__*/ L.memo(iMe, GW);
-p4.displayName = "Line";
+var f4 = /*#__PURE__*/ L.memo(aMe, GW);
+f4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function m4(e, t) {
+function p4(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function h4(e, t) {
+function m4(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var g4 = (e, t, n) => QZ(e, "xAxis", m4(e, t), n), _4 = (e, t, n) => ZZ(e, "xAxis", m4(e, t), n), v4 = (e, t, n) => QZ(e, "yAxis", h4(e, t), n), y4 = (e, t, n) => ZZ(e, "yAxis", h4(e, t), n), aMe = $([
+var h4 = (e, t, n) => QZ(e, "xAxis", p4(e, t), n), g4 = (e, t, n) => ZZ(e, "xAxis", p4(e, t), n), _4 = (e, t, n) => QZ(e, "yAxis", m4(e, t), n), v4 = (e, t, n) => ZZ(e, "yAxis", m4(e, t), n), oMe = $([
_U,
- g4,
- v4,
+ h4,
_4,
- y4
-], (e, t, n, r, i) => XV(e, "xAxis") ? dH(t, r, !1) : dH(n, i, !1)), b4 = $([KX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), x4 = (e) => XV(_U(e), "xAxis") ? "yAxis" : "xAxis", oMe = (e, t) => x4(e) === "yAxis" ? h4(e, t) : m4(e, t), sMe = $([
+ g4,
+ v4
+], (e, t, n, r, i) => XV(e, "xAxis") ? dH(t, r, !1) : dH(n, i, !1)), y4 = $([KX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), b4 = (e) => XV(_U(e), "xAxis") ? "yAxis" : "xAxis", sMe = (e, t) => b4(e) === "yAxis" ? m4(e, t) : p4(e, t), cMe = $([
_U,
+ h4,
+ _4,
g4,
v4,
- _4,
- y4,
- $([b4, (e, t, n) => lZ(e, x4(e), oMe(e, t), n)], (e, t) => {
+ $([y4, (e, t, n) => lZ(e, b4(e), sMe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = uq(e);
if (n != null && r != null) {
@@ -65203,14 +65205,14 @@ var g4 = (e, t, n) => QZ(e, "xAxis", m4(e, t), n), _4 = (e, t, n) => ZZ(e, "xAxi
}
}),
xK,
- aMe,
- b4,
+ oMe,
+ y4,
Ebe
], (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 DMe({
+ if (m != null) return OMe({
layout: e,
xAxis: t,
yAxis: n,
@@ -65224,7 +65226,7 @@ var g4 = (e, t, n) => QZ(e, "xAxis", m4(e, t), n), _4 = (e, t, n) => ZZ(e, "xAxi
bandSize: s
});
}
-}), cMe = ["id"], lMe = [
+}), lMe = ["id"], uMe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -65240,25 +65242,25 @@ var g4 = (e, t, n) => QZ(e, "xAxis", m4(e, t), n), _4 = (e, t, n) => ZZ(e, "xAxi
"xAxisId",
"yAxisId"
];
-function S4() {
- return S4 = Object.assign ? Object.assign.bind() : function(e) {
+function x4() {
+ return x4 = 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;
- }, S4.apply(null, arguments);
+ }, x4.apply(null, arguments);
}
-function C4(e, t) {
+function S4(e, t) {
if (e == null) return {};
- var n, r, i = uMe(e, t);
+ var n, r, i = dMe(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 uMe(e, t) {
+function dMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65267,7 +65269,7 @@ function uMe(e, t) {
}
return n;
}
-function w4(e, t) {
+function C4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65277,30 +65279,30 @@ function w4(e, t) {
}
return n;
}
-function T4(e) {
+function w4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w4(Object(n), !0).forEach(function(t) {
- dMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w4(Object(n)).forEach(function(t) {
+ t % 2 ? C4(Object(n), !0).forEach(function(t) {
+ fMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dMe(e, t, n) {
- return (t = fMe(t)) in e ? Object.defineProperty(e, t, {
+function fMe(e, t, n) {
+ return (t = pMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fMe(e) {
- var t = pMe(e, "string");
+function pMe(e) {
+ var t = mMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pMe(e, t) {
+function mMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65310,23 +65312,23 @@ function pMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function E4(e, t) {
+function T4(e, t) {
return e && e !== "none" ? e : t;
}
-var mMe = (e) => {
+var hMe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
- color: E4(r, i),
+ color: T4(r, i),
value: pH(n, t),
payload: e
}];
-}, hMe = /*#__PURE__*/ L.memo((e) => {
+}, gMe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: WR,
+ getPosition: GR,
settings: {
stroke: r,
strokeWidth: i,
@@ -65336,16 +65338,16 @@ var mMe = (e) => {
name: pH(o, t),
hide: s,
type: l,
- color: E4(r, a),
+ color: T4(r, a),
unit: c,
graphicalItemId: u
}
};
- return /*#__PURE__*/ L.createElement(b0, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ L.createElement(y0, { tooltipEntrySettings: d });
});
-function gMe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = wL(r);
- return /*#__PURE__*/ L.createElement(A0, {
+function _Me(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = TL(r);
+ return /*#__PURE__*/ L.createElement(k0, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -65356,7 +65358,7 @@ function gMe(e) {
clipPathId: t
});
}
-function _Me(e) {
+function vMe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -65366,7 +65368,7 @@ function _Me(e) {
upperWidth: 0,
height: 0
};
- return T4(T4({}, t), {}, {
+ return w4(w4({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -65374,11 +65376,11 @@ function _Me(e) {
fill: void 0
});
});
- return /*#__PURE__*/ L.createElement(m1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ L.createElement(p1, { value: t ? i : void 0 }, n);
}
-function D4(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 = C4(a, cMe), p = wL(f), m = EL(f);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, t?.length > 1 && /*#__PURE__*/ L.createElement(AL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ L.createElement(jG, S4({}, m, {
+function E4(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 = S4(a, lMe), p = TL(f), m = DL(f);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, t?.length > 1 && /*#__PURE__*/ L.createElement(jL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ L.createElement(jG, x4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -65387,29 +65389,29 @@ function D4(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ L.createElement(jG, S4({}, p, {
+ })), c !== "none" && /*#__PURE__*/ L.createElement(jG, x4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ L.createElement(jG, S4({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ L.createElement(jG, x4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ L.createElement(gMe, {
+ }))), /*#__PURE__*/ L.createElement(_Me, {
points: t,
props: f,
clipPathId: i
}));
}
-function vMe(e) {
+function yMe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!VV(a) || !VV(o)) return null;
+ if (!HV(a) || !HV(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__*/ L.createElement("rect", {
x: 0,
@@ -65418,9 +65420,9 @@ function vMe(e) {
height: Math.floor(s)
}) : null;
}
-function yMe(e) {
+function bMe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!VV(a) || !VV(o)) return null;
+ if (!HV(a) || !HV(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__*/ L.createElement("rect", {
x: a < o ? a : a - s,
@@ -65429,21 +65431,21 @@ function yMe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function bMe(e) {
+function xMe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ L.createElement(vMe, {
+ return n === "vertical" ? /*#__PURE__*/ L.createElement(yMe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ L.createElement(yMe, {
+ }) : /*#__PURE__*/ L.createElement(bMe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function xMe(e) {
+function SMe(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 = XG((0, L.useMemo)(() => ({
points: o,
baseLine: s
@@ -65454,7 +65456,7 @@ function xMe(e) {
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ L.createElement(_Me, {
+ return /*#__PURE__*/ L.createElement(vMe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ L.createElement(YG, {
@@ -65472,24 +65474,24 @@ function xMe(e) {
var r = Math.floor(n * l);
if (x[r]) {
var i = x[r];
- return T4(T4({}, t), {}, {
- x: zR(i.x, t.x, e),
- y: zR(i.y, t.y, e)
+ return w4(w4({}, t), {}, {
+ x: BR(i.x, t.x, e),
+ y: BR(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? zR(S, s, e) : VR(s) || NR(s) ? zR(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? BR(S, s, e) : HR(s) || PR(s) ? BR(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
- return T4(T4({}, t), {}, {
- x: zR(i.x, t.x, e),
- y: zR(i.y, t.y, e)
+ return w4(w4({}, t), {}, {
+ x: BR(i.x, t.x, e),
+ y: BR(i.y, t.y, e)
});
}
return t;
});
- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ L.createElement(D4, {
+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ L.createElement(E4, {
points: u,
baseLine: d,
needClip: t,
@@ -65497,24 +65499,24 @@ function xMe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ L.createElement(AL, null, c && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ L.createElement(bMe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ L.createElement(jL, null, c && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ L.createElement(xMe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ L.createElement(AL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ L.createElement(D4, {
+ }))), /*#__PURE__*/ L.createElement(jL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ L.createElement(E4, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ L.createElement(_1, { label: r.label }));
+ }), /*#__PURE__*/ L.createElement(g1, { label: r.label }));
}
-function SMe(e) {
+function CMe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, L.useRef)(null), a = (0, L.useRef)();
- return /*#__PURE__*/ L.createElement(xMe, {
+ return /*#__PURE__*/ L.createElement(SMe, {
needClip: t,
clipPathId: n,
props: r,
@@ -65522,12 +65524,12 @@ function SMe(e) {
previousBaselineRef: a
});
}
-var CMe = class extends L.PureComponent {
+var wMe = class extends L.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Au("recharts-area", r), h = d, { r: g, strokeWidth: _ } = a4(t), v = s0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ L.createElement(a$, { zIndex: p }, /*#__PURE__*/ L.createElement(AL, { className: m }, o && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement(e4, {
+ var m = Au("recharts-area", r), h = d, { r: g, strokeWidth: _ } = i4(t), v = o0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: p }, /*#__PURE__*/ L.createElement(jL, { className: m }, o && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement($2, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -65536,25 +65538,25 @@ var CMe = class extends L.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ L.createElement(SMe, {
+ }))), /*#__PURE__*/ L.createElement(CMe, {
needClip: o,
clipPathId: h,
props: this.props
- })), /*#__PURE__*/ L.createElement(L0, {
+ })), /*#__PURE__*/ L.createElement(I0, {
points: n,
- mainColor: E4(this.props.stroke, this.props.fill),
+ mainColor: T4(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
- }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ L.createElement(L0, {
+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ L.createElement(I0, {
points: f,
- mainColor: E4(this.props.stroke, this.props.fill),
+ mainColor: T4(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
}));
}
-}, wMe = {
+}, TMe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -65574,11 +65576,11 @@ var CMe = class extends L.PureComponent {
yAxisId: 0,
zIndex: WK.area
};
-function TMe(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 = C4(e, lMe), g = vU(), _ = qQ(), { needClip: v } = $2(p, m), y = LH(), { points: b, isRange: x, baseLine: S } = Q((t) => sMe(t, e.id, y)) ?? {}, C = P0();
+function EMe(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 = S4(e, uMe), g = vU(), _ = qQ(), { needClip: v } = Q2(p, m), y = LH(), { points: b, isRange: x, baseLine: S } = Q((t) => cMe(t, e.id, y)) ?? {}, C = N0();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ L.createElement(CMe, S4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ L.createElement(wMe, x4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -65604,7 +65606,7 @@ function TMe(e) {
yAxisId: m
}));
}
-var EMe = (e, t, n, r, i) => {
+var DMe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -65614,8 +65616,8 @@ var EMe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function DMe(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 = EMe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function OMe(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 = DMe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
@@ -65664,12 +65666,12 @@ function DMe(e) {
isRange: _
};
}
-function OMe(e) {
- var t = ez(e, wMe), n = LH();
- return /*#__PURE__*/ L.createElement(C0, {
+function kMe(e) {
+ var t = tz(e, TMe), n = LH();
+ return /*#__PURE__*/ L.createElement(S0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(x0, { legendPayload: mMe(t) }), /*#__PURE__*/ L.createElement(hMe, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(b0, { legendPayload: hMe(t) }), /*#__PURE__*/ L.createElement(gMe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -65680,7 +65682,7 @@ function OMe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ L.createElement(T0, {
+ }), /*#__PURE__*/ L.createElement(w0, {
type: "area",
id: e,
data: t.data,
@@ -65694,109 +65696,109 @@ function OMe(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ L.createElement(TMe, S4({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(EMe, x4({}, t, { id: e }))));
}
-var O4 = /*#__PURE__*/ L.memo(OMe, GW);
-O4.displayName = "Area";
+var D4 = /*#__PURE__*/ L.memo(kMe, GW);
+D4.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var kMe = "Invariant failed";
-function AMe(e, t) {
- if (!e) throw Error(kMe);
+var AMe = "Invariant failed";
+function jMe(e, t) {
+ if (!e) throw Error(AMe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-function k4() {
- return k4 = Object.assign ? Object.assign.bind() : function(e) {
+function O4() {
+ return O4 = 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;
- }, k4.apply(null, arguments);
+ }, O4.apply(null, arguments);
}
-function A4(e) {
- return /*#__PURE__*/ L.createElement(g0, k4({
+function k4(e) {
+ return /*#__PURE__*/ L.createElement(h0, O4({
shapeType: "rectangle",
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var jMe = function(e) {
+var MMe = 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) || VR(n);
- return i ? e(n, r) : (!i && AMe(!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) || HR(n);
+ return i ? e(n, r) : (!i && jMe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, MMe = (e, t, n) => n, j4 = $([KX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), NMe = $([j4], (e) => e?.maxBarSize), PMe = (e, t, n, r) => r, FMe = $([
+}, NMe = (e, t, n) => n, A4 = $([KX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), PMe = $([A4], (e) => e?.maxBarSize), FMe = (e, t, n, r) => r, IMe = $([
_U,
KX,
+ p4,
m4,
- h4,
- MMe
-], (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")), IMe = (e, t, n) => {
- var r = _U(e), i = m4(e, t), a = h4(e, t);
+ NMe
+], (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")), LMe = (e, t, n) => {
+ var r = _U(e), i = p4(e, t), a = m4(e, t);
if (i != null && a != null) return r === "horizontal" ? lZ(e, "yAxis", a, n) : lZ(e, "xAxis", i, n);
-}, LMe = $([
- FMe,
+}, RMe = $([
+ IMe,
LK,
(e, t) => {
- var n = _U(e), r = m4(e, t), i = h4(e, t);
+ var n = _U(e), r = p4(e, t), i = m4(e, t);
if (r != null && i != null) return n === "horizontal" ? WZ(e, "xAxis", r) : WZ(e, "yAxis", i);
}
-], $0), RMe = (e, t, n) => {
- var r = j4(e, t);
+], Q0), zMe = (e, t, n) => {
+ var r = A4(e, t);
if (r == null) return 0;
- var i = m4(e, t), a = h4(e, t);
+ var i = p4(e, t), a = m4(e, t);
if (i == null || a == null) return 0;
- var o = _U(e), s = PK(e), { maxBarSize: c } = r, l = VR(c) ? s : c, u, d;
+ var o = _U(e), s = PK(e), { maxBarSize: c } = r, l = HR(c) ? s : c, u, d;
return o === "horizontal" ? (u = QZ(e, "xAxis", i, n), d = ZZ(e, "xAxis", i, n)) : (u = QZ(e, "yAxis", a, n), d = ZZ(e, "yAxis", a, n)), dH(u, d, !0) ?? l ?? 0;
-}, M4 = (e, t, n) => {
- var r = _U(e), i = m4(e, t), a = h4(e, t);
+}, j4 = (e, t, n) => {
+ var r = _U(e), i = p4(e, t), a = m4(e, t);
if (i != null && a != null) {
var o, s;
return r === "horizontal" ? (o = QZ(e, "xAxis", i, n), s = ZZ(e, "xAxis", i, n)) : (o = QZ(e, "yAxis", a, n), s = ZZ(e, "yAxis", a, n)), dH(o, s);
}
-}, zMe = $([
+}, BMe = $([
NH,
FH,
(e, t, n) => {
- var r = m4(e, t);
+ var r = p4(e, t);
if (r != null) return QZ(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = h4(e, t);
+ var r = m4(e, t);
if (r != null) return QZ(e, "yAxis", r, n);
},
(e, t, n) => {
- var r = m4(e, t);
+ var r = p4(e, t);
if (r != null) return ZZ(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = h4(e, t);
+ var r = m4(e, t);
if (r != null) return ZZ(e, "yAxis", r, n);
},
$([$([
- LMe,
+ RMe,
PK,
FK,
IK,
- RMe,
- M4,
- NMe
- ], n2), j4], i2),
+ zMe,
+ j4,
+ PMe
+ ], t2), A4], r2),
_U,
xK,
- M4,
- $([IMe, j4], r2),
j4,
- PMe
+ $([LMe, A4], n2),
+ A4,
+ FMe
], (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 pNe({
+ if (_ != null) return mNe({
layout: s,
barSettings: d,
pos: o,
@@ -65813,26 +65815,26 @@ var jMe = function(e) {
dataStartIndex: m
});
}
-}), BMe = ["index"];
-function N4() {
- return N4 = Object.assign ? Object.assign.bind() : function(e) {
+}), VMe = ["index"];
+function M4() {
+ return M4 = 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;
- }, N4.apply(null, arguments);
+ }, M4.apply(null, arguments);
}
-function VMe(e, t) {
+function HMe(e, t) {
if (e == null) return {};
- var n, r, i = HMe(e, t);
+ var n, r, i = UMe(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 HMe(e, t) {
+function UMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65841,45 +65843,45 @@ function HMe(e, t) {
}
return n;
}
-var P4 = /*#__PURE__*/ (0, L.createContext)(void 0), UMe = (e) => {
- var t = (0, L.useContext)(P4);
+var N4 = /*#__PURE__*/ (0, L.createContext)(void 0), WMe = (e) => {
+ var t = (0, L.useContext)(N4);
if (t != null) return t.stackId;
if (e != null) return nH(e);
-}, WMe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, GMe = (e) => {
- var t = (0, L.useContext)(P4);
+}, GMe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, KMe = (e) => {
+ var t = (0, L.useContext)(N4);
if (t != null) {
var { stackId: n } = t;
- return `url(#${WMe(n, e)})`;
+ return `url(#${GMe(n, e)})`;
}
-}, F4 = (e) => {
- var { index: t } = e, n = VMe(e, BMe), r = GMe(t);
- return /*#__PURE__*/ L.createElement(AL, N4({
+}, P4 = (e) => {
+ var { index: t } = e, n = HMe(e, VMe), r = KMe(t);
+ return /*#__PURE__*/ L.createElement(jL, M4({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, KMe = [
+}, qMe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], qMe = [
+], JMe = [
"value",
"background",
"tooltipPosition"
-], JMe = ["id"], YMe = [
+], YMe = ["id"], XMe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function I4() {
- return I4 = Object.assign ? Object.assign.bind() : function(e) {
+function F4() {
+ return F4 = 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;
- }, I4.apply(null, arguments);
+ }, F4.apply(null, arguments);
}
-function L4(e, t) {
+function I4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65889,30 +65891,30 @@ function L4(e, t) {
}
return n;
}
-function R4(e) {
+function L4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L4(Object(n), !0).forEach(function(t) {
- XMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L4(Object(n)).forEach(function(t) {
+ t % 2 ? I4(Object(n), !0).forEach(function(t) {
+ ZMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XMe(e, t, n) {
- return (t = ZMe(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 ZMe(e) {
- var t = QMe(e, "string");
+function QMe(e) {
+ var t = $Me(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QMe(e, t) {
+function $Me(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65922,16 +65924,16 @@ function QMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function z4(e, t) {
+function R4(e, t) {
if (e == null) return {};
- var n, r, i = $Me(e, t);
+ var n, r, i = eNe(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 $Me(e, t) {
+function eNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65940,7 +65942,7 @@ function $Me(e, t) {
}
return n;
}
-var eNe = (e) => {
+var tNe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -65950,10 +65952,10 @@ var eNe = (e) => {
value: pH(n, t),
payload: e
}];
-}, tNe = /*#__PURE__*/ L.memo((e) => {
+}, nNe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: WR,
+ getPosition: GR,
settings: {
stroke: n,
strokeWidth: r,
@@ -65968,19 +65970,19 @@ var eNe = (e) => {
graphicalItemId: l
}
};
- return /*#__PURE__*/ L.createElement(b0, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ L.createElement(y0, { tooltipEntrySettings: u });
});
-function nNe(e) {
- var t = Q(RQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = z4(a, KMe), u = _0(o, r, a.id), d = v0(s), f = y0(c, r, a.id);
+function rNe(e) {
+ var t = Q(RQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = R4(a, qMe), u = g0(o, r, a.id), d = _0(s), f = v0(c, r, a.id);
if (!i || n == null) return null;
- var p = TL(i);
- return /*#__PURE__*/ L.createElement(a$, { zIndex: _2(i, WK.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = z4(e, qMe);
+ var p = EL(i);
+ return /*#__PURE__*/ L.createElement(a$, { zIndex: g2(i, WK.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = R4(e, JMe);
if (!o) return null;
- var m = u(e, n), h = d(e, n), g = f(e, n), _ = R4(R4(R4(R4(R4({
+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = L4(L4(L4(L4(L4({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), QR(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), $R(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -65988,10 +65990,10 @@ function nNe(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ L.createElement(A4, I4({ key: `background-bar-${n}` }, _));
+ return /*#__PURE__*/ L.createElement(k4, F4({ key: `background-bar-${n}` }, _));
}));
}
-function rNe(e) {
+function iNe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -66001,7 +66003,7 @@ function rNe(e) {
upperWidth: e.width,
height: e.height
};
- return R4(R4({}, t), {}, {
+ return L4(L4({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -66009,9 +66011,9 @@ function rNe(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ L.createElement(m1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ L.createElement(p1, { value: t ? i : void 0 }, n);
}
-function iNe(e) {
+function aNe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(RQ), c = Q(BQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, L.useState)(!1), [f, p] = (0, L.useState)(!1);
(0, L.useEffect)(() => {
var e;
@@ -66023,42 +66025,42 @@ function iNe(e) {
}, [l]);
var m = (0, L.useCallback)(() => {
l || d(!1);
- }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ L.createElement(A4, I4({}, r, { name: String(r.name) }, i, {
+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ L.createElement(k4, F4({}, r, { name: String(r.name) }, i, {
isActive: h,
option: _,
index: a,
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ L.createElement(a$, { zIndex: WK.activeBar }, /*#__PURE__*/ L.createElement(F4, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ L.createElement(a$, { zIndex: WK.activeBar }, /*#__PURE__*/ L.createElement(P4, { index: i.originalDataIndex }, v)) : v;
}
-function aNe(e) {
+function oNe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
- return /*#__PURE__*/ L.createElement(A4, I4({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ L.createElement(k4, F4({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
dataKey: a
}));
}
-function oNe(e) {
- var { data: t, props: n } = e, r = wL(n) ?? {}, { id: i } = r, a = z4(r, JMe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = z4(n, YMe), p = _0(l, s, i), m = v0(d), h = y0(u, s, i);
- return t ? /*#__PURE__*/ L.createElement(L.Fragment, null, t.map((e, t) => /*#__PURE__*/ L.createElement(F4, I4({
+function sNe(e) {
+ var { data: t, props: n } = e, r = TL(n) ?? {}, { id: i } = r, a = R4(r, YMe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = R4(n, XMe), p = g0(l, s, i), m = _0(d), h = v0(u, s, i);
+ return t ? /*#__PURE__*/ L.createElement(L.Fragment, null, t.map((e, t) => /*#__PURE__*/ L.createElement(P4, F4({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, QR(f, e, t), {
+ }, $R(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ L.createElement(iNe, {
+ }), c ? /*#__PURE__*/ L.createElement(aNe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ L.createElement(aNe, {
+ }) : /*#__PURE__*/ L.createElement(oNe, {
shape: o,
baseProps: a,
entry: e,
@@ -66066,13 +66068,13 @@ function oNe(e) {
dataKey: s
})))) : null;
}
-function sNe(e) {
+function cNe(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 = XG(t, "recharts-bar-"), [p, m] = (0, L.useState)(!1), h = !p, g = (0, L.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, L.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ L.createElement(rNe, {
+ return /*#__PURE__*/ L.createElement(iNe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ L.createElement(YG, {
@@ -66087,39 +66089,39 @@ function sNe(e) {
}, (e) => {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
- if (r) return R4(R4({}, t), {}, {
- x: zR(r.x, t.x, e),
- y: zR(r.y, t.y, e),
- width: zR(r.width, t.width, e),
- height: zR(r.height, t.height, e)
+ if (r) return L4(L4({}, t), {}, {
+ x: BR(r.x, t.x, e),
+ y: BR(r.y, t.y, e),
+ width: BR(r.width, t.width, e),
+ height: BR(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = zR(0, t.height, e), o = zR(t.stackedBarStart, t.y, e);
- return R4(R4({}, t), {}, {
+ var a = BR(0, t.height, e), o = BR(t.stackedBarStart, t.y, e);
+ return L4(L4({}, t), {}, {
y: o,
height: a
});
}
- var s = zR(0, t.width, e), c = zR(t.stackedBarStart, t.x, e);
- return R4(R4({}, t), {}, {
+ var s = BR(0, t.width, e), c = BR(t.stackedBarStart, t.x, e);
+ return L4(L4({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ L.createElement(AL, null, /*#__PURE__*/ L.createElement(oNe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ L.createElement(jL, null, /*#__PURE__*/ L.createElement(sNe, {
props: t,
data: a
}));
- }), /*#__PURE__*/ L.createElement(_1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ L.createElement(g1, { label: t.label }), t.children);
}
-function cNe(e) {
+function lNe(e) {
var t = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement(sNe, {
+ return /*#__PURE__*/ L.createElement(cNe, {
previousRectanglesRef: t,
props: e
});
}
-var B4 = 0, lNe = (e, t) => {
+var z4 = 0, uNe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -66127,29 +66129,29 @@ var B4 = 0, lNe = (e, t) => {
value: n,
errorVal: JV(e, t)
};
-}, uNe = class extends L.PureComponent {
+}, dNe = class extends L.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Au("recharts-bar", r), u = c;
- return /*#__PURE__*/ L.createElement(AL, {
+ return /*#__PURE__*/ L.createElement(jL, {
className: l,
id: c
- }, o && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement(e4, {
+ }, o && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement($2, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ L.createElement(AL, {
+ })), /*#__PURE__*/ L.createElement(jL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ L.createElement(nNe, {
+ }, /*#__PURE__*/ L.createElement(rNe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ L.createElement(cNe, this.props)));
+ }), /*#__PURE__*/ L.createElement(lNe, this.props)));
}
-}, dNe = {
+}, fNe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -66159,22 +66161,22 @@ var B4 = 0, lNe = (e, t) => {
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: B4,
+ minPointSize: z4,
xAxisId: 0,
yAxisId: 0,
zIndex: WK.bar
};
-function fNe(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 } = $2(t, n), f = vU(), p = LH(), m = o0(e.children, S$), h = Q((t) => zMe(t, e.id, p, m));
+function pNe(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 } = Q2(t, n), f = vU(), p = LH(), m = a0(e.children, S$), h = Q((t) => BMe(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ L.createElement(Q2, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ L.createElement(Z2, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: lNe,
+ dataPointFormatter: uNe,
errorBarOffset: g
- }, /*#__PURE__*/ L.createElement(uNe, I4({}, e, {
+ }, /*#__PURE__*/ L.createElement(dNe, F4({}, e, {
layout: f,
needClip: d,
data: h,
@@ -66190,7 +66192,7 @@ function fNe(e) {
isAnimationActive: u
})));
}
-function pNe(e) {
+function mNe(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 = aH({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
@@ -66199,7 +66201,7 @@ function pNe(e) {
if (E == null) return null;
_ = $V(E, v);
} else _ = JV(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = jMe(r, B4)(_[1], f);
+ var D = MMe(r, z4)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -66212,13 +66214,13 @@ function pNe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = NR(A) ? 0 : A, T = {
+ if (w = PR(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 = MR(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = NR(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
@@ -66237,11 +66239,11 @@ function pNe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = MR(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = NR(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
- return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : R4(R4({}, e), {}, {
+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : L4(L4({}, e), {}, {
stackedBarStart: b,
x,
y: S,
@@ -66259,12 +66261,12 @@ function pNe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function mNe(e) {
- var t = ez(e, dNe), n = UMe(t.stackId), r = LH();
- return /*#__PURE__*/ L.createElement(C0, {
+function hNe(e) {
+ var t = tz(e, fNe), n = WMe(t.stackId), r = LH();
+ return /*#__PURE__*/ L.createElement(S0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(x0, { legendPayload: eNe(t) }), /*#__PURE__*/ L.createElement(tNe, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(b0, { legendPayload: tNe(t) }), /*#__PURE__*/ L.createElement(nNe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -66274,7 +66276,7 @@ function mNe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ L.createElement(T0, {
+ }), /*#__PURE__*/ L.createElement(w0, {
type: "bar",
id: e,
data: void 0,
@@ -66289,23 +66291,23 @@ function mNe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ L.createElement(a$, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(fNe, I4({}, t, { id: e })))));
+ }), /*#__PURE__*/ L.createElement(a$, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(pNe, F4({}, t, { id: e })))));
}
-var V4 = /*#__PURE__*/ L.memo(mNe, GW);
-V4.displayName = "Bar";
+var B4 = /*#__PURE__*/ L.memo(hNe, GW);
+B4.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var hNe = ["domain", "range"], gNe = ["domain", "range"];
-function H4(e, t) {
+var gNe = ["domain", "range"], _Ne = ["domain", "range"];
+function V4(e, t) {
if (e == null) return {};
- var n, r, i = _Ne(e, t);
+ var n, r, i = vNe(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 _Ne(e, t) {
+function vNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66314,31 +66316,31 @@ function _Ne(e, t) {
}
return n;
}
-function U4(e, t) {
+function H4(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function W4(e, t) {
+function U4(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = H4(e, hNe), { domain: a, range: o } = t, s = H4(t, gNe);
- return !U4(n, a) || !U4(r, o) ? !1 : GW(i, s);
+ var { domain: n, range: r } = e, i = V4(e, gNe), { domain: a, range: o } = t, s = V4(t, _Ne);
+ return !H4(n, a) || !H4(r, o) ? !1 : GW(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var vNe = ["type"], yNe = [
+var yNe = ["type"], bNe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], bNe = ["id", "scale"];
-function G4() {
- return G4 = Object.assign ? Object.assign.bind() : function(e) {
+], xNe = ["id", "scale"];
+function W4() {
+ return W4 = 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;
- }, G4.apply(null, arguments);
+ }, W4.apply(null, arguments);
}
-function K4(e, t) {
+function G4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66348,30 +66350,30 @@ function K4(e, t) {
}
return n;
}
-function q4(e) {
+function K4(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) {
- xNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
+ t % 2 ? G4(Object(n), !0).forEach(function(t) {
+ SNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xNe(e, t, n) {
- return (t = SNe(t)) in e ? Object.defineProperty(e, t, {
+function SNe(e, t, n) {
+ return (t = CNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SNe(e) {
- var t = CNe(e, "string");
+function CNe(e) {
+ var t = wNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CNe(e, t) {
+function wNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66381,16 +66383,16 @@ function CNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J4(e, t) {
+function q4(e, t) {
if (e == null) return {};
- var n, r, i = wNe(e, t);
+ var n, r, i = TNe(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 wNe(e, t) {
+function TNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66399,24 +66401,24 @@ function wNe(e, t) {
}
return n;
}
-function TNe(e) {
- var t = Dz(), n = (0, L.useRef)(null), r = yU(), { type: i } = e, a = J4(e, vNe), o = JK(r, "xAxis", i), s = (0, L.useMemo)(() => {
- if (o != null) return q4(q4({}, a), {}, { type: o });
+function ENe(e) {
+ var t = Oz(), n = (0, L.useRef)(null), r = yU(), { type: i } = e, a = q4(e, yNe), o = JK(r, "xAxis", i), s = (0, L.useMemo)(() => {
+ if (o != null) return K4(K4({}, a), {}, { type: o });
}, [a, o]);
return (0, L.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(VOe(s)) : n.current !== s && t(HOe({
+ s != null && (n.current === null ? t(HOe(s)) : n.current !== s && t(UOe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(UOe(n.current)), null);
+ n.current &&= (t(WOe(n.current)), null);
}, [t]), null;
}
-var ENe = (e) => {
+var DNe = (e) => {
var { xAxisId: t, className: n } = e, r = Q(FH), i = LH(), a = "xAxis", o = Q((e) => YZ(e, a, t, i)), s = Q((e) => HZ(e, t)), c = Q((e) => JCe(e, t)), l = Q((e) => IX(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = J4(e, yNe), { id: m, scale: h } = l, g = J4(l, bNe);
- return /*#__PURE__*/ L.createElement(W2, G4({}, p, g, {
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = q4(e, bNe), { id: m, scale: h } = l, g = q4(l, xNe);
+ return /*#__PURE__*/ L.createElement(U2, W4({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
@@ -66427,12 +66429,12 @@ var ENe = (e) => {
axisType: a,
axisId: t
}));
-}, DNe = {
+}, ONe = {
allowDataOverflow: FX.allowDataOverflow,
allowDecimals: FX.allowDecimals,
allowDuplicatedCategory: FX.allowDuplicatedCategory,
angle: FX.angle,
- axisLine: U2.axisLine,
+ axisLine: H2.axisLine,
height: FX.height,
hide: !1,
includeHidden: FX.includeHidden,
@@ -66446,14 +66448,14 @@ var ENe = (e) => {
scale: FX.scale,
tick: FX.tick,
tickCount: FX.tickCount,
- tickLine: U2.tickLine,
- tickSize: U2.tickSize,
+ tickLine: H2.tickLine,
+ tickSize: H2.tickSize,
type: FX.type,
niceTicks: FX.niceTicks,
xAxisId: 0
-}, Y4 = /*#__PURE__*/ L.memo((e) => {
- var t = ez(e, DNe);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(TNe, {
+}, J4 = /*#__PURE__*/ L.memo((e) => {
+ var t = tz(e, ONe);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(ENe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -66479,26 +66481,26 @@ var ENe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ L.createElement(ENe, t));
-}, W4);
-Y4.displayName = "XAxis";
+ }), /*#__PURE__*/ L.createElement(DNe, t));
+}, U4);
+J4.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var ONe = ["type"], kNe = [
+var kNe = ["type"], ANe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], ANe = ["id", "scale"];
-function X4() {
- return X4 = Object.assign ? Object.assign.bind() : function(e) {
+], jNe = ["id", "scale"];
+function Y4() {
+ return Y4 = 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;
- }, X4.apply(null, arguments);
+ }, Y4.apply(null, arguments);
}
-function Z4(e, t) {
+function X4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66508,30 +66510,30 @@ function Z4(e, t) {
}
return n;
}
-function Q4(e) {
+function Z4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Z4(Object(n), !0).forEach(function(t) {
- jNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z4(Object(n)).forEach(function(t) {
+ t % 2 ? X4(Object(n), !0).forEach(function(t) {
+ MNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jNe(e, t, n) {
- return (t = MNe(t)) in e ? Object.defineProperty(e, t, {
+function MNe(e, t, n) {
+ return (t = NNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MNe(e) {
- var t = NNe(e, "string");
+function NNe(e) {
+ var t = PNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NNe(e, t) {
+function PNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66541,16 +66543,16 @@ function NNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $4(e, t) {
+function Q4(e, t) {
if (e == null) return {};
- var n, r, i = PNe(e, t);
+ var n, r, i = FNe(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 PNe(e, t) {
+function FNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66559,27 +66561,27 @@ function PNe(e, t) {
}
return n;
}
-function FNe(e) {
- var t = Dz(), n = (0, L.useRef)(null), r = yU(), { type: i } = e, a = $4(e, ONe), o = JK(r, "yAxis", i), s = (0, L.useMemo)(() => {
- if (o != null) return Q4(Q4({}, a), {}, { type: o });
+function INe(e) {
+ var t = Oz(), n = (0, L.useRef)(null), r = yU(), { type: i } = e, a = Q4(e, kNe), o = JK(r, "yAxis", i), s = (0, L.useMemo)(() => {
+ if (o != null) return Z4(Z4({}, a), {}, { type: o });
}, [o, a]);
return (0, L.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(WOe(s)) : n.current !== s && t(GOe({
+ s != null && (n.current === null ? t(GOe(s)) : n.current !== s && t(KOe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(KOe(n.current)), null);
+ n.current &&= (t(qOe(n.current)), null);
}, [t]), null;
}
-function INe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = Q(FH), c = LH(), l = Dz(), u = "yAxis", d = Q((e) => UZ(e, t)), f = Q((e) => YCe(e, t)), p = Q((e) => YZ(e, u, t, c)), m = Q((e) => zX(e, t));
+function LNe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = Q(FH), c = LH(), l = Oz(), u = "yAxis", d = Q((e) => UZ(e, t)), f = Q((e) => YCe(e, t)), p = Q((e) => YZ(e, u, t, c)), m = Q((e) => zX(e, t));
if ((0, L.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || o1(i) || /*#__PURE__*/ (0, L.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || a1(i) || /*#__PURE__*/ (0, L.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(XOe({
+ Math.round(d.width) !== Math.round(n) && l(ZOe({
id: t,
width: n
}));
@@ -66594,8 +66596,8 @@ function INe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = $4(e, kNe), { id: y, scale: b } = m, x = $4(m, ANe);
- return /*#__PURE__*/ L.createElement(W2, X4({}, v, x, {
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Q4(e, ANe), { id: y, scale: b } = m, x = Q4(m, jNe);
+ return /*#__PURE__*/ L.createElement(U2, Y4({}, v, x, {
ref: a,
labelRef: o,
x: f.x,
@@ -66610,12 +66612,12 @@ function INe(e) {
axisId: t
}));
}
-var LNe = {
+var RNe = {
allowDataOverflow: RX.allowDataOverflow,
allowDecimals: RX.allowDecimals,
allowDuplicatedCategory: RX.allowDuplicatedCategory,
angle: RX.angle,
- axisLine: U2.axisLine,
+ axisLine: H2.axisLine,
hide: !1,
includeHidden: RX.includeHidden,
interval: RX.interval,
@@ -66628,15 +66630,15 @@ var LNe = {
scale: RX.scale,
tick: RX.tick,
tickCount: RX.tickCount,
- tickLine: U2.tickLine,
- tickSize: U2.tickSize,
+ tickLine: H2.tickLine,
+ tickSize: H2.tickSize,
type: RX.type,
niceTicks: RX.niceTicks,
width: RX.width,
yAxisId: 0
-}, e3 = /*#__PURE__*/ L.memo((e) => {
- var t = ez(e, LNe);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(FNe, {
+}, $4 = /*#__PURE__*/ L.memo((e) => {
+ var t = tz(e, RNe);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(INe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -66662,10 +66664,10 @@ var LNe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ L.createElement(INe, t));
-}, W4);
-e3.displayName = "YAxis";
-var t3 = $([
+ }), /*#__PURE__*/ L.createElement(LNe, t));
+}, U4);
+$4.displayName = "YAxis";
+var e3 = $([
(e, t) => t,
_U,
sq,
@@ -66677,12 +66679,12 @@ var t3 = $([
], Qwe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function RNe(e) {
+function zNe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function n3(e) {
+function t3(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (RNe(e)) {
+ if (zNe(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 {
@@ -66697,11 +66699,11 @@ function n3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var r3 = rV("mouseClick"), i3 = LV();
-i3.startListening({
- actionCreator: r3,
+var n3 = iV("mouseClick"), r3 = RV();
+r3.startListening({
+ actionCreator: n3,
effect: (e, t) => {
- var n = e.payload, r = t3(t.getState(), n3(n));
+ var n = e.payload, r = e3(t.getState(), t3(n));
r?.activeIndex != null && t.dispatch(awe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
@@ -66709,43 +66711,43 @@ i3.startListening({
}));
}
});
-var a3 = rV("mouseMove"), o3 = LV(), s3 = null, c3 = null, l3 = null;
-o3.startListening({
- actionCreator: a3,
+var i3 = iV("mouseMove"), a3 = RV(), o3 = null, s3 = null, c3 = null;
+a3.startListening({
+ actionCreator: i3,
effect: (e, t) => {
var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");
- s3 !== null && (cancelAnimationFrame(s3), s3 = null), c3 !== null && (typeof r != "number" || !a) && (clearTimeout(c3), c3 = null), l3 = n3(n);
+ o3 !== null && (cancelAnimationFrame(o3), o3 = null), s3 !== null && (typeof r != "number" || !a) && (clearTimeout(s3), s3 = null), c3 = t3(n);
var o = () => {
var e = t.getState(), n = nQ(e, e.tooltip.settings.shared);
- if (!l3) {
- s3 = null, c3 = null;
+ if (!c3) {
+ o3 = null, s3 = null;
return;
}
if (n === "axis") {
- var r = t3(e, l3);
+ var r = e3(e, c3);
r?.activeIndex == null ? t.dispatch(sQ()) : t.dispatch(cQ({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- s3 = null, c3 = null;
+ o3 = null, s3 = null;
};
if (!a) {
o();
return;
}
- r === "raf" ? s3 = requestAnimationFrame(o) : typeof r == "number" && c3 === null && (c3 = setTimeout(o, r));
+ r === "raf" ? o3 = requestAnimationFrame(o) : typeof r == "number" && s3 === null && (s3 = setTimeout(o, r));
}
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function zNe(e, t) {
+function BNe(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
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var u3 = {
+var l3 = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -66757,28 +66759,28 @@ var u3 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, d3 = fV({
+}, u3 = pV({
name: "rootProps",
- initialState: u3,
+ initialState: l3,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? u3.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;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? l3.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;
} }
-}), BNe = d3.reducer, { updateOptions: VNe } = d3.actions, f3 = fV({
+}), VNe = u3.reducer, { updateOptions: HNe } = u3.actions, d3 = pV({
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: HNe } = f3.actions, UNe = f3.reducer, p3 = rV("keyDown"), m3 = rV("focus"), h3 = rV("blur"), g3 = LV(), _3 = null, v3 = null, y3 = null;
-g3.startListening({
- actionCreator: p3,
+}), { updatePolarOptions: UNe } = d3.actions, WNe = d3.reducer, f3 = iV("keyDown"), p3 = iV("focus"), m3 = iV("blur"), h3 = RV(), g3 = null, _3 = null, v3 = null;
+h3.startListening({
+ actionCreator: f3,
effect: (e, t) => {
- y3 = e.payload, _3 !== null && (cancelAnimationFrame(_3), _3 = null);
+ v3 = e.payload, g3 !== null && (cancelAnimationFrame(g3), g3 = null);
var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");
- v3 !== null && (typeof n != "number" || !i) && (clearTimeout(v3), v3 = null);
+ _3 !== null && (typeof n != "number" || !i) && (clearTimeout(_3), _3 = null);
var a = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var { keyboardInteraction: n } = e.tooltip, r = y3;
+ var { keyboardInteraction: n } = e.tooltip, r = v3;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
var i = mQ(n, TQ(e), sZ(e), kQ(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
@@ -66801,19 +66803,19 @@ g3.startListening({
activeCoordinate: u
}));
} finally {
- _3 = null, v3 = null;
+ g3 = null, _3 = null;
}
};
if (!i) {
a();
return;
}
- n === "raf" ? _3 = requestAnimationFrame(a) : typeof n == "number" && v3 === null && (a(), y3 = null, v3 = setTimeout(() => {
- y3 ? a() : (v3 = null, _3 = null);
+ n === "raf" ? g3 = requestAnimationFrame(a) : typeof n == "number" && _3 === null && (a(), v3 = null, _3 = setTimeout(() => {
+ v3 ? a() : (_3 = null, g3 = null);
}, n));
}
-}), g3.startListening({
- actionCreator: m3,
+}), h3.startListening({
+ actionCreator: p3,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -66828,8 +66830,8 @@ g3.startListening({
}
}
}
-}), g3.startListening({
- actionCreator: h3,
+}), h3.startListening({
+ actionCreator: m3,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
@@ -66844,7 +66846,7 @@ g3.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function b3(e) {
+function y3(e) {
e.persist();
var { currentTarget: t } = e;
return new Proxy(e, { get: (e, n) => {
@@ -66855,23 +66857,23 @@ function b3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var x3 = rV("externalEvent"), S3 = LV(), C3 = /* @__PURE__ */ new Map(), w3 = /* @__PURE__ */ new Map(), T3 = /* @__PURE__ */ new Map();
-S3.startListening({
- actionCreator: x3,
+var b3 = iV("externalEvent"), x3 = RV(), S3 = /* @__PURE__ */ new Map(), C3 = /* @__PURE__ */ new Map(), w3 = /* @__PURE__ */ new Map();
+x3.startListening({
+ actionCreator: b3,
effect: (e, t) => {
var { handler: n, reactEvent: r } = e.payload;
if (n != null) {
- var i = r.type, a = b3(r);
- T3.set(i, {
+ var i = r.type, a = y3(r);
+ w3.set(i, {
handler: n,
reactEvent: a
});
- var o = C3.get(i);
- o !== void 0 && (cancelAnimationFrame(o), C3.delete(i));
- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = w3.get(i);
- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), w3.delete(i));
+ var o = S3.get(i);
+ o !== void 0 && (cancelAnimationFrame(o), S3.delete(i));
+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = C3.get(i);
+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), C3.delete(i));
var f = () => {
- var e = T3.get(i);
+ var e = w3.get(i);
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
@@ -66884,7 +66886,7 @@ S3.startListening({
};
n && n(o, r);
} finally {
- C3.delete(i), w3.delete(i), T3.delete(i);
+ S3.delete(i), C3.delete(i), w3.delete(i);
}
};
if (!u) {
@@ -66893,18 +66895,18 @@ S3.startListening({
}
if (s === "raf") {
var p = requestAnimationFrame(f);
- C3.set(i, p);
+ S3.set(i, p);
} else if (typeof s == "number") {
- if (!w3.has(i)) {
+ if (!C3.has(i)) {
f();
var m = setTimeout(f, s);
- w3.set(i, m);
+ C3.set(i, m);
}
} else f();
}
}
});
-var WNe = $([
+var GNe = $([
$([vQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -66916,42 +66918,42 @@ var WNe = $([
if (i != null) return i(t);
}
}
-}), E3 = rV("touchMove"), D3 = LV(), O3 = null, k3 = null, A3 = null, j3 = null;
-D3.startListening({
- actionCreator: E3,
+}), T3 = iV("touchMove"), E3 = RV(), D3 = null, O3 = null, k3 = null, A3 = null;
+E3.startListening({
+ actionCreator: T3,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- j3 = b3(n);
+ A3 = y3(n);
var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");
- O3 !== null && (cancelAnimationFrame(O3), O3 = null), k3 !== null && (typeof r != "number" || !a) && (clearTimeout(k3), k3 = null), A3 = Array.from(n.touches).map((e) => n3({
+ D3 !== null && (cancelAnimationFrame(D3), D3 = null), O3 !== null && (typeof r != "number" || !a) && (clearTimeout(O3), O3 = null), k3 = Array.from(n.touches).map((e) => t3({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var o = () => {
- if (j3 != null) {
+ if (A3 != null) {
var e = t.getState(), n = nQ(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = A3?.[0];
+ var r = k3?.[0];
if (r == null) {
- O3 = null, k3 = null;
+ D3 = null, O3 = null;
return;
}
- var i = t3(e, r);
+ var i = e3(e, r);
i?.activeIndex != null && t.dispatch(cQ({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = j3.touches[0];
+ var a = A3.touches[0];
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
var s = o.getAttribute(SH), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = wQ(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = WNe(e, s, c);
+ var { dataKey: u } = l, d = GNe(e, s, c);
t.dispatch(oQ({
activeDataKey: u,
activeIndex: s,
@@ -66959,22 +66961,22 @@ D3.startListening({
activeGraphicalItemId: c
}));
}
- O3 = null, k3 = null;
+ D3 = null, O3 = null;
}
};
if (!a) {
o();
return;
}
- r === "raf" ? O3 = requestAnimationFrame(o) : typeof r == "number" && k3 === null && (o(), j3 = null, k3 = setTimeout(() => {
- j3 ? o() : (k3 = null, O3 = null);
+ r === "raf" ? D3 = requestAnimationFrame(o) : typeof r == "number" && O3 === null && (o(), A3 = null, O3 = setTimeout(() => {
+ A3 ? o() : (O3 = null, D3 = null);
}, r));
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var M3 = {
+var j3 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -66983,33 +66985,33 @@ var M3 = {
"scroll",
"wheel"
]
-}, N3 = fV({
+}, M3 = pV({
name: "eventSettings",
- initialState: M3,
+ initialState: j3,
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = yW(t.payload.throttledEvents));
} }
-}), { setEventSettings: GNe } = N3.actions, KNe = N3.reducer, qNe = Gz({
- brush: uAe,
- cartesianAxis: ZOe,
+}), { setEventSettings: KNe } = M3.actions, qNe = M3.reducer, JNe = Kz({
+ brush: dAe,
+ cartesianAxis: QOe,
chartData: TTe,
- errorBars: kje,
- eventSettings: KNe,
- graphicalItems: DOe,
- layout: Bve,
+ errorBars: Aje,
+ eventSettings: qNe,
+ graphicalItems: OOe,
+ layout: zve,
legend: EW,
options: bTe,
- polarAxis: _De,
- polarOptions: UNe,
- referenceElements: xAe,
- renderedTicks: YAe,
- rootProps: BNe,
+ polarAxis: vDe,
+ polarOptions: WNe,
+ referenceElements: SAe,
+ renderedTicks: XAe,
+ rootProps: VNe,
tooltip: owe,
zIndex: dTe
-}), JNe = function(e) {
+}), YNe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return fve({
- reducer: qNe,
+ return dve({
+ reducer: JNe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -67019,29 +67021,29 @@ var M3 = {
"production"
].includes("es6")
}).concat([
- i3.middleware,
- o3.middleware,
- g3.middleware,
- S3.middleware,
- D3.middleware
+ r3.middleware,
+ a3.middleware,
+ h3.middleware,
+ x3.middleware,
+ E3.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(uV({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(dV({ type: "raf" }));
},
devTools: _G.devToolsEnabled && {
- serialize: { replacer: zNe },
+ serialize: { replacer: BNe },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function P3(e) {
+function N3(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = LH(), a = (0, L.useRef)(null);
if (i) return n;
- a.current ??= JNe(t, r);
- var o = Ez;
+ a.current ??= YNe(t, r);
+ var o = Dz;
return /*#__PURE__*/ L.createElement(HW, {
context: o,
store: a.current
@@ -67049,10 +67051,10 @@ function P3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function YNe(e) {
- var { layout: t, margin: n } = e, r = Dz(), i = LH();
+function XNe(e) {
+ var { layout: t, margin: n } = e, r = Oz(), i = LH();
return (0, L.useEffect)(() => {
- i || (r(Lve(t)), r(Ive(n)));
+ i || (r(Ive(t)), r(Fve(n)));
}, [
r,
i,
@@ -67060,25 +67062,25 @@ function YNe(e) {
n
]), null;
}
-var F3 = /*#__PURE__*/ (0, L.memo)(YNe, GW);
+var P3 = /*#__PURE__*/ (0, L.memo)(XNe, GW);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function I3(e) {
- var t = Dz();
+function F3(e) {
+ var t = Oz();
return (0, L.useEffect)(() => {
- t(VNe(e));
+ t(HNe(e));
}, [t, e]), null;
}
-var L3 = /*#__PURE__*/ (0, L.memo)((e) => {
- var t = Dz();
+var I3 = /*#__PURE__*/ (0, L.memo)((e) => {
+ var t = Oz();
return (0, L.useEffect)(() => {
- t(GNe(e));
+ t(KNe(e));
}, [t, e]), null;
}, GW);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function R3(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, L.useRef)(null), i = Dz();
+function L3(e) {
+ var { zIndex: t, isPanorama: n } = e, r = (0, L.useRef)(null), i = Oz();
return (0, L.useLayoutEffect)(() => (r.current && i(lTe({
zIndex: t,
element: r.current,
@@ -67098,15 +67100,15 @@ function R3(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function z3(e) {
+function R3(e) {
var { children: t, isPanorama: n } = e, r = Q(eTe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, i.map((e) => /*#__PURE__*/ L.createElement(R3, {
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, i.map((e) => /*#__PURE__*/ L.createElement(L3, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ L.createElement(R3, {
+ })), t, a.map((e) => /*#__PURE__*/ L.createElement(L3, {
key: e,
zIndex: e,
isPanorama: n
@@ -67114,17 +67116,17 @@ function z3(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var XNe = ["children"];
-function ZNe(e, t) {
+var ZNe = ["children"];
+function QNe(e, t) {
if (e == null) return {};
- var n, r, i = QNe(e, t);
+ var n, r, i = $Ne(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 QNe(e, t) {
+function $Ne(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67133,55 +67135,55 @@ function QNe(e, t) {
}
return n;
}
-function B3() {
- return B3 = Object.assign ? Object.assign.bind() : function(e) {
+function z3() {
+ return z3 = 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;
- }, B3.apply(null, arguments);
+ }, z3.apply(null, arguments);
}
-var $Ne = {
+var ePe = {
width: "100%",
height: "100%",
display: "block"
-}, ePe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+}, tPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var n = mU(), r = hU(), i = xG();
- if (!HV(n) || !HV(r)) return null;
+ if (!UV(n) || !UV(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__*/ L.createElement(OL, B3({}, 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__*/ L.createElement(kL, z3({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: $Ne,
+ style: ePe,
ref: t
}), a);
-}), tPe = (e) => {
+}), nPe = (e) => {
var { children: t } = e, n = Q(zH);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ L.createElement(OL, {
+ return /*#__PURE__*/ L.createElement(kL, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, V3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { children: n } = e, r = ZNe(e, XNe);
- return LH() ? /*#__PURE__*/ L.createElement(tPe, null, /*#__PURE__*/ L.createElement(z3, { isPanorama: !0 }, n)) : /*#__PURE__*/ L.createElement(ePe, B3({ ref: t }, r), /*#__PURE__*/ L.createElement(z3, { isPanorama: !1 }, n));
+}, B3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { children: n } = e, r = QNe(e, ZNe);
+ return LH() ? /*#__PURE__*/ L.createElement(nPe, null, /*#__PURE__*/ L.createElement(R3, { isPanorama: !0 }, n)) : /*#__PURE__*/ L.createElement(tPe, z3({ ref: t }, r), /*#__PURE__*/ L.createElement(R3, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function nPe() {
- var e = Dz(), [t, n] = (0, L.useState)(null), r = Q(vH);
+function rPe() {
+ var e = Oz(), [t, n] = (0, L.useState)(null), r = Q(vH);
return (0, L.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- VV(n) && n !== r && e(zve(n));
+ HV(n) && n !== r && e(Rve(n));
}
}, [
t,
@@ -67191,7 +67193,7 @@ function nPe() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function H3(e, t) {
+function V3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67201,30 +67203,30 @@ function H3(e, t) {
}
return n;
}
-function rPe(e) {
+function iPe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? H3(Object(n), !0).forEach(function(t) {
- iPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H3(Object(n)).forEach(function(t) {
+ t % 2 ? V3(Object(n), !0).forEach(function(t) {
+ aPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iPe(e, t, n) {
- return (t = aPe(t)) in e ? Object.defineProperty(e, t, {
+function aPe(e, t, n) {
+ return (t = oPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aPe(e) {
- var t = oPe(e, "string");
+function oPe(e) {
+ var t = sPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oPe(e, t) {
+function sPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67234,17 +67236,17 @@ function oPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U3() {
- return U3 = Object.assign ? Object.assign.bind() : function(e) {
+function H3() {
+ return H3 = 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;
- }, U3.apply(null, arguments);
+ }, H3.apply(null, arguments);
}
-var sPe = () => (PTe(), null);
-function W3(e) {
+var cPe = () => (PTe(), null);
+function U3(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -67252,10 +67254,10 @@ function W3(e) {
}
return 0;
}
-var cPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+var lPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var n = (0, L.useRef)(null), [r, i] = (0, L.useState)({
- containerWidth: W3(e.style?.width),
- containerHeight: W3(e.style?.height)
+ containerWidth: U3(e.style?.width),
+ containerHeight: U3(e.style?.height)
}), a = (0, L.useCallback)((e, t) => {
i((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -67283,11 +67285,11 @@ var cPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
}, [a]), /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(CU, {
width: r.containerWidth,
height: r.containerHeight
- }), /*#__PURE__*/ L.createElement("div", U3({ ref: o }, e)));
-}), lPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ L.createElement("div", H3({ ref: o }, e)));
+}), uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, L.useState)({
- containerWidth: W3(n),
- containerHeight: W3(r)
+ containerWidth: U3(n),
+ containerHeight: U3(r)
}), o = (0, L.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -67305,29 +67307,29 @@ var cPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(CU, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ L.createElement("div", U3({ ref: s }, e)));
-}), uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ L.createElement("div", H3({ ref: s }, e)));
+}), dPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(CU, {
width: n,
height: r
- }), /*#__PURE__*/ L.createElement("div", U3({ ref: t }, e)));
-}), dPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ L.createElement("div", H3({ ref: t }, e)));
+}), fPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ L.createElement(lPe, U3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ L.createElement(uPe, U3({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ L.createElement(uPe, H3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ L.createElement(dPe, H3({}, e, {
width: n,
height: r,
ref: t
})) : /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(CU, {
width: n,
height: r
- }), /*#__PURE__*/ L.createElement("div", U3({ ref: t }, e)));
+ }), /*#__PURE__*/ L.createElement("div", H3({ ref: t }, e)));
});
-function fPe(e) {
- return e ? cPe : dPe;
+function pPe(e) {
+ return e ? lPe : fPe;
}
-var pPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, L.useRef)(null), x = Dz(), [S, C] = (0, L.useState)(null), [w, T] = (0, L.useState)(null), E = nPe(), D = sU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, L.useCallback)((e) => {
+var mPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, L.useRef)(null), x = Oz(), [S, C] = (0, L.useState)(null), [w, T] = (0, L.useState)(null), E = rPe(), D = sU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, L.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -67335,58 +67337,58 @@ var pPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
C,
T
]), j = (0, L.useCallback)((e) => {
- x(r3(e)), x(x3({
+ x(n3(e)), x(b3({
handler: a,
reactEvent: e
}));
}, [x, a]), M = (0, L.useCallback)((e) => {
- x(a3(e)), x(x3({
+ x(i3(e)), x(b3({
handler: l,
reactEvent: e
}));
}, [x, l]), N = (0, L.useCallback)((e) => {
- x(sQ()), x(x3({
+ x(sQ()), x(b3({
handler: u,
reactEvent: e
}));
}, [x, u]), ee = (0, L.useCallback)((e) => {
- x(a3(e)), x(x3({
+ x(i3(e)), x(b3({
handler: d,
reactEvent: e
}));
}, [x, d]), te = (0, L.useCallback)(() => {
- x(m3());
+ x(p3());
}, [x]), P = (0, L.useCallback)(() => {
- x(h3());
+ x(m3());
}, [x]), F = (0, L.useCallback)((e) => {
- x(p3(e.key));
+ x(f3(e.key));
}, [x]), ne = (0, L.useCallback)((e) => {
- x(x3({
+ x(b3({
handler: o,
reactEvent: e
}));
}, [x, o]), re = (0, L.useCallback)((e) => {
- x(x3({
+ x(b3({
handler: s,
reactEvent: e
}));
}, [x, s]), ie = (0, L.useCallback)((e) => {
- x(x3({
+ x(b3({
handler: c,
reactEvent: e
}));
}, [x, c]), ae = (0, L.useCallback)((e) => {
- x(x3({
+ x(b3({
handler: f,
reactEvent: e
}));
}, [x, f]), oe = (0, L.useCallback)((e) => {
- x(x3({
+ x(b3({
handler: h,
reactEvent: e
}));
}, [x, h]), se = (0, L.useCallback)((e) => {
- y && x(E3(e)), x(x3({
+ y && x(T3(e)), x(b3({
handler: m,
reactEvent: e
}));
@@ -67395,16 +67397,16 @@ var pPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
y,
m
]), ce = (0, L.useCallback)((e) => {
- x(x3({
+ x(b3({
handler: p,
reactEvent: e
}));
- }, [x, p]), le = fPe(v);
- return /*#__PURE__*/ L.createElement(l$.Provider, { value: S }, /*#__PURE__*/ L.createElement(jL.Provider, { value: w }, /*#__PURE__*/ L.createElement(le, {
+ }, [x, p]), le = pPe(v);
+ return /*#__PURE__*/ L.createElement(l$.Provider, { value: S }, /*#__PURE__*/ L.createElement(ML.Provider, { value: w }, /*#__PURE__*/ L.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Au("recharts-wrapper", r),
- style: rPe({
+ style: iPe({
position: "relative",
cursor: "default",
width: O,
@@ -67425,8 +67427,8 @@ var pPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ L.createElement(sPe, null), n)));
-}), mPe = [
+ }, /*#__PURE__*/ L.createElement(cPe, null), n)));
+}), hPe = [
"width",
"height",
"responsive",
@@ -67437,16 +67439,16 @@ var pPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
"title",
"desc"
];
-function hPe(e, t) {
+function gPe(e, t) {
if (e == null) return {};
- var n, r, i = gPe(e, t);
+ var n, r, i = _Pe(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 gPe(e, t) {
+function _Pe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67455,16 +67457,16 @@ function gPe(e, t) {
}
return n;
}
-var G3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = wL(hPe(e, mPe));
+var W3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = TL(gPe(e, hPe));
return c ? /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(CU, {
width: n,
height: r
- }), /*#__PURE__*/ L.createElement(V3, {
+ }), /*#__PURE__*/ L.createElement(B3, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ L.createElement(pPe, {
+ }, a)) : /*#__PURE__*/ L.createElement(mPe, {
className: o,
style: s,
width: n,
@@ -67481,25 +67483,25 @@ var G3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ L.createElement(V3, {
+ }, /*#__PURE__*/ L.createElement(B3, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ L.createElement(SAe, null, a)));
+ }, /*#__PURE__*/ L.createElement(CAe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function K3() {
- return K3 = Object.assign ? Object.assign.bind() : function(e) {
+function G3() {
+ return G3 = 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;
- }, K3.apply(null, arguments);
+ }, G3.apply(null, arguments);
}
-function q3(e, t) {
+function K3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67509,30 +67511,30 @@ function q3(e, t) {
}
return n;
}
-function _Pe(e) {
+function vPe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q3(Object(n), !0).forEach(function(t) {
- vPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q3(Object(n)).forEach(function(t) {
+ t % 2 ? K3(Object(n), !0).forEach(function(t) {
+ yPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vPe(e, t, n) {
- return (t = yPe(t)) in e ? Object.defineProperty(e, t, {
+function yPe(e, t, n) {
+ return (t = bPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yPe(e) {
- var t = bPe(e, "string");
+function bPe(e) {
+ var t = xPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bPe(e, t) {
+function xPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67542,7 +67544,7 @@ function bPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var xPe = _Pe({
+var SPe = vPe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -67557,24 +67559,24 @@ var xPe = _Pe({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, M3), J3 = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- var n = ez(e.categoricalChartProps, xPe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+}, j3), q3 = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ var n = tz(e.categoricalChartProps, SPe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ L.createElement(P3, {
+ return /*#__PURE__*/ L.createElement(N3, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ L.createElement(T2, { chartData: s.data }), /*#__PURE__*/ L.createElement(F3, {
+ }, /*#__PURE__*/ L.createElement(w2, { chartData: s.data }), /*#__PURE__*/ L.createElement(P3, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ L.createElement(L3, {
+ }), /*#__PURE__*/ L.createElement(I3, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ L.createElement(I3, {
+ }), /*#__PURE__*/ L.createElement(F3, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -67586,52 +67588,52 @@ var xPe = _Pe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ L.createElement(G3, K3({}, n, { ref: t })));
-}), SPe = ["axis"], CPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(J3, {
+ }), /*#__PURE__*/ L.createElement(W3, G3({}, n, { ref: t })));
+}), CPe = ["axis"], wPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(q3, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: SPe,
+ validateTooltipEventTypes: CPe,
tooltipPayloadSearcher: p$,
categoricalChartProps: e,
ref: t
-})), wPe = ["axis", "item"], Y3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(J3, {
+})), TPe = ["axis", "item"], J3 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(q3, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: wPe,
+ validateTooltipEventTypes: TPe,
tooltipPayloadSearcher: p$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function TPe(e) {
- var t = Dz();
+function EPe(e) {
+ var t = Oz();
return (0, L.useEffect)(() => {
- t(HNe(e));
+ t(UNe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var EPe = ["layout"];
-function X3() {
- return X3 = Object.assign ? Object.assign.bind() : function(e) {
+var DPe = ["layout"];
+function Y3() {
+ return Y3 = 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;
- }, X3.apply(null, arguments);
+ }, Y3.apply(null, arguments);
}
-function DPe(e, t) {
+function OPe(e, t) {
if (e == null) return {};
- var n, r, i = OPe(e, t);
+ var n, r, i = kPe(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 OPe(e, t) {
+function kPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67640,7 +67642,7 @@ function OPe(e, t) {
}
return n;
}
-function Z3(e, t) {
+function X3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67650,30 +67652,30 @@ function Z3(e, t) {
}
return n;
}
-function kPe(e) {
+function APe(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) {
- APe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z3(Object(n)).forEach(function(t) {
+ t % 2 ? X3(Object(n), !0).forEach(function(t) {
+ jPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function APe(e, t, n) {
- return (t = jPe(t)) in e ? Object.defineProperty(e, t, {
+function jPe(e, t, n) {
+ return (t = MPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jPe(e) {
- var t = MPe(e, "string");
+function MPe(e) {
+ var t = NPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MPe(e, t) {
+function NPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67683,7 +67685,7 @@ function MPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Q3 = kPe({
+var Z3 = APe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -67702,24 +67704,24 @@ var Q3 = kPe({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, M3), $3 = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- var n = ez(e.categoricalChartProps, Q3), { layout: r } = n, i = DPe(n, EPe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+}, j3), Q3 = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ var n = tz(e.categoricalChartProps, Z3), { layout: r } = n, i = OPe(n, DPe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
tooltipPayloadSearcher: c,
eventEmitter: void 0
};
- return /*#__PURE__*/ L.createElement(P3, {
+ return /*#__PURE__*/ L.createElement(N3, {
preloadedState: { options: l },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ L.createElement(T2, { chartData: n.data }), /*#__PURE__*/ L.createElement(F3, {
+ }, /*#__PURE__*/ L.createElement(w2, { chartData: n.data }), /*#__PURE__*/ L.createElement(P3, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ L.createElement(L3, {
+ }), /*#__PURE__*/ L.createElement(I3, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ L.createElement(I3, {
+ }), /*#__PURE__*/ L.createElement(F3, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -67731,18 +67733,18 @@ var Q3 = kPe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ L.createElement(TPe, {
+ }), /*#__PURE__*/ L.createElement(EPe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ L.createElement(G3, X3({}, i, { ref: t })));
+ }), /*#__PURE__*/ L.createElement(W3, Y3({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function e6(e, t) {
+function $3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67752,30 +67754,30 @@ function e6(e, t) {
}
return n;
}
-function t6(e) {
+function e6(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) {
- NPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6(Object(n)).forEach(function(t) {
+ t % 2 ? $3(Object(n), !0).forEach(function(t) {
+ PPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NPe(e, t, n) {
- return (t = PPe(t)) in e ? Object.defineProperty(e, t, {
+function PPe(e, t, n) {
+ return (t = FPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PPe(e) {
- var t = FPe(e, "string");
+function FPe(e) {
+ var t = IPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FPe(e, t) {
+function IPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67785,31 +67787,31 @@ function FPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var IPe = ["axis"], LPe = t6(t6({}, Q3), {}, {
+var LPe = ["axis"], RPe = e6(e6({}, Z3), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), RPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var n = ez(e, LPe);
- return /*#__PURE__*/ L.createElement($3, {
+}), zPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var n = tz(e, RPe);
+ return /*#__PURE__*/ L.createElement(Q3, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: IPe,
+ validateTooltipEventTypes: LPe,
tooltipPayloadSearcher: p$,
categoricalChartProps: n,
ref: t
});
-}), zPe = ["axis"], BPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(J3, {
+}), BPe = ["axis"], VPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(q3, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: zPe,
+ validateTooltipEventTypes: BPe,
tooltipPayloadSearcher: p$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function n6(e, t) {
+function t6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67819,30 +67821,30 @@ function n6(e, t) {
}
return n;
}
-function r6(e) {
+function n6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? n6(Object(n), !0).forEach(function(t) {
- VPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n6(Object(n)).forEach(function(t) {
+ t % 2 ? t6(Object(n), !0).forEach(function(t) {
+ HPe(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 VPe(e, t, n) {
- return (t = HPe(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 HPe(e) {
- var t = UPe(e, "string");
+function UPe(e) {
+ var t = WPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UPe(e, t) {
+function WPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67852,16 +67854,16 @@ function UPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var WPe = ["axis", "item"], GPe = r6(r6({}, Q3), {}, {
+var GPe = ["axis", "item"], KPe = n6(n6({}, Z3), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), KPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var n = ez(e, GPe);
- return /*#__PURE__*/ L.createElement($3, {
+}), qPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var n = tz(e, KPe);
+ return /*#__PURE__*/ L.createElement(Q3, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: WPe,
+ validateTooltipEventTypes: GPe,
tooltipPayloadSearcher: p$,
categoricalChartProps: n,
ref: t
@@ -67869,38 +67871,38 @@ var WPe = ["axis", "item"], GPe = r6(r6({}, Q3), {}, {
});
//#endregion
//#region src/react/charts/cn.ts
-function i6(...e) {
+function r6(...e) {
return Pi(Au(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var a6 = {
+var i6 = {
light: "",
dark: ".dark"
-}, o6 = Object.keys(a6);
-function qPe(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !o6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${o6.join(", ")}). Received empty object or invalid keys.`);
+}, a6 = Object.keys(i6);
+function JPe(e) {
+ for (let [t, n] of Object.entries(e)) if (n.colors && !a6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${a6.join(", ")}). Received empty object or invalid keys.`);
}
-var s6 = L.createContext(null);
-function c6() {
- let e = L.useContext(s6);
+var o6 = L.createContext(null);
+function s6() {
+ let e = L.useContext(o6);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function l6({ id: e, config: t, initialDimension: n = {
+function c6({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = L.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return qPe(t), /* @__PURE__ */ (0, R.jsx)(s6.Provider, {
+ return JPe(t), /* @__PURE__ */ (0, R.jsx)(o6.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: i6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: r6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, R.jsx)(d6, {
+ /* @__PURE__ */ (0, R.jsx)(u6, {
id: c,
config: t
}),
@@ -67914,7 +67916,7 @@ function l6({ id: e, config: t, initialDimension: n = {
})
});
}
-function u6({ isLoading: e }) {
+function l6({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -67923,7 +67925,7 @@ function u6({ isLoading: e }) {
})
}) : null;
}
-function JPe(e, t) {
+function YPe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -67933,46 +67935,46 @@ function JPe(e, t) {
}
return r;
}
-var d6 = ({ id: e, config: t }) => {
+var u6 = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
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 ? [] : JPe(r, p6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(a6).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : YPe(r, f6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(i6).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, R.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function f6(e, t, n) {
+function d6(e, t, n) {
if (typeof t != "object" || !t) return;
let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
}
-function p6(e) {
+function f6(e) {
if (!e.colors) return 1;
- let t = o6.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = a6.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var YPe = (e = 10, t = 0, n = 70) => {
+var XPe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, XPe = {
+}, ZPe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, ZPe = {
+}, QPe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function m6({ 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 } = c6(), g = L.useMemo(() => {
+function p6({ 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 } = s6(), g = L.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = f6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = d6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("font-medium", c),
+ className: r6("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("font-medium", c),
+ className: r6("font-medium", c),
children: a
}) : null;
}, [
@@ -67987,23 +67989,23 @@ function m6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, R.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: i6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", XPe[p], ZPe[m], n),
+ className: r6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", ZPe[p], QPe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, R.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = f6(h, e, n), o = i ? p6(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = d6(h, e, n), o = i ? f6(i) : 1;
return /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ className: r6("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, R.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("shrink-0 rounded-[2px]", {
+ className: r6("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: QPe(n, o)
+ style: $Pe(n, o)
}), /* @__PURE__ */ (0, R.jsxs)("div", {
- className: i6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: r6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, R.jsx)("span", {
@@ -68020,27 +68022,27 @@ function m6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function QPe(e, t) {
+function $Pe(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 h6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, R.jsx)(HTe, {
+var m6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, R.jsx)(HTe, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function g6({ 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 } = c6();
+function h6({ 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 } = s6();
return r?.length ? /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("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),
+ className: r6("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),
children: r.filter((e) => e.type !== "none").map((e) => {
- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = f6(u, e, r), a = o === null || o === r, d = i ? p6(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = d6(u, e, r), a = o === null || o === r, d = i ? f6(i) : 1;
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: i6("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ className: r6("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, R.jsx)(i.icon, {}) : /* @__PURE__ */ (0, R.jsx)($Pe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, R.jsx)(i.icon, {}) : /* @__PURE__ */ (0, R.jsx)(eFe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -68049,8 +68051,8 @@ function g6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function $Pe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = eFe(t, n), i = tFe(t, n);
+function eFe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = tFe(t, n), i = nFe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, R.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -68082,10 +68084,10 @@ function $Pe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function eFe(e, t) {
+function tFe(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 tFe(e, t) {
+function nFe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -68100,12 +68102,12 @@ function tFe(e, t) {
...n
};
}
-var _6 = lG, v6 = () => null, y6 = {
+var g6 = lG, _6 = () => null, v6 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function nFe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function rFe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = L.useRef(null), [a, o] = L.useState(!1), s = (0, L.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, L.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -68151,7 +68153,7 @@ function nFe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function rFe({ 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 iFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = L.useRef(null), S = L.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = L.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = L.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -68185,7 +68187,7 @@ function rFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = nFe({
+ }, [C, v]), { isDragging: A, bind: j } = rFe({
range: E,
totalPoints: C,
containerRef: x,
@@ -68210,16 +68212,16 @@ function rFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
A
]);
- let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = oI(N), P = oI(ee);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = aI(N), P = aI(ee);
te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let F = uI(te, y6), ne = uI(P, y6), re = cI(F, (e) => `${e}%`), ie = cI(ne, (e) => `${e}%`), ae = cI(F, (e) => `${e}%`), oe = cI(ne, (e) => `${Math.max(0, 100 - e)}%`), se = oI(`${Math.max(0, ee - N)}%`), ce = (0, L.useCallback)(() => {
+ let F = lI(te, v6), ne = lI(P, v6), re = sI(F, (e) => `${e}%`), ie = sI(ne, (e) => `${e}%`), ae = sI(F, (e) => `${e}%`), oe = sI(ne, (e) => `${Math.max(0, 100 - e)}%`), se = aI(`${Math.max(0, ee - N)}%`), ce = (0, L.useCallback)(() => {
se.set(`${Math.max(0, ne.get() - F.get())}%`);
}, [
F,
ne,
se
]);
- aI(F, "change", ce), aI(ne, "change", ce);
+ iI(F, "change", ce), iI(ne, "change", ce);
let le = (0, L.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -68232,16 +68234,16 @@ function rFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return C === 0 ? null : /* @__PURE__ */ (0, R.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : w,
- className: i6("group relative select-none", o),
+ className: r6("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, R.jsx)(d6, {
+ !b && /* @__PURE__ */ (0, R.jsx)(u6, {
id: w,
config: t
}),
/* @__PURE__ */ (0, R.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, R.jsx)(iFe, {
+ children: /* @__PURE__ */ (0, R.jsx)(aFe, {
data: e,
keys: S,
chartConfig: t,
@@ -68254,15 +68256,15 @@ function rFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, R.jsx)(dI.div, {
+ /* @__PURE__ */ (0, R.jsx)(uI.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: ae }
}),
- /* @__PURE__ */ (0, R.jsx)(dI.div, {
+ /* @__PURE__ */ (0, R.jsx)(uI.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: oe }
}),
- /* @__PURE__ */ (0, R.jsx)(dI.div, {
+ /* @__PURE__ */ (0, R.jsx)(uI.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: re,
@@ -68270,13 +68272,13 @@ function rFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...j("middle")
}),
- /* @__PURE__ */ (0, R.jsx)(b6, {
+ /* @__PURE__ */ (0, R.jsx)(y6, {
side: "left",
position: re,
label: y ? le(M.startIndex) : void 0,
bind: j("left")
}),
- /* @__PURE__ */ (0, R.jsx)(b6, {
+ /* @__PURE__ */ (0, R.jsx)(y6, {
side: "right",
position: ie,
label: y ? le(M.endIndex) : void 0,
@@ -68285,16 +68287,16 @@ function rFe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function b6({ side: e, position: t, label: n, bind: r }) {
+function y6({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, R.jsxs)(dI.div, {
+ return /* @__PURE__ */ (0, R.jsxs)(uI.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ className: r6("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
...r,
children: /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ className: r6("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -68305,15 +68307,15 @@ function b6({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, R.jsx)("div", {
- className: i6("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ className: r6("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
children: n
})]
});
}
-function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function aFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = L.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: p6(t)
+ colorsCount: f6(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -68370,7 +68372,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, R.jsx)(lU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, R.jsxs)(CPe, {
+ children: /* @__PURE__ */ (0, R.jsxs)(wPe, {
data: e,
margin: {
top: 4,
@@ -68378,7 +68380,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(p4, {
+ children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(f4, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -68397,7 +68399,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, R.jsx)(lU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, R.jsxs)(Y3, {
+ children: /* @__PURE__ */ (0, R.jsxs)(J3, {
data: e,
margin: {
top: 2,
@@ -68407,7 +68409,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(V4, {
+ children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(B4, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -68426,7 +68428,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, R.jsx)(lU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, R.jsxs)(BPe, {
+ children: /* @__PURE__ */ (0, R.jsxs)(VPe, {
data: e,
margin: {
top: 4,
@@ -68434,7 +68436,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(O4, {
+ children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(D4, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -68452,7 +68454,7 @@ function iFe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function aFe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function oFe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = L.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -68476,7 +68478,7 @@ function aFe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var oFe = {
+var sFe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, R.jsx)("pattern", {
id: e,
x: "0",
@@ -68648,8 +68650,8 @@ var oFe = {
})
})
};
-function x6({ variant: e }) {
- let t = (0, L.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = oFe[e];
+function b6({ variant: e }) {
+ let t = (0, L.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = sFe[e];
return /* @__PURE__ */ (0, R.jsxs)(a$, {
zIndex: -1,
children: [/* @__PURE__ */ (0, R.jsxs)("defs", { children: [
@@ -68680,20 +68682,20 @@ function x6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var S6 = 2, sFe = "loading", cFe = 2e3, lFe = "evil-stacked", uFe = .5, dFe = .05, fFe = [
+var x6 = 2, cFe = "loading", lFe = 2e3, uFe = "evil-stacked", dFe = .5, fFe = .05, pFe = [
0,
.7,
.5,
1
-], C6 = (0, L.createContext)(null);
-function w6() {
- let e = (0, L.use)(C6);
+], S6 = (0, L.createContext)(null);
+function C6() {
+ let e = (0, L.use)(S6);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function T6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = S6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, L.useId)().replace(/:/g, ""), [v] = (0, L.useState)(() => Date.now()), [y, b] = (0, L.useState)(f), [x, S] = (0, L.useState)(!1), { loadingData: C, onShimmerExit: w } = jFe(m, h), { visibleData: T, brushProps: E } = aFe({ data: t }), D = (0, L.useMemo)(() => {
- let e = L.Children.toArray(n), t = e.find((e) => (0, L.isValidElement)(e) && e.type === v6), r = (0, L.isValidElement)(t) ? t.props : {};
+function w6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = x6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+ let _ = (0, L.useId)().replace(/:/g, ""), [v] = (0, L.useState)(() => Date.now()), [y, b] = (0, L.useState)(f), [x, S] = (0, L.useState)(!1), { loadingData: C, onShimmerExit: w } = MFe(m, h), { visibleData: T, brushProps: E } = oFe({ data: t }), D = (0, L.useMemo)(() => {
+ let e = L.Children.toArray(n), t = e.find((e) => (0, L.isValidElement)(e) && e.type === _6), r = (0, L.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, L.isValidElement)(t),
@@ -68701,7 +68703,7 @@ function T6({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, L.isValidElement)(e) && e.type === v6))
+ chartChildren: e.filter((e) => !((0, L.isValidElement)(e) && e.type === _6))
};
}, [n]), O = D.slot.present, k = a === "stacked" || a === "percent", A = o === "horizontal", j = O && !m ? T : t, M = (0, L.useCallback)((e) => {
b(e), p?.(e);
@@ -68730,12 +68732,12 @@ function T6({ config: e, data: t, children: n, className: r, chartProps: i, stac
M,
x
]);
- return /* @__PURE__ */ (0, R.jsx)(C6, {
+ return /* @__PURE__ */ (0, R.jsx)(S6, {
value: N,
- children: /* @__PURE__ */ (0, R.jsxs)(l6, {
+ children: /* @__PURE__ */ (0, R.jsxs)(c6, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, R.jsx)(rFe, {
+ footer: O && !m && /* @__PURE__ */ (0, R.jsx)(iFe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -68751,7 +68753,7 @@ function T6({ config: e, data: t, children: n, className: r, chartProps: i, stac
E.onChange(e), D.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, R.jsx)(u6, { isLoading: m }), /* @__PURE__ */ (0, R.jsxs)(Y3, {
+ children: [/* @__PURE__ */ (0, R.jsx)(l6, { isLoading: m }), /* @__PURE__ */ (0, R.jsxs)(J3, {
id: _,
accessibilityLayer: !0,
layout: A ? "vertical" : "horizontal",
@@ -68763,10 +68765,10 @@ function T6({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => S(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, R.jsx)(x6, { variant: d }),
- /* @__PURE__ */ (0, R.jsx)(N2, { color: "white" }),
+ d && /* @__PURE__ */ (0, R.jsx)(b6, { variant: d }),
+ /* @__PURE__ */ (0, R.jsx)(M2, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, R.jsx)(MFe, {
+ m && /* @__PURE__ */ (0, R.jsx)(NFe, {
chartId: _,
onShimmerExit: w
})
@@ -68775,8 +68777,8 @@ function T6({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function pFe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = w6(), b = (0, L.useId)().replace(/:/g, ""), x = vfe();
+function mFe({ 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 } = C6(), b = (0, L.useId)().replace(/:/g, ""), x = yfe();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -68796,65 +68798,65 @@ function pFe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(C ? null : e);
}
};
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(V4, {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(B4, {
dataKey: e,
- stackId: u ? lFe : void 0,
+ stackId: u ? uFe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, R.jsx)(E6, {
+ shape: (e) => /* @__PURE__ */ (0, R.jsx)(T6, {
...e,
...T,
animationType: w
}),
- activeBar: (e) => /* @__PURE__ */ (0, R.jsx)(E6, {
+ activeBar: (e) => /* @__PURE__ */ (0, R.jsx)(T6, {
...e,
...T,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, R.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, R.jsx)(SFe, {
+ /* @__PURE__ */ (0, R.jsx)(CFe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, R.jsx)(CFe, {
+ t === "hatched" && /* @__PURE__ */ (0, R.jsx)(wFe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, R.jsx)(TFe, {
+ t === "duotone" && /* @__PURE__ */ (0, R.jsx)(EFe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, R.jsx)(EFe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, R.jsx)(DFe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, R.jsx)(DFe, {
+ t === "gradient" && /* @__PURE__ */ (0, R.jsx)(OFe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, R.jsx)(OFe, {
+ t === "stripped" && /* @__PURE__ */ (0, R.jsx)(kFe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, R.jsx)(wFe, {
+ s && /* @__PURE__ */ (0, R.jsx)(TFe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, R.jsx)(kFe, {
+ o && /* @__PURE__ */ (0, R.jsx)(AFe, {
id: b,
dataKey: e
})
] })] });
}
-function mFe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = w6();
- return o ? null : /* @__PURE__ */ (0, R.jsx)(Y4, {
+function hFe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+ let { isLoading: o, isHorizontal: s } = C6();
+ return o ? null : /* @__PURE__ */ (0, R.jsx)(J4, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -68863,9 +68865,9 @@ function mFe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function hFe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = w6();
- return s ? null : /* @__PURE__ */ (0, R.jsx)(e3, {
+function gFe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+ let { isLoading: s, isHorizontal: c } = C6();
+ return s ? null : /* @__PURE__ */ (0, R.jsx)($4, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -68875,33 +68877,33 @@ function hFe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function gFe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = w6();
- return /* @__PURE__ */ (0, R.jsx)(X2, {
+function _Fe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = C6();
+ return /* @__PURE__ */ (0, R.jsx)(Y2, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function _Fe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = w6();
- return r ? null : /* @__PURE__ */ (0, R.jsx)(h6, {
+function vFe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = C6();
+ return r ? null : /* @__PURE__ */ (0, R.jsx)(m6, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, R.jsx)(m6, {
+ content: /* @__PURE__ */ (0, R.jsx)(p6, {
selected: i,
roundness: t,
variant: e
})
});
}
-function vFe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = w6();
- return /* @__PURE__ */ (0, R.jsx)(_6, {
+function yFe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = C6();
+ return /* @__PURE__ */ (0, R.jsx)(g6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, R.jsx)(g6, {
+ content: /* @__PURE__ */ (0, R.jsx)(h6, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -68909,8 +68911,8 @@ function vFe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var E6 = (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 = yFe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : bFe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = xFe({
+var T6 = (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 = bFe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : xFe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = SFe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -68947,7 +68949,7 @@ var E6 = (e) => {
children: [/* @__PURE__ */ (0, R.jsx)(iK, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, R.jsx)(dI.g, {
+ }), w ? /* @__PURE__ */ (0, R.jsx)(uI.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -68955,7 +68957,7 @@ var E6 = (e) => {
children: A
}) : A]
});
-}, yFe = (e, t, n, r, i) => {
+}, bFe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -68970,11 +68972,11 @@ var E6 = (e) => {
break;
default: s = t;
}
- let c = s * dFe * 1e3, l = uFe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * fFe * 1e3, l = dFe * 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: fFe,
+ ease: pFe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -68988,7 +68990,7 @@ var E6 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, bFe = (e, t, n) => {
+}, xFe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -68997,11 +68999,11 @@ var E6 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, xFe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, SFe = ({ 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;
-}, SFe = ({ id: e, dataKey: t, config: n }) => {
- let r = p6(n[t] ?? {});
+}, CFe = ({ id: e, dataKey: t, config: n }) => {
+ let r = f6(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -69022,7 +69024,7 @@ var E6 = (e) => {
}, i);
})
});
-}, CFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+}, wFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -69063,7 +69065,7 @@ var E6 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), wFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+] }), TFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -69104,8 +69106,8 @@ var E6 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), TFe = ({ id: e, dataKey: t, config: n }) => {
- let r = p6(n[t] ?? {});
+] }), EFe = ({ id: e, dataKey: t, config: n }) => {
+ let r = f6(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -69172,8 +69174,8 @@ var E6 = (e) => {
})
})
] });
-}, EFe = ({ id: e, dataKey: t, config: n }) => {
- let r = p6(n[t] ?? {});
+}, DFe = ({ id: e, dataKey: t, config: n }) => {
+ let r = f6(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -69240,7 +69242,7 @@ var E6 = (e) => {
})
})
] });
-}, DFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+}, OFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -69277,7 +69279,7 @@ var E6 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), OFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+] }), kFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -69314,7 +69316,7 @@ var E6 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), kFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
+] }), AFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -69334,35 +69336,35 @@ var E6 = (e) => {
}),
/* @__PURE__ */ (0, R.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), AFe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), jFe = (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 jFe(e, t = 12) {
+function MFe(e, t = 12) {
let [n, r] = (0, L.useState)(!1), i = (0, L.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, L.useMemo)(() => YPe(t, 20, 80), [t, n]),
+ loadingData: (0, L.useMemo)(() => XPe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var MFe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(V4, {
- dataKey: sFe,
+var NFe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(B4, {
+ dataKey: cFe,
fill: "currentColor",
fillOpacity: .15,
- radius: S6,
+ radius: x6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(NFe, {
+}), /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(PFe, {
chartId: e,
onShimmerExit: t
-}) })] }), NFe = ({ chartId: e, onShimmerExit: t }) => {
- let n = AFe(), r = (0, L.useRef)(-1);
+}) })] }), PFe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = jFe(), r = (0, L.useRef)(-1);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -69385,7 +69387,7 @@ var MFe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, R.jsx)(dI.rect, {
+ children: /* @__PURE__ */ (0, R.jsx)(uI.rect, {
y: "0",
width: "1",
height: "1",
@@ -69393,7 +69395,7 @@ var MFe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: cFe / 1e3,
+ duration: lFe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -69415,11 +69417,11 @@ var MFe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fr
})
] });
};
-T6.Bar = pFe, T6.XAxis = mFe, T6.YAxis = hFe, T6.Grid = gFe, T6.Tooltip = _Fe, T6.Legend = vFe, T6.Brush = v6;
+w6.Bar = mFe, w6.XAxis = hFe, w6.YAxis = gFe, w6.Grid = _Fe, w6.Tooltip = vFe, w6.Legend = yFe, w6.Brush = _6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var D6 = `${Xi({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function O6({ title: e, figure: t, note: n }) {
+var E6 = `${Xi({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function D6({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, R.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, R.jsxs)("span", {
@@ -69437,24 +69439,24 @@ function O6({ title: e, figure: t, note: n }) {
})]
});
}
-var k6 = [
+var O6 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], A6 = (e) => ({ light: [e] }), j6 = (e) => `s${e}`;
-function PFe(e) {
- return Object.fromEntries(e.map((e, t) => [j6(t), {
+], k6 = (e) => ({ light: [e] }), A6 = (e) => `s${e}`;
+function FFe(e) {
+ return Object.fromEntries(e.map((e, t) => [A6(t), {
label: e,
- colors: A6(k6[t % k6.length])
+ colors: k6(O6[t % O6.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var M6 = "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 N6({ swatch: e, name: t, value: n }) {
+var j6 = "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 M6({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -69469,33 +69471,33 @@ function N6({ swatch: e, name: t, value: n }) {
})]
});
}
-var P6 = "size-2.5 shrink-0 rounded-xs";
-function FFe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = c6(), s = (t ?? []).filter((e) => e.type !== "none");
+var N6 = "size-2.5 shrink-0 rounded-xs";
+function IFe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+ let { config: o } = s6(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, R.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: M6,
+ className: j6,
children: [c ? /* @__PURE__ */ (0, R.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 = f6(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, R.jsx)(N6, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = d6(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, R.jsx)(M6, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, R.jsx)("i", {
- className: P6,
+ className: N6,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function F6({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, R.jsx)(h6, {
+function P6({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, R.jsx)(m6, {
cursor: !1,
- content: /* @__PURE__ */ (0, R.jsx)(FFe, {
+ content: /* @__PURE__ */ (0, R.jsx)(IFe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -69504,12 +69506,12 @@ function F6({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var I6 = [0, (e) => e * 1.2], L6 = (e) => ({
+var F6 = [0, (e) => e * 1.2], I6 = (e) => ({
position: e,
className: "fill-text-secondary",
formatter: (e) => Number(e).toLocaleString()
});
-function R6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
+function L6({ 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
@@ -69517,53 +69519,53 @@ function R6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vert
if (!s) return null;
let c = a === "horizontal";
return /* @__PURE__ */ (0, R.jsxs)("section", {
- className: D6,
+ className: E6,
"aria-label": e,
- children: [/* @__PURE__ */ (0, R.jsx)(O6, {
+ children: [/* @__PURE__ */ (0, R.jsx)(D6, {
title: e,
figure: s.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, R.jsxs)(T6, {
+ }), /* @__PURE__ */ (0, R.jsxs)(w6, {
data: o,
config: { value: {
label: n,
- colors: A6(i)
+ colors: k6(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, R.jsx)(T6.Grid, {}),
- c ? /* @__PURE__ */ (0, R.jsx)(T6.YAxis, {
+ /* @__PURE__ */ (0, R.jsx)(w6.Grid, {}),
+ c ? /* @__PURE__ */ (0, R.jsx)(w6.YAxis, {
dataKey: "name",
interval: 0
- }) : /* @__PURE__ */ (0, R.jsx)(T6.XAxis, {
+ }) : /* @__PURE__ */ (0, R.jsx)(w6.XAxis, {
dataKey: "name",
interval: 0
}),
- c ? /* @__PURE__ */ (0, R.jsx)(T6.XAxis, {
+ c ? /* @__PURE__ */ (0, R.jsx)(w6.XAxis, {
hide: !0,
- domain: I6
- }) : /* @__PURE__ */ (0, R.jsx)(T6.YAxis, {
+ domain: F6
+ }) : /* @__PURE__ */ (0, R.jsx)(w6.YAxis, {
hide: !0,
- domain: I6
+ domain: F6
}),
- /* @__PURE__ */ (0, R.jsx)(T6.Bar, {
+ /* @__PURE__ */ (0, R.jsx)(w6.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: L6(c ? "right" : "top")
+ label: I6(c ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, R.jsx)(F6, {})
+ /* @__PURE__ */ (0, R.jsx)(P6, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var z6 = [
+var R6 = [
"周一",
"周二",
"周三",
@@ -69571,8 +69573,8 @@ var z6 = [
"周五",
"周六",
"周日"
-], B6 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function IFe(e) {
+], z6 = (e, t) => e ? Math.max(.12, e / t) : 0;
+function LFe(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;
@@ -69582,14 +69584,14 @@ function IFe(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${z6[t]} ${n}:00`,
+ label: `${R6[t]} ${n}:00`,
count: e,
- share: B6(e, r)
+ share: z6(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function LFe(e) {
+function RFe(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,
@@ -69607,7 +69609,7 @@ function LFe(e) {
key: r,
label: r,
count: s,
- share: B6(s, o)
+ share: z6(s, o)
};
});
return {
@@ -69619,7 +69621,7 @@ function LFe(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var V6 = 14, H6 = 17, U6 = {
+var B6 = 14, V6 = 17, H6 = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -69628,42 +69630,42 @@ var V6 = 14, H6 = 17, U6 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, RFe = {
+}, zFe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function zFe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function BFe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${M6} ${RFe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${j6} ${zFe[a]}`,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, R.jsx)(N6, {
+ }), /* @__PURE__ */ (0, R.jsx)(M6, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, R.jsx)("i", { className: `${P6} ${U6[n].dot}` })
+ swatch: /* @__PURE__ */ (0, R.jsx)("i", { className: `${N6} ${H6[n].dot}` })
})]
});
}
-function W6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, L.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * H6, m = f + a * H6, h = (e) => ({
- x: d + e % i * H6,
- y: f + Math.floor(e / i) * H6
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + V6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function U6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, L.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * V6, m = f + a * V6, h = (e) => ({
+ x: d + e % i * V6,
+ y: f + Math.floor(e / i) * V6
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + B6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + V6 / 2,
- end: _.x + V6
+ center: _.x + B6 / 2,
+ end: _.x + B6
}[y] : 0;
return /* @__PURE__ */ (0, R.jsxs)("section", {
- className: D6,
+ className: E6,
children: [
- /* @__PURE__ */ (0, R.jsx)(O6, {
+ /* @__PURE__ */ (0, R.jsx)(D6, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -69686,19 +69688,19 @@ function W6({ 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: V6,
- height: V6,
+ width: B6,
+ height: B6,
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 ${U6[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 ${H6[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, R.jsx)(zFe, {
+ }), g && _ ? /* @__PURE__ */ (0, R.jsx)(BFe, {
cell: g,
series: t.series,
tone: c,
@@ -69714,24 +69716,24 @@ function W6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var BFe = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [z6.map((e, t) => /* @__PURE__ */ (0, R.jsx)("text", {
+var VFe = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [R6.map((e, t) => /* @__PURE__ */ (0, R.jsx)("text", {
x: 0,
- y: 18 + t * H6 + 7,
+ y: 18 + t * V6 + 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, R.jsx)("text", {
- x: 30 + t * H6,
+ x: 30 + t * V6,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function G6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = IFe(e), s = LFe(e);
+function W6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = LFe(e), s = RFe(e);
return s.cells.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, R.jsx)(W6, {
+ children: [/* @__PURE__ */ (0, R.jsx)(U6, {
title: t,
words: r,
tone: i,
@@ -69739,9 +69741,9 @@ function G6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: BFe,
+ axis: VFe,
footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, R.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, R.jsx)(W6, {
+ }), /* @__PURE__ */ (0, R.jsx)(U6, {
title: n,
words: r,
tone: i,
@@ -69752,7 +69754,7 @@ function G6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, R.jsx)("span", { children: s.end })] })
})]
}) : a ? /* @__PURE__ */ (0, R.jsxs)("section", {
- className: D6,
+ className: E6,
children: [/* @__PURE__ */ (0, R.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: t
@@ -69764,7 +69766,7 @@ function G6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function K6({ children: e, className: t = "", previewCount: n = 10 }) {
+function G6({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, L.useId)(), i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(!1), l = L.Children.toArray(e), u = l.length > n;
(0, L.useLayoutEffect)(() => {
let e = i.current;
@@ -69811,14 +69813,14 @@ function K6({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var VFe = "30%", HFe = "100%", q6 = 5, J6 = 14, UFe = 5, Y6 = 1500, X6 = (0, L.createContext)(null);
-function Z6() {
- let e = (0, L.use)(X6);
+var HFe = "30%", UFe = "100%", K6 = 5, q6 = 14, WFe = 5, J6 = 1500, Y6 = (0, L.createContext)(null);
+function X6() {
+ let e = (0, L.use)(Y6);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function Q6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = VFe, outerRadius: l = HFe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, L.useId)().replace(/:/g, ""), [h, g] = (0, L.useState)(u), _ = XFe(f), v = qFe(o), y = (0, L.useCallback)((e, t) => {
+function Z6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = HFe, outerRadius: l = UFe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, L.useId)().replace(/:/g, ""), [h, g] = (0, L.useState)(u), _ = ZFe(f), v = JFe(o), y = (0, L.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -69845,12 +69847,12 @@ function Q6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, R.jsx)(X6, {
+ return /* @__PURE__ */ (0, R.jsx)(Y6, {
value: x,
- children: /* @__PURE__ */ (0, R.jsxs)(l6, {
+ children: /* @__PURE__ */ (0, R.jsxs)(c6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, R.jsx)(u6, { isLoading: f }), /* @__PURE__ */ (0, R.jsxs)(KPe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(l6, { isLoading: f }), /* @__PURE__ */ (0, R.jsxs)(qPe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -69861,16 +69863,16 @@ function Q6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, R.jsx)(t0, {
+ s != null && s > 0 && /* @__PURE__ */ (0, R.jsx)(e0, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, R.jsx)(x6, { variant: p }),
+ p && /* @__PURE__ */ (0, R.jsx)(b6, { variant: p }),
r,
- f && /* @__PURE__ */ (0, R.jsx)(ZFe, {}),
- /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(JFe, {
+ f && /* @__PURE__ */ (0, R.jsx)(QFe, {}),
+ /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(YFe, {
config: e,
chartId: m
}) })
@@ -69879,9 +69881,9 @@ function Q6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function WFe({ dataKey: e, cornerRadius: t = q6, barSize: n = J6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = Z6();
- return s ? null : /* @__PURE__ */ (0, R.jsx)(w2, {
+function GFe({ dataKey: e, cornerRadius: t = K6, barSize: n = q6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = X6();
+ return s ? null : /* @__PURE__ */ (0, R.jsx)(C2, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -69904,12 +69906,12 @@ function WFe({ dataKey: e, cornerRadius: t = q6, barSize: n = J6, showBackground
...a
});
}
-function GFe({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = Z6();
- return i ? null : /* @__PURE__ */ (0, R.jsx)(h6, {
+function KFe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = X6();
+ return i ? null : /* @__PURE__ */ (0, R.jsx)(m6, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, R.jsx)(m6, {
+ content: /* @__PURE__ */ (0, R.jsx)(p6, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -69917,12 +69919,12 @@ function GFe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function KFe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = Z6();
- return a ? null : /* @__PURE__ */ (0, R.jsx)(_6, {
+function qFe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = X6();
+ return a ? null : /* @__PURE__ */ (0, R.jsx)(g6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, R.jsx)(g6, {
+ content: /* @__PURE__ */ (0, R.jsx)(h6, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -69931,7 +69933,7 @@ function KFe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function qFe(e) {
+function JFe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -69947,8 +69949,8 @@ function qFe(e) {
};
}
}
-var JFe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = p6(n);
+var YFe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: Object.entries(e).map(([e, n]) => {
+ let r = f6(n);
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -69970,29 +69972,29 @@ var JFe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, R.jsx)(R.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function YFe() {
- return Array.from({ length: UFe }, (e, t) => ({
+function XFe() {
+ return Array.from({ length: WFe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function XFe(e) {
+function ZFe(e) {
let [t, n] = (0, L.useState)(0);
return (0, L.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, Y6);
+ }, J6);
return () => clearInterval(t);
- }, [e]), (0, L.useMemo)(() => YFe(), [t]);
+ }, [e]), (0, L.useMemo)(() => XFe(), [t]);
}
-var ZFe = () => /* @__PURE__ */ (0, R.jsx)(w2, {
+var QFe = () => /* @__PURE__ */ (0, R.jsx)(C2, {
dataKey: "value",
- cornerRadius: q6,
- barSize: J6,
+ cornerRadius: K6,
+ barSize: q6,
background: !0,
isAnimationActive: !0,
- animationDuration: Y6,
+ animationDuration: J6,
animationEasing: "ease-in-out",
shape: (e) => /* @__PURE__ */ (0, R.jsx)(hK, {
...e,
@@ -70000,17 +70002,17 @@ var ZFe = () => /* @__PURE__ */ (0, R.jsx)(w2, {
fillOpacity: .25
})
});
-Q6.RadialBar = WFe, Q6.Tooltip = GFe, Q6.Legend = KFe;
+Z6.RadialBar = GFe, Z6.Tooltip = KFe, Z6.Legend = qFe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var QFe = [
+var $Fe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], $Fe = [
+], eIe = [
"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",
@@ -70018,15 +70020,15 @@ var QFe = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function $6({ title: e, rows: t, unit: n = "个视频" }) {
+function Q6({ title: e, rows: t, unit: n = "个视频" }) {
let [r, i] = (0, L.useState)(-1), [a, o] = (0, L.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: j6(t),
+ slice: A6(t),
value: e.value
}));
return /* @__PURE__ */ (0, R.jsxs)("section", {
- className: D6,
+ className: E6,
children: [
/* @__PURE__ */ (0, R.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -70048,16 +70050,16 @@ function $6({ title: e, rows: t, unit: n = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => o(-1),
- children: /* @__PURE__ */ (0, R.jsxs)(Q6, {
+ children: /* @__PURE__ */ (0, R.jsxs)(Z6, {
data: f,
nameKey: "slice",
- config: PFe(s.map((e) => e.name)),
- max: lhe(s.map((e) => e.value)),
+ config: FFe(s.map((e) => e.name)),
+ max: che(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, R.jsx)(Q6.RadialBar, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Z6.RadialBar, {
dataKey: "value",
- barSize: uhe(s.length),
+ barSize: lhe(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, R.jsx)(hK, {
...e,
@@ -70067,7 +70069,7 @@ function $6({ title: e, rows: t, unit: n = "个视频" }) {
onClick: (e, t) => d(t),
onMouseEnter: (e, t) => o(t)
}
- }), /* @__PURE__ */ (0, R.jsx)(F6, {
+ }), /* @__PURE__ */ (0, R.jsx)(P6, {
nameKey: "slice",
hideLabel: !0
})]
@@ -70083,13 +70085,13 @@ function $6({ 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 ${$Fe[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 ${eIe[t % 6]}`,
children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, R.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${QFe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${$Fe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, R.jsx)("b", {
@@ -70108,8 +70110,8 @@ function $6({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var eIe = 10, e8 = k6[5], tIe = k6[4], nIe = `${Xi()} flex flex-col gap-4`, rIe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", iIe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", aIe = "开始播放后,这里会显示最近的真实观看证据。", oIe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", sIe = "添加媒体文件夹后,这里会显示存储空间。";
-function t8({ term: e, value: t }) {
+var tIe = 10, $6 = O6[5], nIe = O6[4], rIe = `${Xi()} flex flex-col gap-4`, iIe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", aIe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", oIe = "开始播放后,这里会显示最近的真实观看证据。", sIe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", cIe = "添加媒体文件夹后,这里会显示存储空间。";
+function e8({ term: e, value: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, R.jsx)("span", {
@@ -70121,7 +70123,7 @@ function t8({ term: e, value: t }) {
})]
});
}
-function n8({ term: e, value: t, total: n }) {
+function t8({ term: e, value: t, total: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
children: [/* @__PURE__ */ (0, R.jsxs)("p", {
@@ -70130,7 +70132,7 @@ function n8({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, R.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [_L(t, n), "%"]
+ children: [vL(t, n), "%"]
})]
})]
}), /* @__PURE__ */ (0, R.jsx)(ra, {
@@ -70140,7 +70142,7 @@ function n8({ term: e, value: t, total: n }) {
})]
});
}
-function r8({ term: e, figure: t, unit: n }) {
+function n8({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -70159,28 +70161,28 @@ function r8({ term: e, figure: t, unit: n }) {
]
});
}
-function i8({ headline: e, children: t }) {
+function r8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: `${nIe} md:flex-row md:gap-6`,
+ className: `${rIe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function cIe({ data: t, configurable: n, openMediaSettings: r }) {
+function lIe({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, R.jsx)($6, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Q6, {
title: "网盘与本地",
rows: t.by_loc.map((t) => ({
name: e[t.k] ?? t.k,
value: t.videos,
detail: s(t.bytes)
}))
- }), /* @__PURE__ */ (0, R.jsx)($6, {
+ }), /* @__PURE__ */ (0, R.jsx)(Q6, {
title: "媒体库",
rows: t.by_library.map((e) => ({
name: e.name,
@@ -70191,27 +70193,27 @@ function cIe({ data: t, configurable: n, openMediaSettings: r }) {
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(R6, {
+ /* @__PURE__ */ (0, R.jsx)(L6, {
title: "时长",
unit: "个视频",
series: "视频",
- color: e8,
- rows: mhe(t.by_length)
+ color: $6,
+ rows: phe(t.by_length)
}),
- /* @__PURE__ */ (0, R.jsx)(R6, {
+ /* @__PURE__ */ (0, R.jsx)(L6, {
title: "画质",
unit: "个视频",
series: "视频",
- color: e8,
- rows: bL(t.by_quality)
+ color: $6,
+ rows: xL(t.by_quality)
}),
- /* @__PURE__ */ (0, R.jsx)(R6, {
+ /* @__PURE__ */ (0, R.jsx)(L6, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: e8,
+ color: $6,
layout: "horizontal",
- rows: fhe(t.by_medium)
+ rows: dhe(t.by_medium)
})
]
})]
@@ -70229,11 +70231,11 @@ function cIe({ data: t, configurable: n, openMediaSettings: r }) {
size: "small",
children: "添加关注"
})] }),
- children: rIe
+ children: iIe
});
}
-function lIe({ data: e }) {
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(G6, {
+function uIe({ data: e }) {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(W6, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -70243,40 +70245,40 @@ function lIe({ data: e }) {
cellUnit: "个作品"
},
tone: 5
- }), /* @__PURE__ */ (0, R.jsx)(R6, {
+ }), /* @__PURE__ */ (0, R.jsx)(L6, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: tIe,
- rows: ghe(e.replays)
+ color: nIe,
+ rows: hhe(e.replays)
})] });
}
-function uIe({ attribution: e }) {
+function dIe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, R.jsx)(n8, {
+ /* @__PURE__ */ (0, R.jsx)(t8, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, R.jsx)(n8, {
+ /* @__PURE__ */ (0, R.jsx)(t8, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, R.jsx)(n8, {
+ /* @__PURE__ */ (0, R.jsx)(t8, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, R.jsx)(n8, {
+ /* @__PURE__ */ (0, R.jsx)(t8, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, R.jsx)(n8, {
+ /* @__PURE__ */ (0, R.jsx)(t8, {
term: "已探测时长",
value: e.duration,
total: t
@@ -70284,7 +70286,7 @@ function uIe({ attribution: e }) {
]
});
}
-function dIe({ volume: e }) {
+function fIe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, R.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -70301,7 +70303,7 @@ function dIe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [s(n), /* @__PURE__ */ (0, R.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [_L(n, t), "%"]
+ children: [vL(n, t), "%"]
})]
})]
}),
@@ -70323,10 +70325,10 @@ function dIe({ volume: e }) {
]
});
}
-function fIe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function pIe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(dIe, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(fIe, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, R.jsx)(Qi, {
shell: "plain",
icon: it,
@@ -70336,12 +70338,12 @@ function fIe({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: sIe
+ children: cIe
});
}
-function pIe({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, R.jsx)(K6, {
- previewCount: eIe,
+function mIe({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, R.jsx)(G6, {
+ previewCount: tIe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, R.jsx)("li", {
className: "min-w-0",
@@ -70375,14 +70377,14 @@ function pIe({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: iIe
+ children: aIe
});
}
-function mIe({ rows: e }) {
+function hIe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = vL(e);
+ let t = yL(e);
return /* @__PURE__ */ (0, R.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -70390,14 +70392,14 @@ function mIe({ rows: e }) {
children: [/* @__PURE__ */ (0, R.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, R.jsx)("a", {
- href: che(e),
+ href: she(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, R.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, R.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, R.jsx)("span", { children: she(e) })]
+ children: [/* @__PURE__ */ (0, R.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, R.jsx)("span", { children: ohe(e) })]
})]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -70406,7 +70408,7 @@ function mIe({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, R.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${yL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${bL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -70421,10 +70423,10 @@ function mIe({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: aIe
+ children: oIe
});
}
-function hIe({ sources: e, videos: t }) {
+function gIe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)("article", {
@@ -70464,11 +70466,11 @@ function hIe({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: oIe
+ children: sIe
});
}
-function a8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, R.jsx)(WS, {
+function i8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+ return /* @__PURE__ */ (0, R.jsx)(HS, {
id: e,
className: Ql({
interactive: !0,
@@ -70483,31 +70485,31 @@ function a8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function gIe(e) {
+function _Ie(e) {
let t = Zn({
- queryKey: hL,
- queryFn: ({ signal: e }) => gL(e)
+ queryKey: gL,
+ queryFn: ({ signal: e }) => _L(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, R.jsx)(ea, { children: /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? H(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = _L(n.tag_cov, n.attribution.videos);
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = vL(n.tag_cov, n.attribution.videos);
return /* @__PURE__ */ (0, R.jsxs)(ea, { children: [
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${s(o)}`
}),
- /* @__PURE__ */ (0, R.jsxs)(BS, {
+ /* @__PURE__ */ (0, R.jsxs)(RS, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, R.jsxs)(HS, {
+ /* @__PURE__ */ (0, R.jsxs)(BS, {
"aria-label": "统计视图",
className: $l,
children: [
- /* @__PURE__ */ (0, R.jsx)(a8, {
+ /* @__PURE__ */ (0, R.jsx)(i8, {
id: "inventory",
label: "馆藏视频",
icon: Ze,
@@ -70515,15 +70517,15 @@ function gIe(e) {
figure: a.toLocaleString(),
detail: s(o)
}),
- /* @__PURE__ */ (0, R.jsx)(a8, {
+ /* @__PURE__ */ (0, R.jsx)(i8, {
id: "viewing",
label: "看过",
icon: tt,
accent: 1,
figure: r.played.toLocaleString(),
- detail: ohe(r.play_seconds)
+ detail: ahe(r.play_seconds)
}),
- /* @__PURE__ */ (0, R.jsx)(a8, {
+ /* @__PURE__ */ (0, R.jsx)(i8, {
id: "coverage",
label: "内容标签",
icon: ft,
@@ -70531,7 +70533,7 @@ function gIe(e) {
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- /* @__PURE__ */ (0, R.jsx)(a8, {
+ /* @__PURE__ */ (0, R.jsx)(i8, {
id: "storage",
label: "使用空间",
icon: it,
@@ -70541,18 +70543,18 @@ function gIe(e) {
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "inventory",
- children: /* @__PURE__ */ (0, R.jsx)(cIe, {
+ children: /* @__PURE__ */ (0, R.jsx)(lIe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, R.jsxs)(GS, {
+ /* @__PURE__ */ (0, R.jsxs)(US, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, R.jsx)(i8, {
- headline: /* @__PURE__ */ (0, R.jsx)(r8, {
+ children: [/* @__PURE__ */ (0, R.jsx)(r8, {
+ headline: /* @__PURE__ */ (0, R.jsx)(n8, {
term: "观看",
figure: r.played.toLocaleString(),
unit: "个作品有播放记录"
@@ -70560,62 +70562,62 @@ function gIe(e) {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "馆藏观看",
value: r.library_played
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "在线直接观看",
value: r.online_played
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "高潮计数",
value: r.o_total
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "快进扫过",
value: r.skimmed
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "喜欢",
value: r.liked
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "明确不喜欢",
value: r.dislike
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "看过了",
value: r.seen
}),
- /* @__PURE__ */ (0, R.jsx)(t8, {
+ /* @__PURE__ */ (0, R.jsx)(e8, {
term: "回收站",
value: r.trash
})
]
})
- }), /* @__PURE__ */ (0, R.jsx)(lIe, { data: n })]
+ }), /* @__PURE__ */ (0, R.jsx)(uIe, { data: n })]
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "coverage",
- children: /* @__PURE__ */ (0, R.jsx)(i8, {
- headline: /* @__PURE__ */ (0, R.jsx)(r8, {
+ children: /* @__PURE__ */ (0, R.jsx)(r8, {
+ headline: /* @__PURE__ */ (0, R.jsx)(n8, {
term: "内容标签覆盖",
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, R.jsx)(uIe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, R.jsx)(dIe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "storage",
- children: /* @__PURE__ */ (0, R.jsx)(i8, {
- headline: /* @__PURE__ */ (0, R.jsx)(r8, {
+ children: /* @__PURE__ */ (0, R.jsx)(r8, {
+ headline: /* @__PURE__ */ (0, R.jsx)(n8, {
term: "使用空间",
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, R.jsx)(fIe, {
+ children: /* @__PURE__ */ (0, R.jsx)(pIe, {
volumes: n.storage_volumes,
...e
})
@@ -70623,51 +70625,51 @@ function gIe(e) {
})
]
}),
- /* @__PURE__ */ (0, R.jsxs)(BS, {
+ /* @__PURE__ */ (0, R.jsxs)(RS, {
defaultSelectedKey: "tags",
className: `${Xi({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, R.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, R.jsxs)(Mk, {
+ children: /* @__PURE__ */ (0, R.jsxs)(kk, {
"aria-label": "统计维度",
- className: Pk,
+ className: jk,
children: [
- /* @__PURE__ */ (0, R.jsx)(WS, {
+ /* @__PURE__ */ (0, R.jsx)(HS, {
id: "tags",
- className: Fk,
+ className: Mk,
children: "内容标签"
}),
- /* @__PURE__ */ (0, R.jsx)(WS, {
+ /* @__PURE__ */ (0, R.jsx)(HS, {
id: "recent",
- className: Fk,
+ className: Mk,
children: "最近看过"
}),
- /* @__PURE__ */ (0, R.jsx)(WS, {
+ /* @__PURE__ */ (0, R.jsx)(HS, {
id: "sources",
- className: Fk,
+ className: Mk,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(pIe, {
+ children: /* @__PURE__ */ (0, R.jsx)(mIe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(mIe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, R.jsx)(hIe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, R.jsx)(GS, {
+ /* @__PURE__ */ (0, R.jsx)(US, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(hIe, {
+ children: /* @__PURE__ */ (0, R.jsx)(gIe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -70678,66 +70680,66 @@ function gIe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function _Ie(e, t) {
+function vIe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function o8(e) {
+function a8(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
+function o8(e, t) {
+ return c8(e.source, t.source) || e.index - t.index;
+}
function s8(e, t) {
- return l8(e.source, t.source) || e.index - t.index;
+ return c8(e.target, t.target) || e.index - t.index;
}
function c8(e, t) {
- return l8(e.target, t.target) || e.index - t.index;
-}
-function l8(e, t) {
return e.y0 - t.y0;
}
-function u8(e) {
+function l8(e) {
return e.value;
}
-function vIe(e) {
+function yIe(e) {
return e.index;
}
-function yIe(e) {
+function bIe(e) {
return e.nodes;
}
-function bIe(e) {
+function xIe(e) {
return e.links;
}
-function d8(e, t) {
+function u8(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function f8({ nodes: e }) {
+function d8({ 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 xIe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = vIe, c = _Ie, l, u, d = yIe, f = bIe, p = 6;
+function SIe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = yIe, c = vIe, l, u, d = bIe, f = xIe, 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), f8(e), e;
+ return h(e), g(e), _(e), v(e), x(e), d8(e), e;
}
m.update = function(e) {
- return f8(e), e;
+ return d8(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : o8(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : a8(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : o8(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : a8(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -70745,9 +70747,9 @@ function xIe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : o8(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : a8(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : o8(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : a8(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -70763,12 +70765,12 @@ function xIe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = d8(n, t)), typeof i != "object" && (i = r.target = d8(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = u8(n, t)), typeof i != "object" && (i = r.target = u8(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(Iq(t.sourceLinks, u8), Iq(t.targetLinks, u8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(Iq(t.sourceLinks, l8), Iq(t.targetLinks, l8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -70802,7 +70804,7 @@ function xIe() {
return o;
}
function b(e) {
- let n = Nq(e, (e) => (r - t - (e.length - 1) * o) / Iq(e, u8));
+ let n = Nq(e, (e) => (r - t - (e.length - 1) * o) / Iq(e, l8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -70838,7 +70840,7 @@ function xIe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(l8), w(i, n);
+ l === void 0 && i.sort(c8), w(i, n);
}
}
function C(e, t, n) {
@@ -70854,7 +70856,7 @@ function xIe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(l8), w(i, n);
+ l === void 0 && i.sort(c8), w(i, n);
}
}
function w(e, n) {
@@ -70875,12 +70877,12 @@ function xIe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(c8);
- for (let { target: { targetLinks: t } } of e) t.sort(s8);
+ for (let { source: { sourceLinks: e } } of t) e.sort(s8);
+ for (let { target: { targetLinks: t } } of e) t.sort(o8);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(c8), n.sort(s8);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(s8), n.sort(o8);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -70910,15 +70912,15 @@ function xIe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var p8 = Math.PI, m8 = 2 * p8, h8 = 1e-6, SIe = m8 - h8;
-function g8() {
+var f8 = Math.PI, p8 = 2 * f8, m8 = 1e-6, CIe = p8 - m8;
+function h8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function _8() {
- return new g8();
+function g8() {
+ return new h8();
}
-g8.prototype = _8.prototype = {
- constructor: g8,
+h8.prototype = g8.prototype = {
+ constructor: h8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -70939,11 +70941,11 @@ g8.prototype = _8.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 > h8) {
- if (!(Math.abs(u * s - c * l) > h8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > m8) {
+ if (!(Math.abs(u * s - c * l) > m8) || !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((p8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > h8 && (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((f8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > m8 && (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);
}
}
},
@@ -70951,7 +70953,7 @@ g8.prototype = _8.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) > h8 || Math.abs(this._y1 - l) > h8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % m8 + m8), d > SIe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > h8 && (this._ += "A" + n + "," + n + ",0," + +(d >= p8) + "," + 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) > m8 || Math.abs(this._y1 - l) > m8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % p8 + p8), d > CIe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > m8 && (this._ += "A" + n + "," + n + ",0," + +(d >= f8) + "," + 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";
@@ -70962,90 +70964,90 @@ g8.prototype = _8.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function v8(e) {
+function _8(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function CIe(e) {
+function wIe(e) {
return e[0];
}
-function wIe(e) {
+function TIe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var TIe = Array.prototype.slice;
+var EIe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function EIe(e) {
+function DIe(e) {
return e.source;
}
-function DIe(e) {
+function OIe(e) {
return e.target;
}
-function OIe(e) {
- var t = EIe, n = DIe, r = CIe, i = wIe, a = null;
+function kIe(e) {
+ var t = DIe, n = OIe, r = wIe, i = TIe, a = null;
function o() {
- var o, s = TIe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = _8(), 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 = EIe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = g8(), 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 : v8(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : _8(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : v8(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : _8(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function kIe(e, t, n, r, i) {
+function AIe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function AIe() {
- return OIe(kIe);
+function jIe() {
+ return kIe(AIe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function jIe(e) {
+function MIe(e) {
return [e.source.x1, e.y0];
}
-function MIe(e) {
+function NIe(e) {
return [e.target.x0, e.y1];
}
-function NIe() {
- return AIe().source(jIe).target(MIe);
+function PIe() {
+ return jIe().source(MIe).target(NIe);
}
//#endregion
//#region src/react/taste/taste.ts
-var PIe = "/api/taste", y8 = "/api/taste/refresh", FIe = "/api/taste/import", IIe = "/api/taste/source", b8 = (e) => ["taste", e], LIe = ["taste", "refresh"], RIe = [
+var FIe = "/api/taste", v8 = "/api/taste/refresh", IIe = "/api/taste/import", LIe = "/api/taste/source", y8 = (e) => ["taste", e], RIe = ["taste", "refresh"], zIe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], x8 = (e, t) => Hi(`${PIe}?window=${e}`, t), zIe = (e) => Hi(y8, e);
-async function BIe(e, t) {
+], b8 = (e, t) => Hi(`${FIe}?window=${e}`, t), BIe = (e) => Hi(v8, e);
+async function VIe(e, t) {
await K.fetchQuery({
- queryKey: b8(e),
- queryFn: () => x8(e, t)
+ queryKey: y8(e),
+ queryFn: () => b8(e, t)
});
}
-var VIe = (e) => U(y8, {
+var HIe = (e) => U(v8, {
window: e,
background: !0
-}), HIe = (e, t) => U(IIe, {
+}), UIe = (e, t) => U(LIe, {
operation: "remove",
source_key: e,
window: t
});
-async function UIe(e) {
- let t = await fetch(FIe, {
+async function WIe(e) {
+ let t = await fetch(IIe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -71063,35 +71065,35 @@ async function UIe(e) {
}
return n;
}
-var WIe = 1e4, S8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", GIe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, KIe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function qIe(e) {
+var GIe = 1e4, x8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", KIe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, qIe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function JIe(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 JIe(e) {
- let t = e.map(KIe), n = Math.max(1, ...t);
+function YIe(e) {
+ let t = e.map(qIe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var C8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var S8 = (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 YIe(e) {
- let t = C8(e, 6);
+function XIe(e) {
+ let t = S8(e, 6);
return t.length < 3 ? [] : t;
}
-var w8 = {
+var C8 = {
width: 720,
height: 435
-}, T8 = {
+}, w8 = {
source: 145,
target: 545
};
-function XIe(e = []) {
+function ZIe(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 = xIe().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 = SIe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -71106,7 +71108,7 @@ function XIe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = NIe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = PIe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -71136,11 +71138,11 @@ function XIe(e = []) {
total: a
};
}
-var ZIe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, E8 = L.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var QIe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, T8 = L.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = L.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, R.jsx)(O8, {
+ case "border": return /* @__PURE__ */ (0, R.jsx)(D8, {
cx: e,
cy: t,
dotId: c,
@@ -71149,7 +71151,7 @@ var ZIe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, E8 = L.memo(functio
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, R.jsx)(k8, {
+ case "colored-border": return /* @__PURE__ */ (0, R.jsx)(O8, {
cx: e,
cy: t,
dotId: c,
@@ -71158,7 +71160,7 @@ var ZIe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, E8 = L.memo(functio
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, R.jsx)(D8, {
+ default: return /* @__PURE__ */ (0, R.jsx)(E8, {
cx: e,
cy: t,
dotId: c,
@@ -71168,7 +71170,7 @@ var ZIe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, E8 = L.memo(functio
maskId: s
});
}
-}), D8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, R.jsxs)("g", {
+}), E8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, R.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)("clipPath", {
@@ -71188,9 +71190,9 @@ var ZIe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, E8 = L.memo(functio
clipPath: `url(#dot-clip-${n})`
})]
}));
-D8.displayName = "DefaultDot";
-var O8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, R.jsxs)("g", {
- className: i6(a, "text-background"),
+E8.displayName = "DefaultDot";
+var D8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, R.jsxs)("g", {
+ className: r6(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)("clipPath", {
@@ -71226,9 +71228,9 @@ var O8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}) })
]
}));
-O8.displayName = "PrimaryBorderDot";
-var k8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, R.jsxs)("g", {
- className: i6(a, "text-background"),
+D8.displayName = "PrimaryBorderDot";
+var O8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, R.jsxs)("g", {
+ className: r6(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)("clipPath", {
@@ -71256,17 +71258,17 @@ var k8 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
})
]
}));
-k8.displayName = "ColoredBorderDot";
+O8.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var QIe = 1, $Ie = .3, eLe = 6, A8 = 1500, j8 = "value", M8 = (0, L.createContext)(null);
-function N8() {
- let e = (0, L.use)(M8);
+var $Ie = 1, eLe = .3, tLe = 6, k8 = 1500, A8 = "value", j8 = (0, L.createContext)(null);
+function M8() {
+ let e = (0, L.use)(j8);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function P8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, L.useId)().replace(/:/g, ""), [d, f] = (0, L.useState)(o), p = pLe(c, l), m = (0, L.useCallback)((e) => {
+function N8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
+ let u = (0, L.useId)().replace(/:/g, ""), [d, f] = (0, L.useState)(o), p = mLe(c, l), m = (0, L.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, L.useMemo)(() => ({
config: e,
@@ -71279,37 +71281,37 @@ function P8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, R.jsx)(M8, {
+ return /* @__PURE__ */ (0, R.jsx)(j8, {
value: h,
- children: /* @__PURE__ */ (0, R.jsxs)(l6, {
+ children: /* @__PURE__ */ (0, R.jsxs)(c6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, R.jsx)(u6, { isLoading: c }), /* @__PURE__ */ (0, R.jsxs)(RPe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(l6, { isLoading: c }), /* @__PURE__ */ (0, R.jsxs)(zPe, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, R.jsx)(x6, { variant: a }),
+ a && /* @__PURE__ */ (0, R.jsx)(b6, { variant: a }),
n,
- c && /* @__PURE__ */ (0, R.jsx)(mLe, {})
+ c && /* @__PURE__ */ (0, R.jsx)(hLe, {})
]
})]
})
});
}
-function tLe({ dataKey: e, variant: t = "filled", fillOpacity: n = $Ie, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = N8(), d = (0, L.useId)().replace(/:/g, "");
+function nLe({ dataKey: e, variant: t = "filled", fillOpacity: n = eLe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = M8(), d = (0, L.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = sLe(a, d, e, p.dot);
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(J0, {
+ }, m = t === "filled", { dot: h, activeDot: g } = cLe(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(q0, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: QIe,
+ strokeWidth: $Ie,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -71322,30 +71324,30 @@ function tLe({ dataKey: e, variant: t = "filled", fillOpacity: n = $Ie, isGlowin
},
...o
}), /* @__PURE__ */ (0, R.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, R.jsx)(cLe, {
+ /* @__PURE__ */ (0, R.jsx)(lLe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, R.jsx)(lLe, {
+ /* @__PURE__ */ (0, R.jsx)(uLe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, R.jsx)(uLe, {
+ m && /* @__PURE__ */ (0, R.jsx)(dLe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, R.jsx)(dLe, {
+ r && /* @__PURE__ */ (0, R.jsx)(fLe, {
id: d,
dataKey: e
})
] })] });
}
-var F8 = () => null, I8 = () => null;
-function nLe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, R.jsx)(V1, {
+var P8 = () => null, F8 = () => null;
+function rLe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, R.jsx)(B1, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -71353,47 +71355,47 @@ function nLe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function rLe({ tick: e = {
+function iLe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = N8();
- return r ? null : /* @__PURE__ */ (0, R.jsx)(t0, {
+ let { isLoading: r } = M8();
+ return r ? null : /* @__PURE__ */ (0, R.jsx)(e0, {
tick: e,
tickLine: t,
...n
});
}
-function iLe({ tick: e = {
+function aLe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = N8();
- return i ? null : /* @__PURE__ */ (0, R.jsx)(Y1, {
+ let { isLoading: i } = M8();
+ return i ? null : /* @__PURE__ */ (0, R.jsx)(J1, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function aLe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = N8();
- return r ? null : /* @__PURE__ */ (0, R.jsx)(h6, {
+function oLe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = M8();
+ return r ? null : /* @__PURE__ */ (0, R.jsx)(m6, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, R.jsx)(m6, {
+ content: /* @__PURE__ */ (0, R.jsx)(p6, {
selected: i,
roundness: t,
variant: e
})
});
}
-function oLe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = N8();
- return i ? null : /* @__PURE__ */ (0, R.jsx)(_6, {
+function sLe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = M8();
+ return i ? null : /* @__PURE__ */ (0, R.jsx)(g6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, R.jsx)(g6, {
+ content: /* @__PURE__ */ (0, R.jsx)(h6, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -71401,22 +71403,22 @@ function oLe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var sLe = (e, t, n, r) => {
+var cLe = (e, t, n, r) => {
let i = !1, a = !1;
return L.Children.forEach(e, (e) => {
if ((0, L.isValidElement)(e)) {
- if (e.type === F8) {
+ if (e.type === P8) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, R.jsx)(E8, {
+ i = /* @__PURE__ */ (0, R.jsx)(T8, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === I8) {
+ if (e.type === F8) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, R.jsx)(E8, {
+ a = /* @__PURE__ */ (0, R.jsx)(T8, {
type: i,
dataKey: n,
chartId: t,
@@ -71428,7 +71430,7 @@ var sLe = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, L8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("stop", {
+}, I8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -71443,46 +71445,46 @@ var sLe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), cLe = ({ id: e, dataKey: t, config: n }) => {
- let r = p6(n[t] ?? {});
+}) }), lLe = ({ id: e, dataKey: t, config: n }) => {
+ let r = f6(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, R.jsx)(L8, {
+ children: /* @__PURE__ */ (0, R.jsx)(I8, {
dataKey: t,
colorsCount: r
})
});
-}, lLe = ({ id: e, dataKey: t, config: n }) => {
- let r = p6(n[t] ?? {});
+}, uLe = ({ id: e, dataKey: t, config: n }) => {
+ let r = f6(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, R.jsx)(L8, {
+ children: /* @__PURE__ */ (0, R.jsx)(I8, {
dataKey: t,
colorsCount: r
})
});
-}, uLe = ({ id: e, dataKey: t, config: n }) => {
- let r = p6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+}, dLe = ({ id: e, dataKey: t, config: n }) => {
+ let r = f6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, R.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, R.jsx)(L8, {
+ children: /* @__PURE__ */ (0, R.jsx)(I8, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, dLe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
+}, fLe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -71502,7 +71504,7 @@ var sLe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, R.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), fLe = (e) => [
+}), pLe = (e) => [
"A",
"B",
"C",
@@ -71511,20 +71513,20 @@ var sLe = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [j8]: 30 + Math.random() * 70
+ [A8]: 30 + Math.random() * 70
}));
-function pLe(e, t = eLe) {
+function mLe(e, t = tLe) {
let [n, r] = (0, L.useState)(0);
return (0, L.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, A8);
+ }, k8);
return () => clearInterval(t);
- }, [e]), (0, L.useMemo)(() => fLe(t), [t, n]);
+ }, [e]), (0, L.useMemo)(() => pLe(t), [t, n]);
}
-var mLe = () => /* @__PURE__ */ (0, R.jsx)(J0, {
- dataKey: j8,
+var hLe = () => /* @__PURE__ */ (0, R.jsx)(q0, {
+ dataKey: A8,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -71532,30 +71534,30 @@ var mLe = () => /* @__PURE__ */ (0, R.jsx)(J0, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: A8,
+ animationDuration: k8,
animationEasing: "ease-in-out"
});
-P8.Radar = tLe, P8.Dot = F8, P8.ActiveDot = I8, P8.PolarGrid = nLe, P8.PolarAngleAxis = rLe, P8.PolarRadiusAxis = iLe, P8.Tooltip = aLe, P8.Legend = oLe;
+N8.Radar = nLe, N8.Dot = P8, N8.ActiveDot = F8, N8.PolarGrid = rLe, N8.PolarAngleAxis = iLe, N8.PolarRadiusAxis = aLe, N8.Tooltip = oLe, N8.Legend = sLe;
//#endregion
//#region src/react/taste/charts.tsx
-var hLe = [
+var gLe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], gLe = [
+], _Le = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], R8 = { value: {
+], L8 = { value: {
label: "标签命中",
- colors: A6(k6[3])
-} }, _Le = [
+ colors: k6(O6[3])
+} }, vLe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -71565,78 +71567,78 @@ var hLe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], vLe = 26, yLe = { radius: R8.value }, bLe = (e, t) => Math.sqrt(e / t);
-function xLe({ rows: e, label: t }) {
- let n = YIe(e);
+], yLe = 26, bLe = { radius: L8.value }, xLe = (e, t) => Math.sqrt(e / t);
+function SLe({ rows: e, label: t }) {
+ let n = XIe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: bLe(e.value, r)
+ radius: xLe(e.value, r)
}));
return /* @__PURE__ */ (0, R.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, R.jsxs)(P8, {
+ children: /* @__PURE__ */ (0, R.jsxs)(N8, {
data: i,
- config: yLe,
+ config: bLe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, R.jsx)(P8.PolarGrid, {}),
- /* @__PURE__ */ (0, R.jsx)(P8.PolarAngleAxis, { dataKey: "name" }),
- /* @__PURE__ */ (0, R.jsx)(P8.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, R.jsx)(N8.PolarGrid, {}),
+ /* @__PURE__ */ (0, R.jsx)(N8.PolarAngleAxis, { dataKey: "name" }),
+ /* @__PURE__ */ (0, R.jsx)(N8.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, R.jsx)(P8.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, R.jsx)(F6, { valueKey: "value" })
+ /* @__PURE__ */ (0, R.jsx)(N8.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, R.jsx)(P6, { valueKey: "value" })
]
})
});
}
-function SLe({ rows: e, label: t }) {
- let n = C8(e, 8);
+function CLe({ rows: e, label: t }) {
+ let n = S8(e, 8);
return n.length ? /* @__PURE__ */ (0, R.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${_Le[n.length]}`,
- children: /* @__PURE__ */ (0, R.jsxs)(T6, {
+ className: `flex grow flex-col ${vLe[n.length]}`,
+ children: /* @__PURE__ */ (0, R.jsxs)(w6, {
data: n,
- config: R8,
+ config: L8,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: vLe },
+ chartProps: { maxBarSize: yLe },
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, R.jsx)(T6.YAxis, {
+ /* @__PURE__ */ (0, R.jsx)(w6.YAxis, {
dataKey: "name",
interval: 0
}),
- /* @__PURE__ */ (0, R.jsx)(T6.XAxis, {
+ /* @__PURE__ */ (0, R.jsx)(w6.XAxis, {
hide: !0,
- domain: I6
+ domain: F6
}),
- /* @__PURE__ */ (0, R.jsx)(T6.Bar, {
+ /* @__PURE__ */ (0, R.jsx)(w6.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: L6("right")
+ label: I6("right")
}
}),
- /* @__PURE__ */ (0, R.jsx)(F6, {})
+ /* @__PURE__ */ (0, R.jsx)(P6, {})
]
})
}) : null;
}
-function CLe({ flows: e }) {
- let [t, n] = (0, L.useState)(null), r = XIe(e);
+function wLe({ flows: e }) {
+ let [t, n] = (0, L.useState)(null), r = ZIe(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, R.jsxs)("section", {
- className: D6,
+ className: E6,
children: [
- /* @__PURE__ */ (0, R.jsx)(O6, {
+ /* @__PURE__ */ (0, R.jsx)(D6, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -71644,7 +71646,7 @@ function CLe({ flows: e }) {
/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 overflow-x-auto",
children: /* @__PURE__ */ (0, R.jsxs)("svg", {
- viewBox: `0 0 ${w8.width} ${w8.height}`,
+ viewBox: `0 0 ${C8.width} ${C8.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -71658,7 +71660,7 @@ function CLe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${hLe[e.color]}`,
+ className: `outline-none transition-opacity ${gLe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -71692,15 +71694,15 @@ function CLe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? gLe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? _Le[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, R.jsxs)("text", {
- x: T8[e.side],
+ x: w8[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: [ZIe(e.name), /* @__PURE__ */ (0, R.jsx)("tspan", {
- x: T8[e.side],
+ children: [QIe(e.name), /* @__PURE__ */ (0, R.jsx)("tspan", {
+ x: w8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -71717,8 +71719,8 @@ function CLe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var wLe = 10, z8 = Pi(_O, vO, "text-body-2-medium"), B8 = `${Xi()} flex flex-col gap-4`, V8 = "rounded-xl bg-background-primary-default p-3", TLe = "读取运行 Peach 的这台电脑上的浏览记录", ELe = "导入或读取浏览记录后,这里会列出已采集设备。", DLe = "馆藏里暂时没有对得上浏览信号的标签。", OLe = "采集浏览记录后,这里会显示聚合后的口味证据。", kLe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ALe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", jLe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", MLe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", NLe = "这个数据源将不再用于口味分析。原始导出文件保留。", H8 = "peach-taste-guide-dismissed";
-function U8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var TLe = 10, R8 = Pi(hO, gO, "text-body-2-medium"), z8 = `${Xi()} flex flex-col gap-4`, B8 = "rounded-xl bg-background-primary-default p-3", ELe = "读取运行 Peach 的这台电脑上的浏览记录", DLe = "导入或读取浏览记录后,这里会列出已采集设备。", OLe = "馆藏里暂时没有对得上浏览信号的标签。", kLe = "采集浏览记录后,这里会显示聚合后的口味证据。", ALe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", jLe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", MLe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", NLe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", PLe = "这个数据源将不再用于口味分析。原始导出文件保留。", V8 = "peach-taste-guide-dismissed";
+function H8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: Ql(),
children: /* @__PURE__ */ (0, R.jsx)(iu, {
@@ -71730,7 +71732,7 @@ function U8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function W8({ name: e, domain: t }) {
+function U8({ name: e, domain: t }) {
return /* @__PURE__ */ (0, R.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, R.jsx)("img", {
@@ -71744,22 +71746,22 @@ function W8({ name: e, domain: t }) {
})]
});
}
-function PLe({ html: e }) {
+function FLe({ html: e }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${MP}`,
+ 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 ${AP}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function FLe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+function ILe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
if (!e.length) return /* @__PURE__ */ (0, R.jsx)(Qi, {
shell: "plain",
icon: ht,
title: "暂无足够证据",
children: r
});
- let o = JIe(e);
- return /* @__PURE__ */ (0, R.jsx)(K6, {
- previewCount: wLe,
+ let o = YIe(e);
+ return /* @__PURE__ */ (0, R.jsx)(G6, {
+ previewCount: TLe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
@@ -71778,15 +71780,15 @@ function FLe({ 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, R.jsx)(W8, {
+ n === "domain" ? /* @__PURE__ */ (0, R.jsx)(U8, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, R.jsx)(W8, {
+ n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, R.jsx)(U8, {
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, R.jsx)(PLe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, R.jsx)(FLe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -71798,7 +71800,7 @@ function FLe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: qIe(e)
+ children: JIe(e)
})]
}),
s ? /* @__PURE__ */ (0, R.jsx)(We, {
@@ -71821,24 +71823,24 @@ function FLe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
})
});
}
-function G8({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, R.jsxs)(BS, {
+function W8({ label: e, panels: t, onSignal: n, avatarInner: r }) {
+ return /* @__PURE__ */ (0, R.jsxs)(RS, {
className: `${Xi({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, R.jsx)(Mk, {
+ children: /* @__PURE__ */ (0, R.jsx)(kk, {
"aria-label": e,
- className: Pk,
- children: t.map((e) => /* @__PURE__ */ (0, R.jsx)(WS, {
+ className: jk,
+ children: t.map((e) => /* @__PURE__ */ (0, R.jsx)(HS, {
id: e.id,
- className: Fk,
+ className: Mk,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(GS, {
+ }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(US, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(FLe, {
+ children: /* @__PURE__ */ (0, R.jsx)(ILe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -71846,7 +71848,7 @@ function G8({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function ILe({ data: e, onSignal: t, navigate: n }) {
+function LLe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -71861,7 +71863,7 @@ function ILe({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, R.jsxs)("section", {
- className: B8,
+ className: z8,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, R.jsxs)("header", {
@@ -71887,7 +71889,7 @@ function ILe({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, R.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${V8}`,
+ className: `flex min-w-0 flex-col gap-1 ${B8}`,
children: [/* @__PURE__ */ (0, R.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -71902,7 +71904,7 @@ function ILe({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${V8} 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 ${B8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, R.jsx)("b", {
@@ -71921,15 +71923,15 @@ function ILe({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: ht,
title: "还没有可探索的入口",
- children: DLe
+ children: OLe
})
]
});
}
-function LLe({ onboarding: e, done: t }) {
+function RLe({ onboarding: e, done: t }) {
let [n, r] = (0, L.useState)(() => {
try {
- return localStorage.getItem(H8) === "1";
+ return localStorage.getItem(V8) === "1";
} catch {
return !1;
}
@@ -71939,17 +71941,17 @@ function LLe({ onboarding: e, done: t }) {
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, R.jsxs)(VO, {
+ children: /* @__PURE__ */ (0, R.jsxs)(zO, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ALe
+ children: jLe
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: jLe
+ children: MLe
}),
/* @__PURE__ */ (0, R.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -71979,7 +71981,7 @@ function LLe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: MLe
+ children: NLe
}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "self-start",
@@ -71988,7 +71990,7 @@ function LLe({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(H8, "1");
+ localStorage.setItem(V8, "1");
} catch {}
r(!0);
},
@@ -71999,7 +72001,7 @@ function LLe({ onboarding: e, done: t }) {
})
});
}
-function RLe({ busy: e, onRefresh: t, onImport: n }) {
+function zLe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, L.useRef)(null), [i, a] = (0, L.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -72009,7 +72011,7 @@ function RLe({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
leadingIcon: Xe,
- title: TLe,
+ title: ELe,
onClick: t,
...G(e),
children: "读取浏览器历史"
@@ -72031,13 +72033,13 @@ function RLe({ busy: e, onRefresh: t, onImport: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: gO,
- children: /* @__PURE__ */ (0, R.jsxs)(pO, {
+ className: mO,
+ children: /* @__PURE__ */ (0, R.jsxs)(dO, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
- className: z8,
+ className: R8,
onClick: () => o(t),
children: [/* @__PURE__ */ (0, R.jsx)(Xe, {
"aria-hidden": !0,
@@ -72045,7 +72047,7 @@ function RLe({ busy: e, onRefresh: t, onImport: n }) {
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
- className: z8,
+ className: R8,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, R.jsx)(yt, {
"aria-hidden": !0,
@@ -72055,15 +72057,15 @@ function RLe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function zLe({ sources: e, window: t, toast: n }) {
+function BLe({ sources: e, window: t, toast: n }) {
let r = Qn({
- mutationFn: (e) => HIe(e, t),
+ mutationFn: (e) => UIe(e, t),
onSuccess: (e) => {
- K.setQueryData(b8(t), e.dashboard), n("已移除口味数据源");
+ K.setQueryData(y8(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, R.jsxs)("section", {
- className: B8,
+ className: z8,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, R.jsx)("h3", {
@@ -72077,7 +72079,7 @@ function zLe({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${V8}`,
+ className: `flex min-w-0 items-center gap-3 ${B8}`,
children: [
/* @__PURE__ */ (0, R.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
@@ -72109,7 +72111,7 @@ function zLe({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || b({
title: "移除口味数据源",
- body: NLe,
+ body: PLe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -72121,28 +72123,28 @@ function zLe({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: Ze,
title: "还没有数据源",
- children: ELe
+ children: DLe
})
]
});
}
-function BLe(e) {
+function VLe(e) {
let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: a } = e, [o, c] = (0, L.useState)("all"), [l, u] = (0, L.useState)("browser"), d = (0, L.useRef)(null), f = Zn({
- queryKey: b8(o),
- queryFn: ({ signal: e }) => x8(o, e),
+ queryKey: y8(o),
+ queryFn: ({ signal: e }) => b8(o, e),
placeholderData: Yt
- }), { job: p, running: m, outcome: h, start: g } = YO({
- queryKey: LIe,
- queryFn: ({ signal: e }) => zIe(e),
- start: () => VIe(o),
- idlePollMs: WIe,
+ }), { job: p, running: m, outcome: h, start: g } = qO({
+ queryKey: RIe,
+ queryFn: ({ signal: e }) => BIe(e),
+ start: () => HIe(o),
+ idlePollMs: GIe,
onFinish: (e) => {
e.status !== "failed" && (K.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = Qn({
- mutationFn: (e) => UIe(e),
+ mutationFn: (e) => WIe(e),
onSuccess: (e) => {
- K.setQueryData(b8("all"), e.dashboard), c("all"), r("已导入口味数据");
+ K.setQueryData(y8("all"), e.dashboard), c("all"), r("已导入口味数据");
}
}), v = (e) => {
let t = e.currentTarget.files?.[0];
@@ -72157,40 +72159,40 @@ function BLe(e) {
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? H(g.error) : _.error ? H(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
return /* @__PURE__ */ (0, R.jsxs)(ea, { children: [
- /* @__PURE__ */ (0, R.jsxs)(BS, {
+ /* @__PURE__ */ (0, R.jsxs)(RS, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, R.jsxs)(Mk, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(kk, {
"aria-label": "口味证据来源",
- className: Pk,
- children: [/* @__PURE__ */ (0, R.jsx)(WS, {
+ className: jk,
+ children: [/* @__PURE__ */ (0, R.jsx)(HS, {
id: "browser",
- className: Fk,
+ className: Mk,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, R.jsx)(WS, {
+ }), /* @__PURE__ */ (0, R.jsx)(HS, {
id: "peach",
- className: Fk,
+ className: Mk,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(KO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
"aria-label": "分析范围",
selectedKey: o,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: RIe.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(qO, {
+ children: zIe.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(GO, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(RLe, {
+ /* @__PURE__ */ (0, R.jsx)(zLe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -72206,7 +72208,7 @@ function BLe(e) {
]
})]
}),
- /* @__PURE__ */ (0, R.jsx)(LLe, {
+ /* @__PURE__ */ (0, R.jsx)(RLe, {
onboarding: a,
done: !!(x.history_sources || b.updated_at)
}),
@@ -72214,46 +72216,46 @@ function BLe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- m ? /* @__PURE__ */ (0, R.jsx)(OO, {
+ m ? /* @__PURE__ */ (0, R.jsx)(EO, {
label: p?.message || "正在读取浏览记录并更新口味分析",
value: p?.checked,
total: p?.total
}) : null,
- _.isPending ? /* @__PURE__ */ (0, R.jsx)(OO, { label: "正在导入历史文件" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, R.jsx)(EO, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(GS, {
+ /* @__PURE__ */ (0, R.jsxs)(US, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: $l,
children: [
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 0,
icon: at,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
- detail: `${x.history_sources || 0} 个数据源 · ${S8(x.range_start)}—${S8(x.range_end)}`
+ detail: `${x.history_sources || 0} 个数据源 · ${x8(x.range_start)}—${x8(x.range_end)}`
}),
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 1,
icon: ft,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 2,
icon: ht,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 3,
icon: Ze,
term: "私有导出",
@@ -72263,7 +72265,7 @@ function BLe(e) {
]
}),
/* @__PURE__ */ (0, R.jsxs)("section", {
- className: `${B8} md:flex-row md:gap-6`,
+ className: `${z8} md:flex-row md:gap-6`,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0",
@@ -72272,29 +72274,29 @@ function BLe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, R.jsx)(xLe, {
+ /* @__PURE__ */ (0, R.jsx)(SLe, {
rows: T,
label: "主要口味维度"
}),
/* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: b.updated_at ? `更新于 ${S8(b.updated_at)}` : "尚未采集浏览记录"
+ children: b.updated_at ? `更新于 ${x8(b.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, R.jsx)(SLe, {
+ children: T.length ? /* @__PURE__ */ (0, R.jsx)(CLe, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, R.jsx)(Qi, {
shell: "plain",
icon: ht,
title: "暂无口味维度",
- children: OLe
+ children: kLe
})
})]
}),
- /* @__PURE__ */ (0, R.jsx)(G6, {
+ /* @__PURE__ */ (0, R.jsx)(W6, {
activity: b.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -72306,8 +72308,8 @@ function BLe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, R.jsx)(CLe, { flows: b.creator_flows }),
- /* @__PURE__ */ (0, R.jsx)(G8, {
+ /* @__PURE__ */ (0, R.jsx)(wLe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, R.jsx)(W8, {
label: "浏览器口味维度",
onSignal: t,
avatarInner: i,
@@ -72349,40 +72351,40 @@ function BLe(e) {
rows: E,
kind: "",
visual: "none",
- empty: kLe
+ empty: ALe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, R.jsxs)(GS, {
+ /* @__PURE__ */ (0, R.jsxs)(US, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: $l,
children: [
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 0,
icon: tt,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: GIe(x.peach_seconds || 0)
+ detail: KIe(x.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 1,
icon: vt,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 2,
icon: _t,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, R.jsx)(U8, {
+ /* @__PURE__ */ (0, R.jsx)(H8, {
accent: 3,
icon: ft,
term: "有标签",
@@ -72391,7 +72393,7 @@ function BLe(e) {
]
}),
/* @__PURE__ */ (0, R.jsxs)("section", {
- className: `${B8} md:flex-row md:gap-6`,
+ className: `${z8} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -72411,18 +72413,18 @@ function BLe(e) {
]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, R.jsx)(K8, {
+ children: [/* @__PURE__ */ (0, R.jsx)(G8, {
term: "有标签",
value: D,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, R.jsx)(K8, {
+ }), /* @__PURE__ */ (0, R.jsx)(G8, {
term: "有身份",
value: O,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, R.jsx)(G8, {
+ /* @__PURE__ */ (0, R.jsx)(W8, {
label: "Peach 口味维度",
onSignal: t,
avatarInner: i,
@@ -72463,19 +72465,19 @@ function BLe(e) {
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(ILe, {
+ /* @__PURE__ */ (0, R.jsx)(LLe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, R.jsx)(zLe, {
+ /* @__PURE__ */ (0, R.jsx)(BLe, {
sources: b.sources || [],
window: o,
toast: r
})
] });
}
-function K8({ term: e, value: t, rest: n }) {
+function G8({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -72497,40 +72499,40 @@ function K8({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/number-setting.ts
-function q8(e, t, n, r) {
+function K8(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var VLe = (e) => {
+var HLe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function HLe({ openConfiguration: e }) {
+function ULe({ openConfiguration: e }) {
let t = Zn({
- queryKey: aL,
- queryFn: ({ signal: e }) => oL(e)
+ queryKey: oL,
+ queryFn: ({ signal: e }) => sL(e)
}), n = t.data;
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, R.jsxs)(zO, { children: [
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ children: [n ? /* @__PURE__ */ (0, R.jsxs)(LO, { children: [
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(RO, {
term: "更新",
- children: VLe(n)
+ children: HLe(n)
})
- ] }) : /* @__PURE__ */ (0, R.jsx)(NO, { children: /* @__PURE__ */ (0, R.jsx)(W, {
+ ] }) : /* @__PURE__ */ (0, R.jsx)(jO, { children: /* @__PURE__ */ (0, R.jsx)(W, {
tone: "error",
title: "配置读取失败",
children: t.error ? H(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, R.jsx)(PO, {
+ }) }), /* @__PURE__ */ (0, R.jsx)(MO, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, R.jsx)(V, {
onClick: e,
@@ -72541,14 +72543,14 @@ function HLe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/settings-panel/icon.tsx
-function J8({ name: e }) {
+function q8({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function ULe({ name: e }) {
+function WLe({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -72557,16 +72559,16 @@ function ULe({ name: e }) {
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var Y8 = (e) => e.map(([e, t, n]) => n ? [
+var J8 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function X8({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function Y8({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(l);
return f.current = l, (0, L.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = E(t, n, Y8(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = E(t, n, J8(r), i, {
attr: a,
className: o,
text: s
@@ -72584,13 +72586,13 @@ function X8({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function Z8({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function X8({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(-1), m = (0, L.useRef)(l);
return m.current = l, (0, L.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = P(Y8(n), r, { label: t });
+ e.innerHTML = P(J8(n), r, { label: t });
let i = ue(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -72603,7 +72605,7 @@ function Z8({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function WLe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function GLe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, L.useRef)(null), c = (0, L.useRef)(null), l = (0, L.useRef)({
onStep: a,
onSettle: o
@@ -72638,7 +72640,7 @@ function WLe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var GLe = [
+var KLe = [
[
"strength",
"强度",
@@ -72665,7 +72667,7 @@ var GLe = [
100
]
];
-function KLe({ host: e, version: t }) {
+function qLe({ host: e, version: t }) {
let n = (0, L.useRef)(null), r = (0, L.useRef)(!1);
return (0, L.useLayoutEffect)(() => {
let t = n.current;
@@ -72678,7 +72680,7 @@ function KLe({ host: e, version: t }) {
ref: n
});
}
-function qLe({ host: e, spot: t, index: n, glow: r }) {
+function JLe({ host: e, spot: t, index: n, glow: r }) {
let i = de[n], a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), [c, l] = (0, L.useState)("all");
(0, L.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -72717,7 +72719,7 @@ function qLe({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, R.jsx)(J8, { name: "chevron-down" })
+ /* @__PURE__ */ (0, R.jsx)(q8, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "popmenu",
@@ -72756,7 +72758,7 @@ function qLe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function JLe({ host: e, version: t }) {
+function YLe({ host: e, version: t }) {
let n = e.store.value.homeGlow, r = ge(n.preset);
return /* @__PURE__ */ (0, R.jsxs)("section", {
"data-glow-setting": "",
@@ -72775,7 +72777,7 @@ function JLe({ host: e, version: t }) {
children: he(n.preset)
})]
}),
- /* @__PURE__ */ (0, R.jsx)(KLe, {
+ /* @__PURE__ */ (0, R.jsx)(qLe, {
host: e,
version: t
}),
@@ -72786,7 +72788,7 @@ function JLe({ host: e, version: t }) {
}),
/* @__PURE__ */ (0, R.jsx)("div", {
"data-glow-fields": "",
- children: GLe.map(([t, i, a]) => /* @__PURE__ */ (0, R.jsx)(WLe, {
+ children: KLe.map(([t, i, a]) => /* @__PURE__ */ (0, R.jsx)(GLe, {
field: t,
label: i,
max: a,
@@ -72808,7 +72810,7 @@ function JLe({ host: e, version: t }) {
hidden: r,
children: [/* @__PURE__ */ (0, R.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-glow-stops": "",
- children: pe.map((t, r) => /* @__PURE__ */ (0, R.jsx)(qLe, {
+ children: pe.map((t, r) => /* @__PURE__ */ (0, R.jsx)(JLe, {
host: e,
spot: t,
index: r,
@@ -72833,7 +72835,7 @@ function JLe({ host: e, version: t }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var YLe = {
+var XLe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -72874,10 +72876,10 @@ var YLe = {
optional: !0,
fallback: 60
}
-}, Q8 = (e) => `peach.number.${e}`;
-function $8({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = YLe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, L.useRef)(0);
- d.current ||= q8(Number(localStorage.getItem(Q8(e))), o, s, n && n > 0 ? n : l);
+}, Z8 = (e) => `peach.number.${e}`;
+function Q8({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = XLe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, L.useRef)(0);
+ d.current ||= K8(Number(localStorage.getItem(Z8(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, L.useState)(n ?? 0), [m, h] = (0, L.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, L.useState)(""), v = (0, L.useRef)(null), y = (0, L.useRef)(i);
y.current = i, (0, L.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
@@ -72889,7 +72891,7 @@ function $8({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`);
return;
}
- t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(Q8(e), String(d.current)), y.current(d.current);
+ t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(Z8(e), String(d.current)), y.current(d.current);
}
}, x = (0, L.useRef)(b);
x.current = b, (0, L.useEffect)(() => {
@@ -72904,7 +72906,7 @@ function $8({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
p(d.current), h(String(d.current)), y.current(d.current);
return;
}
- t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(Q8(e), String(d.current)), p(0), y.current(0);
+ t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(Z8(e), String(d.current)), p(0), y.current(0);
}, w = r || n === null;
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-number-setting": "",
@@ -72954,8 +72956,8 @@ function $8({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var XLe = "__home__", e5 = (e) => e === "" ? XLe : e;
-function ZLe({ host: e }) {
+var ZLe = "__home__", $8 = (e) => e === "" ? ZLe : e;
+function QLe({ host: e }) {
let t = Yc(), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, L.useState)(null), [c, l] = (0, L.useState)(!1), [u, d] = (0, L.useState)(null), [f, p] = (0, L.useState)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (n) => {
e.store.value.sidebarOrder = n, e.store.save(), e.changed("sidebarOrder"), t.mutate({ sidebarOrder: n }, { onError: () => {} });
}, _ = (e, t, r) => {
@@ -72970,7 +72972,7 @@ function ZLe({ host: e }) {
if (r < 0 || i < 0 || i >= n.length) return;
let a = [...n];
[a[r], a[i]] = [a[i], a[r]], g(a);
- }, y = a.find(([e]) => e5(e) === o) ?? a[0], b = () => {
+ }, y = a.find(([e]) => $8(e) === o) ?? a[0], b = () => {
h.current && S(h.current), l(!1);
}, x = () => {
let e = h.current;
@@ -72991,7 +72993,7 @@ function ZLe({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e5(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", $8(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -73023,9 +73025,9 @@ function ZLe({ host: e }) {
/* @__PURE__ */ (0, R.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, R.jsx)(J8, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, R.jsx)(q8, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, R.jsx)(J8, { name: r ?? "" }),
+ /* @__PURE__ */ (0, R.jsx)(q8, { name: r ?? "" }),
/* @__PURE__ */ (0, R.jsx)("b", { children: t })
]
}), /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -73039,7 +73041,7 @@ function ZLe({ host: e }) {
title: "上移",
disabled: a === 0,
onClick: () => v(e, -1),
- children: /* @__PURE__ */ (0, R.jsx)(J8, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, R.jsx)(q8, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -73049,7 +73051,7 @@ function ZLe({ host: e }) {
title: "下移",
disabled: a === i.length - 1,
onClick: () => v(e, 1),
- children: /* @__PURE__ */ (0, R.jsx)(J8, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, R.jsx)(q8, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -73061,11 +73063,11 @@ function ZLe({ host: e }) {
onClick: () => {
n.length > 1 && g(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, R.jsx)(J8, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, R.jsx)(q8, { name: "eye-off" })
})
]
})]
- }, e5(e))), /* @__PURE__ */ (0, R.jsxs)("div", {
+ }, $8(e))), /* @__PURE__ */ (0, R.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -73081,13 +73083,13 @@ function ZLe({ host: e }) {
ref: m,
onClick: x,
children: y ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(J8, { name: y[2] ?? "" }),
+ /* @__PURE__ */ (0, R.jsx)(q8, { name: y[2] ?? "" }),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-sidebar-add-label": "",
children: y[1]
}),
- /* @__PURE__ */ (0, R.jsx)(J8, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(J8, { name: "check" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, R.jsx)(q8, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(q8, { name: "check" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -73098,15 +73100,15 @@ function ZLe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": e5(e),
+ "data-sidebar-add-option": $8(e),
"aria-selected": y?.[0] === e,
tabIndex: y?.[0] === e ? 0 : -1,
onKeyDown: C,
onClick: () => {
- s(e5(e)), b(), m.current?.focus();
+ s($8(e)), b(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, R.jsx)(J8, { name: n ?? "" }), /* @__PURE__ */ (0, R.jsx)("span", { children: t })]
- }, e5(e)))
+ children: [/* @__PURE__ */ (0, R.jsx)(q8, { name: n ?? "" }), /* @__PURE__ */ (0, R.jsx)("span", { children: t })]
+ }, $8(e)))
}) : null]
}), /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -73123,7 +73125,7 @@ function ZLe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var t5 = [
+var e5 = [
["界面", "ri-palette-line"],
["浏览", "ri-layout-grid-line"],
["播放", "ri-play-circle-line"],
@@ -73131,7 +73133,7 @@ var t5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], QLe = [
+], $Le = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -73140,21 +73142,21 @@ var t5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], $Le = [["desc", "降序"], ["asc", "升序"]], eRe = [
+], eRe = [["desc", "降序"], ["asc", "升序"]], tRe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], tRe = [
+], nRe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], nRe = [
+], rRe = [
0,
7,
30,
90
-], rRe = [[
+], iRe = [[
"cover",
"官方封面",
""
@@ -73162,7 +73164,7 @@ var t5 = [
"thumbnail",
"预览图",
""
-]], iRe = [
+]], aRe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -73187,91 +73189,91 @@ var t5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], aRe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", n5 = null, r5 = null, i5 = null, a5 = {
+], oRe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", t5 = null, n5 = null, r5 = null, i5 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
-}, o5 = 0, s5 = null;
-function oRe() {
- return (!r5 || !i5?.isConnected) && (r5?.unmount(), i5 = document.createElement("div"), i5.dataset.settingsHost = "", document.body.append(i5), r5 = (0, ze.createRoot)(i5)), r5;
+}, a5 = 0, o5 = null;
+function sRe() {
+ return (!n5 || !r5?.isConnected) && (n5?.unmount(), r5 = document.createElement("div"), r5.dataset.settingsHost = "", document.body.append(r5), n5 = (0, ze.createRoot)(r5)), n5;
}
-function c5() {
- let e = n5;
- e && (0, Re.flushSync)(() => oRe().render(/* @__PURE__ */ (0, R.jsx)(HI, { children: /* @__PURE__ */ (0, R.jsx)(pRe, {
+function s5() {
+ let e = t5;
+ e && (0, Re.flushSync)(() => sRe().render(/* @__PURE__ */ (0, R.jsx)(UI, { children: /* @__PURE__ */ (0, R.jsx)(mRe, {
host: e,
- view: a5
+ view: i5
}) })));
}
-function l5(e) {
- a5 = {
- ...a5,
+function c5(e) {
+ i5 = {
+ ...i5,
...e
- }, c5();
+ }, s5();
}
-async function sRe(e) {
- if (a5.machine === "summary") return;
+async function cRe(e) {
+ if (i5.machine === "summary") return;
let t = await e.configurable();
- if (a5.open) {
+ if (i5.open) {
if (!t) {
- l5({ machine: "note" });
+ c5({ machine: "note" });
return;
}
try {
- await sL(new AbortController().signal);
+ await cL(new AbortController().signal);
} catch {}
- a5.open && l5({ machine: "summary" });
+ i5.open && c5({ machine: "summary" });
}
}
-function cRe(e = "") {
- let t = n5;
+function lRe(e = "") {
+ let t = t5;
if (!t) return;
- y(), o5 += 1, s5 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = t5.findIndex(([t]) => t === e), r = Jc();
- l5({
+ y(), a5 += 1, o5 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let n = e5.findIndex(([t]) => t === e), r = Jc();
+ c5({
open: !0,
closing: !1,
- epoch: a5.epoch + 1,
- tab: n >= 0 ? n : a5.tab
+ epoch: i5.epoch + 1,
+ tab: n >= 0 ? n : i5.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), sRe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), cRe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function u5() {
- if (!a5.open || a5.closing) return;
- let e = ++o5;
- l5({ closing: !0 });
+function l5() {
+ if (!i5.open || i5.closing) return;
+ let e = ++a5;
+ c5({ closing: !0 });
let t = () => {
- e !== o5 || !a5.closing || (l5({
+ e !== a5 || !i5.closing || (c5({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), s5 instanceof HTMLElement && document.contains(s5) && s5.focus(), s5 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), o5 instanceof HTMLElement && document.contains(o5) && o5.focus(), o5 = null);
};
if (matchMedia("(prefers-reduced-motion: reduce)").matches) {
queueMicrotask(t);
return;
}
- i5?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
+ r5?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var lRe = {
- open: cRe,
- close: u5,
- isOpen: () => a5.open,
+var uRe = {
+ open: lRe,
+ close: l5,
+ isOpen: () => i5.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function uRe(e) {
- return n5 = e, c5(), lRe;
-}
function dRe(e) {
+ return t5 = e, s5(), uRe;
+}
+function fRe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(aRe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(oRe)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var d5 = (e) => `settings-tab-${e}`, f5 = (e) => e === t5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function fRe({ tab: e, epoch: t, onSelect: n }) {
+var u5 = (e) => `settings-tab-${e}`, d5 = (e) => e === e5.length - 1 ? "machineGroup" : `settings-group-${e}`;
+function pRe({ tab: e, epoch: t, onSelect: n }) {
let r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(e), s = (0, L.useRef)([]), c = (e, t) => {
let n = i.current;
if (!n) return;
@@ -73299,7 +73301,7 @@ function fRe({ tab: e, epoch: t, onSelect: n }) {
o.current = e, l.current(s.current[e], t);
}, [e, t]);
let u = (e, t) => {
- let r = t5.length, i = t;
+ let r = e5.length, i = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") i = (t + 1) % r;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") i = (t + r - 1) % r;
else if (e.key === "Home") i = 0;
@@ -73328,11 +73330,11 @@ function fRe({ tab: e, epoch: t, onSelect: n }) {
role: "presentation",
children: "设置"
}),
- t5.map(([t, r], i) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ e5.map(([t, r], i) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
role: "tab",
- id: d5(i),
- "aria-controls": f5(i),
+ id: u5(i),
+ "aria-controls": d5(i),
"aria-selected": i === e,
tabIndex: i === e ? 0 : -1,
ref: (e) => {
@@ -73343,22 +73345,22 @@ function fRe({ tab: e, epoch: t, onSelect: n }) {
onPointerEnter: (e) => {
e.pointerType !== "touch" && c(e.currentTarget, !0);
},
- children: [/* @__PURE__ */ (0, R.jsx)(ULe, { name: r }), t]
+ children: [/* @__PURE__ */ (0, R.jsx)(WLe, { name: r }), t]
}, t))
]
});
}
-function p5({ index: e, tab: t, children: n }) {
+function f5({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, R.jsxs)("section", {
"data-setting-group": "",
- id: f5(e),
+ id: d5(e),
role: "tabpanel",
- "aria-labelledby": d5(e),
+ "aria-labelledby": u5(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, R.jsx)("h3", { children: t5[e][0] }), n]
+ children: [/* @__PURE__ */ (0, R.jsx)("h3", { children: e5[e][0] }), n]
});
}
-function m5({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function p5({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, R.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, R.jsxs)("span", { children: [/* @__PURE__ */ (0, R.jsx)("b", { children: t }), /* @__PURE__ */ (0, R.jsx)("small", {
@@ -73375,7 +73377,7 @@ function m5({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function h5({ title: e, description: t, kind: n, children: r }) {
+function m5({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -73383,11 +73385,11 @@ function h5({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, R.jsxs)("span", { children: [/* @__PURE__ */ (0, R.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, R.jsx)("small", { children: t }) : t] }), r]
});
}
-var g5 = ({ html: e, ...t }) => /* @__PURE__ */ (0, R.jsx)("small", {
+var h5 = ({ html: e, ...t }) => /* @__PURE__ */ (0, R.jsx)("small", {
...t,
dangerouslySetInnerHTML: { __html: e }
-}), _5 = () => `${ie("保存中")}<span>正在保存…</span>`, v5 = (e, t) => e instanceof Error && e.message || t;
-function pRe({ host: e, view: t }) {
+}), g5 = () => `${ie("保存中")}<span>正在保存…</span>`, _5 = (e, t) => e instanceof Error && e.message || t;
+function mRe({ host: e, view: t }) {
let n = (0, L.useSyncExternalStore)(e.store.subscribe, e.store.version), r = e.store.value, i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = (0, L.useRef)(null), l = (0, L.useRef)(t.tab), u = () => {
let [e, t] = [a.current, s.current];
if (!e || !t) return;
@@ -73407,7 +73409,7 @@ function pRe({ host: e, view: t }) {
c.current?.();
});
let f = t.epoch, p = (e) => {
- e !== a5.tab && l5({ tab: e });
+ e !== i5.tab && c5({ tab: e });
}, m = () => e.store.save();
return /* @__PURE__ */ (0, R.jsx)("section", {
"data-settings-panel": "",
@@ -73418,9 +73420,9 @@ function pRe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: i,
- onKeyDown: dRe,
+ onKeyDown: fRe,
onClick: (e) => {
- e.target === e.currentTarget && u5();
+ e.target === e.currentTarget && l5();
},
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-settings-card": "",
@@ -73431,19 +73433,19 @@ function pRe({ host: e, view: t }) {
ref: o,
children: [/* @__PURE__ */ (0, R.jsx)("h2", {
id: "settingsTitle",
- children: t5[t.tab][0]
+ children: e5[t.tab][0]
}), /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
id: "settingsClose",
"aria-label": "关闭设置",
- onClick: u5,
+ onClick: l5,
children: /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-x" })
})
})]
}),
- /* @__PURE__ */ (0, R.jsx)(fRe, {
+ /* @__PURE__ */ (0, R.jsx)(pRe, {
tab: t.tab,
epoch: f,
onSelect: p
@@ -73452,14 +73454,14 @@ function pRe({ host: e, view: t }) {
"data-settings-scroll": "",
ref: s,
children: [
- /* @__PURE__ */ (0, R.jsxs)(p5, {
+ /* @__PURE__ */ (0, R.jsxs)(f5, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "主题",
description: "跟随系统,或固定用浅色、深色。",
- children: /* @__PURE__ */ (0, R.jsx)(X8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Y8, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -73487,7 +73489,7 @@ function pRe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, R.jsx)(m5, {
+ /* @__PURE__ */ (0, R.jsx)(p5, {
id: "uiSoundsSetting",
title: "界面音效",
checked: r.uiSounds,
@@ -73496,7 +73498,7 @@ function pRe({ host: e, view: t }) {
r.uiSounds = t, m(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, R.jsx)(m5, {
+ /* @__PURE__ */ (0, R.jsx)(p5, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: r.homeGlow.on,
@@ -73505,7 +73507,7 @@ function pRe({ host: e, view: t }) {
r.homeGlow.on = t, m(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, R.jsx)(JLe, {
+ /* @__PURE__ */ (0, R.jsx)(YLe, {
host: e,
version: n
}),
@@ -73515,37 +73517,37 @@ function pRe({ host: e, view: t }) {
children: [/* @__PURE__ */ (0, R.jsxs)("span", { children: [/* @__PURE__ */ (0, R.jsx)("b", {
id: "sidebarOrderTitle",
children: "左侧导航"
- }), /* @__PURE__ */ (0, R.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, R.jsx)(ZLe, { host: e })]
+ }), /* @__PURE__ */ (0, R.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, R.jsx)(QLe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(hRe, {
+ /* @__PURE__ */ (0, R.jsx)(gRe, {
host: e,
tab: t.tab,
epoch: f
}),
- /* @__PURE__ */ (0, R.jsx)(_Re, {
+ /* @__PURE__ */ (0, R.jsx)(vRe, {
host: e,
tab: t.tab,
epoch: f
}),
- /* @__PURE__ */ (0, R.jsx)(p5, {
+ /* @__PURE__ */ (0, R.jsx)(f5, {
index: 3,
tab: t.tab,
- children: /* @__PURE__ */ (0, R.jsx)(yRe, {
+ children: /* @__PURE__ */ (0, R.jsx)(bRe, {
host: e,
epoch: f
})
}),
- /* @__PURE__ */ (0, R.jsx)(bRe, {
+ /* @__PURE__ */ (0, R.jsx)(xRe, {
host: e,
tab: t.tab,
epoch: f
}),
- /* @__PURE__ */ (0, R.jsx)(p5, {
+ /* @__PURE__ */ (0, R.jsx)(f5, {
index: 5,
tab: t.tab,
- children: /* @__PURE__ */ (0, R.jsx)(m5, {
+ children: /* @__PURE__ */ (0, R.jsx)(p5, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -73554,10 +73556,10 @@ function pRe({ host: e, view: t }) {
onToggle: (t) => e.setCensored(t)
})
}),
- /* @__PURE__ */ (0, R.jsx)(p5, {
+ /* @__PURE__ */ (0, R.jsx)(f5, {
index: 6,
tab: t.tab,
- children: /* @__PURE__ */ (0, R.jsx)(SRe, {
+ children: /* @__PURE__ */ (0, R.jsx)(CRe, {
host: e,
machine: t.machine
})
@@ -73568,7 +73570,7 @@ function pRe({ host: e, view: t }) {
})
});
}
-function mRe(e, t) {
+function hRe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = T("arrow-up", "arrow-down", "a", {
@@ -73578,18 +73580,18 @@ function mRe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function hRe({ host: e, tab: t, epoch: n }) {
+function gRe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
- return /* @__PURE__ */ (0, R.jsxs)(p5, {
+ return /* @__PURE__ */ (0, R.jsxs)(f5, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "每批作品",
description: "首页每次加载的作品数量。",
children: /* @__PURE__ */ (0, R.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, R.jsx)($8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Q8, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -73599,7 +73601,7 @@ function hRe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "默认排序",
kind: "sort",
description: /* @__PURE__ */ (0, R.jsx)("small", {
@@ -73608,19 +73610,19 @@ function hRe({ host: e, tab: t, epoch: n }) {
}),
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, R.jsx)(Z8, {
+ children: [/* @__PURE__ */ (0, R.jsx)(X8, {
id: "defaultSortSetting",
label: "默认排序",
- options: QLe,
+ options: $Le,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, R.jsx)(Z8, {
+ }), /* @__PURE__ */ (0, R.jsx)(X8, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: $Le,
+ options: eRe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -73629,7 +73631,7 @@ function hRe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => mRe(e, o)
+ decorate: (e) => hRe(e, o)
})]
})
}),
@@ -73646,14 +73648,14 @@ function hRe({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "JAV 默认封面",
description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",
- children: /* @__PURE__ */ (0, R.jsx)(X8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Y8, {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: rRe,
+ options: iRe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -73664,11 +73666,11 @@ function hRe({ host: e, tab: t, epoch: n }) {
}
})
}),
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "视频封面默认大小",
kind: "related",
description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",
- children: /* @__PURE__ */ (0, R.jsx)(X8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Y8, {
id: "javSizeSetting",
name: "video-size",
legend: "视频封面默认大小",
@@ -73681,7 +73683,7 @@ function hRe({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, R.jsx)(m5, {
+ /* @__PURE__ */ (0, R.jsx)(p5, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -73690,7 +73692,7 @@ function hRe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- iRe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, R.jsx)(gRe, {
+ aRe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, R.jsx)(_Re, {
host: e,
id: t,
settingKey: n,
@@ -73702,7 +73704,7 @@ function hRe({ host: e, tab: t, epoch: n }) {
]
});
}
-function gRe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
+function _Re({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
let s = Yc(), [c, l] = (0, L.useState)(null), u = (0, L.useRef)(null), d = e.store.value, f = (t) => {
l(t), F(u.current), s.mutate({ [n]: t }, {
onSuccess: (i) => {
@@ -73731,28 +73733,28 @@ function gRe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function _Re({ host: e, tab: t, epoch: n }) {
+function vRe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, R.jsxs)(p5, {
+ return /* @__PURE__ */ (0, R.jsxs)(f5, {
index: 2,
tab: t,
children: [
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "悬停放大",
description: "转圈完成后进入放大预览。",
children: /* @__PURE__ */ (0, R.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, R.jsx)($8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Q8, {
id: "hoverDelaySetting",
label: "悬停放大",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = q8(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = K8(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
}),
- /* @__PURE__ */ (0, R.jsx)(m5, {
+ /* @__PURE__ */ (0, R.jsx)(p5, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: r.detailAutoplay,
@@ -73761,7 +73763,7 @@ function _Re({ host: e, tab: t, epoch: n }) {
r.detailAutoplay = e, i();
}
}),
- /* @__PURE__ */ (0, R.jsx)(m5, {
+ /* @__PURE__ */ (0, R.jsx)(p5, {
id: "miniplayerSetting",
title: "小窗播放",
checked: r.miniplayer,
@@ -73770,12 +73772,12 @@ function _Re({ host: e, tab: t, epoch: n }) {
r.miniplayer = t, i(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "快进 / 快退",
description: "卡片预览和详情播放器共用。",
children: /* @__PURE__ */ (0, R.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, R.jsx)($8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Q8, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: r.seekSeconds,
@@ -73785,13 +73787,13 @@ function _Re({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, R.jsx)(vRe, { epoch: n }),
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(yRe, { epoch: n }),
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
children: /* @__PURE__ */ (0, R.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, R.jsx)($8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Q8, {
id: "relatedLimitSetting",
label: "相关推荐",
value: r.relatedLimit,
@@ -73804,7 +73806,7 @@ function _Re({ host: e, tab: t, epoch: n }) {
]
});
}
-function vRe({ epoch: e }) {
+function yRe({ epoch: e }) {
let t = Zn({
queryKey: Wc,
queryFn: ({ signal: e }) => qc(e)
@@ -73812,18 +73814,18 @@ function vRe({ epoch: e }) {
(0, L.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data?.mode || "off", a = n.isPending ? _5() : t.isFetching ? O("正在读取状态") : n.isError ? y5(v5(n.error, "保存失败")) : t.isError ? y5(`状态未取得:${v5(t.error, String(t.error))}`) : t.data ? y5($c(t.data)) : "读取运行状态…";
- return /* @__PURE__ */ (0, R.jsx)(h5, {
+ let i = t.data?.mode || "off", a = n.isPending ? g5() : t.isFetching ? O("正在读取状态") : n.isError ? v5(_5(n.error, "保存失败")) : t.isError ? v5(`状态未取得:${_5(t.error, String(t.error))}`) : t.data ? v5($c(t.data)) : "读取运行状态…";
+ return /* @__PURE__ */ (0, R.jsx)(m5, {
title: "视频缩略图采集",
- description: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, R.jsx)(g5, {
+ description: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, R.jsx)(h5, {
id: "videoThumbnailState",
"aria-live": "polite",
html: a
})] }),
- children: /* @__PURE__ */ (0, R.jsx)(Z8, {
+ children: /* @__PURE__ */ (0, R.jsx)(X8, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: eRe,
+ options: tRe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -73831,25 +73833,25 @@ function vRe({ epoch: e }) {
})
});
}
-function yRe({ host: e, epoch: t }) {
+function bRe({ host: e, epoch: t }) {
let n = e.store.value, r = Yc();
- return /* @__PURE__ */ (0, R.jsx)(h5, {
+ return /* @__PURE__ */ (0, R.jsx)(m5, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
children: /* @__PURE__ */ (0, R.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, R.jsx)($8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Q8, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = q8(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = K8(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
-function bRe({ host: e, tab: t, epoch: n }) {
+function xRe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = Yc(), a = Yc(), [o, s] = (0, L.useState)("");
(0, L.useEffect)(() => {
s("");
@@ -73860,22 +73862,22 @@ function bRe({ host: e, tab: t, epoch: n }) {
typeof t.followInitialDays == "number" && (r.followInitialDays = t.followInitialDays), e.store.save(), s("已保存,适用于尚未开始采集的来源。"), e.receipt("已保存首次采集历史范围");
},
onError: (t) => {
- s(v5(t, "")), e.failure("保存首次采集历史范围", t);
+ s(_5(t, "")), e.failure("保存首次采集历史范围", t);
}
}));
};
- return /* @__PURE__ */ (0, R.jsxs)(p5, {
+ return /* @__PURE__ */ (0, R.jsxs)(f5, {
index: 4,
tab: t,
children: [
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "首次采集历史范围",
description: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("small", { children: "按发布时间限制新来源首次导入的内容;范围内不足 30 条时补到 30 条。没有日期的条目仍会导入;已有内容不受影响,支持历史分页的来源可手动加载更早。" }), /* @__PURE__ */ (0, R.jsx)("small", {
id: "followInitialDaysState",
"aria-live": "polite",
children: o
})] }),
- children: /* @__PURE__ */ (0, R.jsx)(Z8, {
+ children: /* @__PURE__ */ (0, R.jsx)(X8, {
id: "followInitialDaysSetting",
label: "首次采集历史范围",
options: e.followInitialRanges,
@@ -73885,26 +73887,26 @@ function bRe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, R.jsx)(xRe, { epoch: n }),
- /* @__PURE__ */ (0, R.jsx)(h5, {
+ /* @__PURE__ */ (0, R.jsx)(SRe, { epoch: n }),
+ /* @__PURE__ */ (0, R.jsx)(m5, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
- children: /* @__PURE__ */ (0, R.jsx)(Z8, {
+ children: /* @__PURE__ */ (0, R.jsx)(X8, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: tRe,
+ options: nRe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
let n = Number(t);
- r.metadataRefreshDays = nRe.includes(n) ? n : 30, e.store.save(), i.mutate({ metadataRefreshDays: r.metadataRefreshDays }, { onError: () => {} });
+ r.metadataRefreshDays = rRe.includes(n) ? n : 30, e.store.save(), i.mutate({ metadataRefreshDays: r.metadataRefreshDays }, { onError: () => {} });
}
})
})
]
});
}
-function xRe({ epoch: e }) {
+function SRe({ epoch: e }) {
let t = Zn({
queryKey: Uc,
queryFn: ({ signal: e }) => Kc(e)
@@ -73912,17 +73914,17 @@ function xRe({ epoch: e }) {
(0, L.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? _5() : t.isFetching ? O("正在读取状态") : n.isError ? y5(v5(n.error, "保存失败")) : t.isError ? y5(`状态未取得:${v5(t.error, String(t.error))}`) : i ? y5(Qc(i)) : "读取运行状态…";
- return /* @__PURE__ */ (0, R.jsx)(h5, {
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? g5() : t.isFetching ? O("正在读取状态") : n.isError ? v5(_5(n.error, "保存失败")) : t.isError ? v5(`状态未取得:${_5(t.error, String(t.error))}`) : i ? v5(Qc(i)) : "读取运行状态…";
+ return /* @__PURE__ */ (0, R.jsx)(m5, {
title: "关注自动更新",
- description: /* @__PURE__ */ (0, R.jsx)(g5, {
+ description: /* @__PURE__ */ (0, R.jsx)(h5, {
id: "followScheduleState",
"aria-live": "polite",
html: o
}),
children: /* @__PURE__ */ (0, R.jsx)("div", {
id: "followScheduleSetting",
- children: /* @__PURE__ */ (0, R.jsx)($8, {
+ children: /* @__PURE__ */ (0, R.jsx)(Q8, {
id: "followScheduleSetting",
label: "关注自动更新",
value: i && !a ? i.enabled ? i.interval_minutes : 0 : null,
@@ -73932,13 +73934,13 @@ function xRe({ epoch: e }) {
})
});
}
-function SRe({ host: e, machine: t }) {
+function CRe({ host: e, machine: t }) {
return t === "summary" ? /* @__PURE__ */ (0, R.jsx)("div", {
id: "machineSettings",
children: /* @__PURE__ */ (0, R.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, R.jsx)(HLe, { openConfiguration: () => {
- u5(), e.openConfiguration();
+ children: /* @__PURE__ */ (0, R.jsx)(ULe, { openConfiguration: () => {
+ l5(), e.openConfiguration();
} })
})
}, "summary") : t === "note" ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -73946,43 +73948,43 @@ function SRe({ host: e, machine: t }) {
dangerouslySetInnerHTML: { __html: A("媒体文件夹、端口、代理与更新只能在运行 Peach 服务的那台设备上改:在它的浏览器里打开配置页。", { label: "在服务端设备修改" }) }
}, "note") : /* @__PURE__ */ (0, R.jsx)("div", { id: "machineSettings" }, "none");
}
-function y5(e) {
+function v5(e) {
return e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`);
}
//#endregion
//#region src/board-skeleton.ts
-var b5 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, CRe = () => `${b5("80%")}${b5("48%")}`, wRe = (e, t) => e.repeat(t);
-function TRe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${b5("85%")}${b5("65%")}${wRe(CRe(), 4)}</div></aside></div>`;
+var y5 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wRe = () => `${y5("80%")}${y5("48%")}`, TRe = (e, t) => e.repeat(t);
+function ERe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${y5("85%")}${y5("65%")}${TRe(wRe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/player/host.ts
-var x5 = null;
-function ERe(e) {
- x5 = e;
+var b5 = null;
+function DRe(e) {
+ b5 = e;
}
-function S5() {
- if (!x5) throw Error("播放器还没有接上宿主(configurePlayer)");
- return x5;
+function x5() {
+ if (!b5) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return b5;
}
//#endregion
//#region src/player/menu.ts
-var C5 = null;
-function DRe(e) {
- C5 = e;
+var S5 = null;
+function ORe(e) {
+ S5 = e;
}
-function ORe() {
+function kRe() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var w5 = null, T5 = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function E5() {
+var C5 = null, w5 = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function T5() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && S(e, () => {
e.innerHTML = "";
- }), w5 &&= (w5(), null);
+ }), C5 &&= (C5(), null);
}
-async function kRe(e) {
+async function ARe(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -73995,12 +73997,12 @@ async function kRe(e) {
return t.remove(), n;
}
}
-function ARe(e) {
- let t = !!C5?.inMiniplayer(e), n = e.peachItem, r = C5?.kind(e) ?? "item", i = (t) => {
+function jRe(e) {
+ let t = !!S5?.inMiniplayer(e), n = e.peachItem, r = S5?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- kRe(i(e)).then((e) => S5().toast(e ? t : "复制失败,请手动复制地址栏", {
+ ARe(i(e)).then((e) => x5().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -74012,11 +74014,11 @@ function ARe(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => C5?.expand()
+ run: () => S5?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => C5?.toMiniplayer()
+ run: () => S5?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -74039,29 +74041,29 @@ function ARe(e) {
run: () => s.click()
}), o;
}
-function jRe(e, t, n) {
- let r = ORe();
- E5();
- let a = S5().stage();
+function MRe(e, t, n) {
+ let r = kRe();
+ T5();
+ let a = x5().stage();
a instanceof HTMLDialogElement && a.open && a.append(r), r.setAttribute("popover", "manual");
- let o = ARe(e);
+ let o = jRe(e);
r.innerHTML = o.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${T5(l(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${i(e.label)}</span>${n ? T5(l("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${w5(l(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${i(e.label)}</span>${n ? w5(l("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), N(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let s = [...r.querySelectorAll("[data-player-menu]")];
s.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = o[Number(e.dataset.playerMenu)];
- E5(), n?.run();
+ T5(), n?.run();
};
});
let c = (e) => {
- r.contains(e.target) || E5();
+ r.contains(e.target) || T5();
}, u = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), E5();
+ e.preventDefault(), e.stopPropagation(), T5();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -74069,51 +74071,51 @@ function jRe(e, t, n) {
let t = s.indexOf(document.activeElement);
s[(t + (e.key === "ArrowDown" ? 1 : -1) + s.length) % s.length]?.focus();
}, d = (t) => {
- te(t, e.el()) && E5();
+ te(t, e.el()) && T5();
};
setTimeout(() => {
document.addEventListener("pointerdown", c, !0), document.addEventListener("keydown", u, !0), window.addEventListener("scroll", d, {
capture: !0,
passive: !0
});
- }, 0), w5 = () => {
+ }, 0), C5 = () => {
document.removeEventListener("pointerdown", c, !0), document.removeEventListener("keydown", u, !0), window.removeEventListener("scroll", d, !0);
}, s[0]?.focus();
}
-function MRe(e) {
+function NRe(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), jRe(e, t.clientX, t.clientY));
- }), e.on("dispose", E5);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), MRe(e, t.clientX, t.clientY));
+ }), e.on("dispose", T5);
}
//#endregion
//#region src/player/registry.ts
-var D5 = null, O5 = () => D5;
-function k5(e) {
- D5 = e;
+var E5 = null, D5 = () => E5;
+function O5(e) {
+ E5 = e;
}
-function A5(e) {
+function k5(e) {
!e || e.isDisposed() || requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function j5(e) {
+function A5(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function NRe(e) {
+function PRe(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var M5 = 3e3;
-function N5(e, t) {
+var j5 = 3e3;
+function M5(e, t) {
let n = Number(e) || 0, r = p(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function PRe(e) {
+function FRe(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -74128,10 +74130,10 @@ function PRe(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = NRe(e), s = e.currentTime || 0;
+ let a = performance.now(), o = PRe(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > M5 * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > j5 * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -74140,56 +74142,56 @@ function PRe(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > M5;) t.shift();
+ }); t.length > 2 && a - t[0].at > j5;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var P5 = 24;
-function F5(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > P5 && e.splice(0, e.length - P5);
+var N5 = 24;
+function P5(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > N5 && e.splice(0, e.length - N5);
}
-var I5 = "peach-player-panel";
-function L5(e, t, n, r) {
- let a = [...Array(Math.max(0, P5 - e.length)).fill(null), ...e], o = Math.max(1, n || 0), s = a.map((e) => {
+var F5 = "peach-player-panel";
+function I5(e, t, n, r) {
+ let a = [...Array(Math.max(0, N5 - e.length)).fill(null), ...e], o = Math.max(1, n || 0), s = a.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / o));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${i(r)}">${s}</span>`;
}
-function FRe() {
+function IRe() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${l("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function R5(e, t = "") {
+function L5(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function IRe(e, t = "") {
- let n = R5(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function LRe(e, t = "") {
+ let n = L5(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function z5(e, t, n = "", r = null) {
+function R5(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : IRe(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : LRe(t, n);
}
-function B5(e) {
+function z5(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function LRe(e, t) {
- return e > 0 ? B5(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : B5(0);
+function RRe(e, t) {
+ return e > 0 ? z5(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : z5(0);
}
//#endregion
//#region src/player/controls.ts
-function V5(e, t, n = "") {
+function B5(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -74200,24 +74202,24 @@ function V5(e, t, n = "") {
};
return o(), o;
}
-function RRe(e, t = !0) {
- let n = S5(), r = n.settings();
+function zRe(e, t = !0) {
+ let n = x5(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var H5 = /* @__PURE__ */ new WeakMap();
-function U5(e) {
+var V5 = /* @__PURE__ */ new WeakMap();
+function H5(e) {
if (!e) return;
- let t = S5().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), H5.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = x5().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), V5.get(e)?.(t ? "默认视图" : "影院模式");
}
-function W5(e, t = !0) {
- let n = S5(), r = n.settings();
+function U5(e, t = !0) {
+ let n = x5(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), U5(i?.querySelector("[data-player-theater]")), A5(O5());
+ i?.toggleAttribute("data-theater", r.theaterMode), H5(i?.querySelector("[data-player-theater]")), k5(D5());
}
-function zRe(e) {
- let t = S5().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function BRe(e) {
+ let t = x5().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -74234,14 +74236,14 @@ function zRe(e) {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => u(t, e)) : requestAnimationFrame((e) => u(t, e));
}, u = (t, n) => {
if (!(i || t !== o)) {
- if (!S5().settings().ambientMode) {
+ if (!x5().settings().ambientMode) {
s();
return;
}
e.paused || (!document.hidden && n - a > 480 && (a = n, c()), l(t));
}
}, d = () => {
- i || !S5().settings().ambientMode || (c(), e.paused || l(++o));
+ i || !x5().settings().ambientMode || (c(), e.paused || l(++o));
}, f = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? d() : (o++, s());
@@ -74250,7 +74252,7 @@ function zRe(e) {
i = !0, o++, document.removeEventListener("peachambientchange", f), e.removeEventListener("play", d), e.removeEventListener("loadeddata", d), s();
};
}
-function BRe(e, t, n = 0, r = null) {
+function VRe(e, t, n = 0, r = null) {
let a = e.getChild("controlBar")?.el();
if (!a || a.querySelector("[data-player-quality]")) return;
let o = document.createElement("div");
@@ -74260,7 +74262,7 @@ function BRe(e, t, n = 0, r = null) {
let s = a.querySelector(".vjs-fullscreen-control");
a.insertBefore(o, s || null);
let c = o.querySelector("button"), u = o.querySelector("[data-player-quality-badge]");
- V5(c, "设置");
+ B5(c, "设置");
let d = o.querySelector(".vjs-peach-settings-menu"), f = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, p = r, m = "auto", h = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -74302,11 +74304,11 @@ function BRe(e, t, n = 0, r = null) {
active: t
};
}, v = () => d.getAttribute("aria-hidden") !== "true", y = (e) => {
- d.setAttribute("aria-hidden", String(!e)), c.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(I5, { detail: "settings" }));
+ d.setAttribute("aria-hidden", String(!e)), c.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(F5, { detail: "settings" }));
}, b = () => y(!1), x = (e) => {
e.detail !== "settings" && b();
};
- document.addEventListener(I5, x);
+ document.addEventListener(F5, x);
let S = null, C = (e, t) => {
let n = d.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !v()) return d.replaceChildren(r), d.style.height = "", r;
@@ -74320,12 +74322,12 @@ function BRe(e, t, n = 0, r = null) {
}, 250);
}), r;
}, w = (e, t) => e.querySelector(t), T = (t = 0) => {
- let { active: n } = _(), r = Number(e.playbackRate()) || 1, a = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${S5().settings().ambientMode}">
+ let { active: n } = _(), r = Number(e.playbackRate()) || 1, a = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${x5().settings().ambientMode}">
${l("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${l("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${l("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${l("player-quality")}<span>清晰度</span><b>${i(n.label)}</b>${l("player-menu-next")}</button></div>`, t);
w(a, "[data-player-ambient]").onclick = () => {
- RRe(!S5().settings().ambientMode), T();
+ zRe(!x5().settings().ambientMode), T();
}, w(a, "[data-player-speed]").onclick = () => k(), w(a, "[data-player-quality-view]").onclick = () => A();
}, E = .05, D = [
1,
@@ -74382,22 +74384,22 @@ function BRe(e, t, n = 0, r = null) {
}), f?.on?.(["addqualitylevel", "removequalitylevel"], () => {
v() ? T() : _();
}), e.on("dispose", () => {
- document.removeEventListener("pointerdown", j), document.removeEventListener(I5, x), S && clearTimeout(S);
- }), _(), VRe(e, o), HRe(e), (e) => {
+ document.removeEventListener("pointerdown", j), document.removeEventListener(F5, x), S && clearTimeout(S);
+ }), _(), HRe(e, o), URe(e), (e) => {
p = e?.length ? e : null, v() ? T() : _();
};
}
-function VRe(e, t) {
+function HRe(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = S5().settings().theaterMode, i = document.createElement("div");
+ let r = x5().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${l(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- H5.set(a, V5(a, "影院模式", "T")), U5(a), a.onclick = (e) => {
- e.stopPropagation(), W5(!S5().settings().theaterMode);
+ V5.set(a, B5(a, "影院模式", "T")), H5(a), a.onclick = (e) => {
+ e.stopPropagation(), U5(!x5().settings().theaterMode);
};
}
-function HRe(e) {
+function URe(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -74409,7 +74411,7 @@ function HRe(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, o = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], s = i(n, "player-play")?.querySelector("path"), c = o("player-play")[0]?.getAttribute("d") || "", u = o("player-pause")[0]?.getAttribute("d") || "", d = V5(n, "播放", "K"), f = CSS.supports("d", "path(\"M0 0\")"), p = () => {
+ }, o = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], s = i(n, "player-play")?.querySelector("path"), c = o("player-play")[0]?.getAttribute("d") || "", u = o("player-pause")[0]?.getAttribute("d") || "", d = B5(n, "播放", "K"), f = CSS.supports("d", "path(\"M0 0\")"), p = () => {
let t = e.paused() || e.ended(), n = t ? c : u;
s && (f ? s.style.setProperty("d", `path("${n}")`) : s.setAttribute("d", n)), d(t ? "播放" : "暂停");
};
@@ -74420,7 +74422,7 @@ function HRe(e) {
], p), p();
let m = t.querySelector(":scope>.vjs-volume-panel"), h = m?.querySelector(":scope>.vjs-mute-control"), g = i(h, "player-volume");
g && o("player-volume-muted").forEach((e) => g.append(e.cloneNode(!0)));
- let _ = V5(h, "静音", "M"), v = () => {
+ let _ = B5(h, "静音", "M"), v = () => {
let t = e.muted() || e.volume() === 0;
g && (g.dataset.silent = String(t), g.dataset.loud = String(!t && e.volume() > .5)), _(t ? "取消静音" : "静音");
};
@@ -74446,7 +74448,7 @@ function HRe(e) {
});
let C = document.createElement("button"), w = !1;
C.type = "button", C.className = "vjs-peach-time vjs-control", C.dataset.playerTime = "", C.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let T = C.querySelector(".vjs-peach-time-text"), E = V5(C, "显示剩余时间"), D = () => {
+ let T = C.querySelector(".vjs-peach-time-text"), E = B5(C, "显示剩余时间"), D = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = a(Math.max(0, n - t));
T.textContent = `${w ? `-${r}` : a(t)} / ${a(n)}`, C.dataset.remaining = String(w), E(w ? "显示已播放时间" : "显示剩余时间", w ? `剩余 ${r},总时长 ${a(n)};点击显示已播放时间` : `已播放 ${a(t)},总时长 ${a(n)};点击显示剩余时间`);
};
@@ -74459,11 +74461,11 @@ function HRe(e) {
], D), D(), m ? m.insertAdjacentElement("afterend", C) : t.append(C);
let O = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(O, "player-pip");
- let k = V5(O, "画中画");
+ let k = B5(O, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => k(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let A = t.querySelector(":scope>.vjs-fullscreen-control"), j = r(A, "player-fullscreen-enter"), M = V5(A, "全屏", "F"), N = () => {
+ let A = t.querySelector(":scope>.vjs-fullscreen-control"), j = r(A, "player-fullscreen-enter"), M = B5(A, "全屏", "F"), N = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), j?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), M(t ? "退出全屏" : "全屏"), A5(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), j?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), M(t ? "退出全屏" : "全屏"), k5(e);
};
e.on([
"fullscreenchange",
@@ -74483,7 +74485,7 @@ function HRe(e) {
});
let P = document.createElement("div");
P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${l("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, te.prepend(P);
- let F = P.querySelector("button"), ne = V5(F, "展开控件"), re = (t) => {
+ let F = P.querySelector("button"), ne = B5(F, "展开控件"), re = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), F.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");
};
F.onclick = (t) => {
@@ -74495,7 +74497,7 @@ function HRe(e) {
}, ae = new ResizeObserver(ie);
ae.observe(e.el()), e.on("dispose", () => ae.disconnect()), re(!1), ie();
}
-function URe(e, n, r = {}) {
+function WRe(e, n, r = {}) {
let i = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!i || i.querySelector("[data-player-seek-preview]")) return;
let o = r.thumbnail !== !1, s = document.createElement("div");
@@ -74528,13 +74530,13 @@ function URe(e, n, r = {}) {
i.removeEventListener("pointermove", g), i.removeEventListener("pointerleave", _);
});
}
-function WRe(e, t) {
+function GRe(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => p(e.duration()) || p(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(S5().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(x5().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -74575,11 +74577,11 @@ function WRe(e, t) {
} catch {}
});
}
-function GRe(e) {
+function KRe(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function KRe(e, n) {
+function qRe(e, n) {
t(`/api/assets/${n}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -74594,23 +74596,23 @@ function KRe(e, n) {
}
//#endregion
//#region src/player/stream.ts
-function qRe() {
+function JRe() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function G5(e, t) {
+function W5(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function JRe(e) {
+function YRe(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function YRe(e, n) {
- let r = JRe(e);
+async function XRe(e, n) {
+ let r = YRe(e);
if (r) return r;
try {
let r = await t(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(n)}`);
@@ -74619,9 +74621,9 @@ async function YRe(e, n) {
type: r.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return G5(e, n);
+ return W5(e, n);
}
-function XRe(e) {
+function ZRe(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -74630,21 +74632,21 @@ function XRe(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var K5 = "";
+var G5 = "";
+function K5() {
+ return G5;
+}
function q5() {
- return K5;
+ return G5 ||= JRe(), G5;
}
+var QRe = (e) => W5(e, q5()), $Re = (e) => XRe(e, q5());
function J5() {
- return K5 ||= qRe(), K5;
-}
-var ZRe = (e) => G5(e, J5()), QRe = (e) => YRe(e, J5());
-function Y5() {
- let e = K5;
- e && (K5 = "", XRe(e));
+ let e = G5;
+ e && (G5 = "", ZRe(e));
}
//#endregion
//#region src/player/telemetry.ts
-function $Re(e, n, r = {}) {
+function eze(e, n, r = {}) {
if (!n) return;
let i = 0, a = 0, o = 0, s = null;
n.addEventListener("seeking", () => {
@@ -74692,7 +74694,7 @@ function $Re(e, n, r = {}) {
d(), u(!1);
}, { once: !0 }), l();
}
-function eze(e, n) {
+function tze(e, n) {
let r = 0, i = 0, a = !1, o = null, s = (r) => {
let a = p(e.duration) || p(n.duration);
!i && !r || (t("/api/follow/activity", {
@@ -74728,7 +74730,7 @@ function eze(e, n) {
}
//#endregion
//#region src/player/videojs.ts
-var X5 = "/vendor/videojs/8.24.1/", Z5 = (e) => new Promise((t, n) => {
+var Y5 = "/vendor/videojs/8.24.1/", X5 = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -74740,31 +74742,31 @@ var X5 = "/vendor/videojs/8.24.1/", Z5 = (e) => new Promise((t, n) => {
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), Q5 = () => globalThis.videojs, $5 = null;
-function tze() {
- let e = Q5();
- return e ? Promise.resolve(e) : ($5 ??= Z5(`${X5}video.min.js`).then(() => Z5(`${X5}lang/zh-CN.js`)).then(() => {
- let e = Q5();
+}), Z5 = () => globalThis.videojs, Q5 = null;
+function nze() {
+ let e = Z5();
+ return e ? Promise.resolve(e) : (Q5 ??= X5(`${Y5}video.min.js`).then(() => X5(`${Y5}lang/zh-CN.js`)).then(() => {
+ let e = Z5();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw $5 = null, e;
- }), $5);
+ throw Q5 = null, e;
+ }), Q5);
}
//#endregion
//#region src/player/detail-player.ts
-var e7 = /* @__PURE__ */ new WeakMap(), t7 = null, n7 = null, r7 = null;
-function i7() {
- t7 &&= (clearInterval(t7), null), n7 &&= (clearInterval(n7), null), r7 &&= (clearTimeout(r7), null);
+var $5 = /* @__PURE__ */ new WeakMap(), e7 = null, t7 = null, n7 = null;
+function r7() {
+ e7 &&= (clearInterval(e7), null), t7 &&= (clearInterval(t7), null), n7 &&= (clearTimeout(n7), null);
}
-async function nze(e, t, n, r = {}) {
- let o = O5();
+async function rze(e, t, n, r = {}) {
+ let o = D5();
if (o && !o.isDisposed()) return o;
- let c = S5(), u = r.resume ?? null;
+ let c = x5(), u = r.resume ?? null;
u?.autoplay && (n = !0);
- let d = () => r.source ? Promise.resolve(r.source) : QRe(e), f;
+ let d = () => r.source ? Promise.resolve(r.source) : $Re(e), f;
try {
- f = await tze();
+ f = await nze();
} catch {
return t.controls = !0, d().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -74784,7 +74786,7 @@ async function nze(e, t, n, r = {}) {
remainingTimeDisplay: !1
}
});
- k5(m), m.peachItem = e, MRe(m), m.on("loadedmetadata", () => {
+ O5(m), m.peachItem = e, NRe(m), m.on("loadedmetadata", () => {
let e = m.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && m.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -74792,7 +74794,7 @@ async function nze(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, _ = Number(r.size ?? e.size) || 0, v = PRe(N5(_, e.duration)), y = 0, b = !1, x = () => O5() === m && !m.isDisposed(), S = () => {
+ }, _ = Number(r.size ?? e.size) || 0, v = FRe(M5(_, e.duration)), y = 0, b = !1, x = () => D5() === m && !m.isDisposed(), S = () => {
if (!h || b || !x()) return;
let e = Number(m.duration());
(!Number.isFinite(e) || Math.abs(e - h) > Math.max(2, h * .001)) && (b = !0, m.duration(h), queueMicrotask(() => {
@@ -74803,15 +74805,15 @@ async function nze(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- e7.set(m, w), w.updateStats = () => {
+ $5.set(m, w), w.updateStats = () => {
let n = w.chrome?.statsPanel;
if (!n || n.hidden || !x()) return;
- let o = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, c = t.getBoundingClientRect(), l = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, u = C(), d = q5(), f = u ? R5(e.id, d) : [], p = f.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = f.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let o = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, c = t.getBoundingClientRect(), l = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, u = C(), d = K5(), f = u ? L5(e.id, d) : [], p = f.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = f.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
v.sample(t);
- let S = z5(m, e.id, d, u ? null : v) || (b > 0 ? p * 8 / b : 0), T = u ? p : v.bitrate > 0 ? v.bytes() : v.seconds, E = Math.max(0, T - y);
+ let S = R5(m, e.id, d, u ? null : v) || (b > 0 ? p * 8 / b : 0), T = u ? p : v.bitrate > 0 ? v.bytes() : v.seconds, E = Math.max(0, T - y);
y = T;
- let D = j5(t);
- F5(g.speed, S), F5(g.activity, E), F5(g.buffer, D);
+ let D = A5(t);
+ P5(g.speed, S), P5(g.activity, E), P5(g.buffer, D);
let O = String(e.name || ""), k = (O.includes(".") ? O.split(".").pop() || "" : u ? "" : String(m.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", A = S ? `${(S / 1e6).toFixed(1)} Mbps` : "—", j = u || v.bitrate > 0, M = u ? [
"网络活动",
`${p ? s(p) : "—"} · ${f.length} 请求`,
@@ -74829,17 +74831,17 @@ async function nze(e, t, n, r = {}) {
[
"连接速度",
A,
- L5(g.speed, "speed", Math.max(1e7, ...g.speed), `连接速度 ${A === "—" ? "暂无数据" : A}`)
+ I5(g.speed, "speed", Math.max(1e7, ...g.speed), `连接速度 ${A === "—" ? "暂无数据" : A}`)
],
[
M[0],
M[1],
- L5(g.activity, "activity", Math.max(1, ...g.activity), M[2])
+ I5(g.activity, "activity", Math.max(1, ...g.activity), M[2])
],
[
"缓冲健康",
`${D.toFixed(1)} 秒`,
- L5(g.buffer, "buffer", 30, `当前可连续播放 ${D.toFixed(1)} 秒`)
+ I5(g.buffer, "buffer", 30, `当前可连续播放 ${D.toFixed(1)} 秒`)
],
["播放时间", `${a(t.currentTime)} / ${a(h || m.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -74855,15 +74857,15 @@ async function nze(e, t, n, r = {}) {
if (!n || m.isDisposed()) return;
let r = C();
r || v.sample(t);
- let a = z5(m, e.id, q5(), r ? null : v), o = r ? B5(a) : LRe(a, j5(t));
+ let a = R5(m, e.id, K5(), r ? null : v), o = r ? z5(a) : RRe(a, A5(t));
n.innerHTML = `${l("gauge")}<span class="sr-only">加载速度</span><span>${i(o)}</span>`;
}, O = () => {
let e = w.chrome?.netBadge;
- !e || !e.isConnected || (e.hidden = !1, D(), n7 && clearInterval(n7), n7 = setInterval(D, 500));
+ !e || !e.isConnected || (e.hidden = !1, D(), t7 && clearInterval(t7), t7 = setInterval(D, 500));
}, k = () => {
let e = w.chrome?.netBadge;
- e && (r7 && clearTimeout(r7), r7 = setTimeout(() => {
- e.hidden = !0, n7 &&= (clearInterval(n7), null);
+ e && (n7 && clearTimeout(n7), n7 = setTimeout(() => {
+ e.hidden = !0, t7 &&= (clearInterval(t7), null);
}, 1400));
};
return m.on([
@@ -74875,7 +74877,7 @@ async function nze(e, t, n, r = {}) {
D(), k();
}), m.on("error", () => {
if (T && !E && !m.isDisposed()) {
- E = !0, T = !1, m.src(ZRe(e)), n && m.play()?.catch(() => {});
+ E = !0, T = !1, m.src(QRe(e)), n && m.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && c.loadSourceStatus().then((t) => {
@@ -74886,27 +74888,27 @@ async function nze(e, t, n, r = {}) {
});
}), m.ready(() => {
S();
- let n = BRe(m, t, e.height, r.qualities ?? null);
+ let n = VRe(m, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!x()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !_ && (_ = r, v.bitrate = N5(r, e.duration));
- }).catch(() => {}), URe(m, e, { thumbnail: !r.source }), WRe(m, e), GRe(m), r.source || KRe(m, e.id), w.ready = !0, w.chrome?.statsButton && (w.chrome.statsButton.hidden = !1);
+ r > 0 && !_ && (_ = r, v.bitrate = M5(r, e.duration));
+ }).catch(() => {}), WRe(m, e, { thumbnail: !r.source }), GRe(m, e), KRe(m), r.source || qRe(m, e.id), w.ready = !0, w.chrome?.statsButton && (w.chrome.statsButton.hidden = !1);
}), d().then((e) => {
x() && (T = String(e.type || "").includes("mpegurl"), m.src(e), S(), setTimeout(S, 0), setTimeout(S, 250), u && u.time > 0 && m.one("loadedmetadata", () => {
m.isDisposed() || m.currentTime(u.time);
}), n && m.play()?.catch(() => {}));
}).catch(() => {}), m;
}
-var rze = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function a7(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", rze), e.querySelector(":scope > #playerStatsBtn")) return;
+var ize = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function i7(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", ize), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = FRe(), e.insertBefore(n.content, t);
+ n.innerHTML = IRe(), e.insertBefore(n.content, t);
}
-function o7(e, t) {
- let n = e7.get(e);
+function a7(e, t) {
+ let n = $5.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -74918,26 +74920,26 @@ function o7(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), t7 &&= (clearInterval(t7), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), e7 &&= (clearInterval(e7), null));
};
a.onclick = () => {
if (!o.hidden) {
e();
return;
}
- document.dispatchEvent(new CustomEvent(I5, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), t7 && clearInterval(t7), t7 = setInterval(n.updateStats, 1e3);
+ document.dispatchEvent(new CustomEvent(F5, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), e7 && clearInterval(e7), e7 = setInterval(n.updateStats, 1e3);
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(I5, t), s = () => document.removeEventListener(I5, t);
+ document.addEventListener(F5, t), s = () => document.removeEventListener(F5, t);
}
- let c = e.el().querySelector("video"), l = c ? zRe(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, i7()));
+ let c = e.el().querySelector("video"), l = c ? BRe(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, r7()));
};
return e.one("dispose", d), d;
}
-function s7(e) {
+function o7(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -74953,9 +74955,9 @@ function s7(e) {
e.dispose();
} catch {}
}
-function c7(e, n) {
- let { kind: r, item: i, media: a = null, handedOff: o, onPlayer: s } = n, c = S5(), l = n.chrome === !1 ? null : e.parentElement;
- l && a7(l, e);
+function s7(e, n) {
+ let { kind: r, item: i, media: a = null, handedOff: o, onPlayer: s } = n, c = x5(), l = n.chrome === !1 ? null : e.parentElement;
+ l && i7(l, e);
let u = { resume: n.resume ?? null };
if (r === "follow") u = {
...u,
@@ -74975,16 +74977,16 @@ function c7(e, n) {
method: "POST",
body: JSON.stringify({ id: i.id })
}).catch(() => {});
- }, { once: !0 }), $Re(i, e, {
+ }, { once: !0 }), eze(i, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let d = null, f = !1, p = () => {}, m = () => {
- p(), !(!d || o?.(d)) && (O5() === d && (k5(null), i7()), s7(d));
+ p(), !(!d || o?.(d)) && (D5() === d && (O5(null), r7()), o7(d));
};
- return nze(i, e, n.autoplay ?? c.settings().detailAutoplay, u).then((t) => {
+ return rze(i, e, n.autoplay ?? c.settings().detailAutoplay, u).then((t) => {
if (d = t, f) {
m();
return;
@@ -74993,18 +74995,18 @@ function c7(e, n) {
s?.(null);
return;
}
- l && (p = o7(t, l)), r === "follow" && eze(i, e), s?.(t);
+ l && (p = a7(t, l)), r === "follow" && tze(i, e), s?.(t);
}), () => {
f = !0, m();
};
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var l7 = (e) => ["follow-item", e], ize = (e) => `/api/follow?item=${encodeURIComponent(e)}`, aze = "/api/follow/save", oze = "/api/follow/media/hide";
-async function u7(e, t) {
- let n = await Hi(ize(e), t);
+var c7 = (e) => ["follow-item", e], aze = (e) => `/api/follow?item=${encodeURIComponent(e)}`, oze = "/api/follow/save", sze = "/api/follow/media/hide";
+async function l7(e, t) {
+ let n = await Hi(aze(e), t);
for (let t of n.groups || []) {
- let r = qM(t).find((t) => t.id === e);
+ let r = GM(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -75014,21 +75016,21 @@ async function u7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function sze(e, t) {
- let n = l7(e.id), r = sue(e.id), i = K.getQueryData(UM) ? null : K.fetchQuery({
- queryKey: UM,
- queryFn: () => WM(t)
+async function cze(e, t) {
+ let n = c7(e.id), r = lue(e.id), i = K.getQueryData(VM) ? null : K.fetchQuery({
+ queryKey: VM,
+ queryFn: () => HM(t)
});
r ? K.setQueryData(n, {
...r,
item: r.item
}) : await K.fetchQuery({
queryKey: n,
- queryFn: () => u7(e.id, t)
+ queryFn: () => l7(e.id, t)
}), await i;
}
-function cze(e, t, n, r) {
- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && QM(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function lze(e, t, n, r) {
+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && XM(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -75042,32 +75044,32 @@ function cze(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var lze = (e) => qM(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), uze = {
+var uze = (e) => GM(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), dze = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, dze = {
+}, fze = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function fze(e) {
+function pze(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return uze[t] || t;
+ return dze[t] || t;
} catch {
return "外部文件页";
}
}
-function d7(e, t) {
- return dze[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function u7(e, t) {
+ return fze[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function pze(e, t, n = "") {
+function mze(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -75076,56 +75078,56 @@ function pze(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var mze = (e) => String(e.name || "").trim(), f7 = (e, t) => e.tag_types?.[t] || "unknown", hze = /* @__PURE__ */ new Set([
+var hze = (e) => String(e.name || "").trim(), d7 = (e, t) => e.tag_types?.[t] || "unknown", gze = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function gze(e, t) {
- let n = f7(e, t);
- return `r34-${hze.has(n) ? n : "general"}`;
+function _ze(e, t) {
+ let n = d7(e, t);
+ return `r34-${gze.has(n) ? n : "general"}`;
}
-var p7 = [
+var f7 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function _ze(e, t) {
+function vze(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = p7.indexOf(f7(e, t));
- return n < 0 ? p7.length : n;
+ let n = f7.indexOf(d7(e, t));
+ return n < 0 ? f7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function vze(e, t) {
+function yze(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var yze = (e, t) => ({
+var bze = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), m7 = (e) => e?.size ? { size: e.size } : {};
-function bze(e, t) {
+}), p7 = (e) => e?.size ? { size: e.size } : {};
+function xze(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: d7(t, e),
- ...m7(t),
+ source: u7(t, e),
+ ...p7(t),
position: r + 1,
total: n.length
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: d7(a, e),
- ...m7(a),
+ source: u7(a, e),
+ ...p7(a),
position: 1,
total: 1
}] : e.thumb_url ? [{
@@ -75137,10 +75139,10 @@ function bze(e, t) {
total: 1
}] : [];
}
-var xze = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var Sze = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
-function h7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function m7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
return /* @__PURE__ */ (0, R.jsxs)("aside", {
"data-mix-queue": "",
"data-queue-kind": e,
@@ -75168,7 +75170,7 @@ function h7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function g7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function h7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, R.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -75191,29 +75193,29 @@ function g7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var Sze = ({ label: e, count: t }) => /* @__PURE__ */ (0, R.jsxs)("h3", {
+var Cze = ({ label: e, count: t }) => /* @__PURE__ */ (0, R.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, R.jsx)("span", { children: t })
]
-}), _7 = (e) => Number(e) > 0, Cze = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
+}), g7 = (e) => Number(e) > 0, wze = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: l(e) }
-}), v7 = l("external-link", "externalmark");
-function wze(e) {
+}), _7 = l("external-link", "externalmark");
+function Tze(e) {
let { id: t, actions: n } = e, r = Zn({
- queryKey: l7(t),
- queryFn: ({ signal: e }) => u7(t, e)
+ queryKey: c7(t),
+ queryFn: ({ signal: e }) => l7(t, e)
}), i = Zn({
- queryKey: UM,
- queryFn: ({ signal: e }) => WM(e)
+ queryKey: VM,
+ queryFn: ({ signal: e }) => HM(e)
}), a = (0, L.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, L.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, R.jsx)(Tze, {
+ return r.data ? /* @__PURE__ */ (0, R.jsx)(Eze, {
...e,
data: r.data,
- context: yze(r.data, a),
+ context: bze(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, R.jsx)("div", {
@@ -75222,7 +75224,7 @@ function wze(e) {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, R.jsx)(y7, { onClose: n.close }), /* @__PURE__ */ (0, R.jsx)("div", {
+ children: [/* @__PURE__ */ (0, R.jsx)(v7, { onClose: n.close }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-detail-placeholder": "",
children: r.isError ? /* @__PURE__ */ (0, R.jsx)(ro, {
message: m(r.error),
@@ -75232,7 +75234,7 @@ function wze(e) {
})
});
}
-var y7 = ({ onClose: e }) => /* @__PURE__ */ (0, R.jsx)("button", {
+var v7 = ({ onClose: e }) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75241,8 +75243,8 @@ var y7 = ({ onClose: e }) => /* @__PURE__ */ (0, R.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: l("x") }
});
-function Tze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = cze(s, c, n, i), u = kze(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, L.useState)({
+function Eze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = lze(s, c, n, i), u = kze(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, L.useState)({
key: "",
kind: ""
}), m = {
@@ -75262,20 +75264,20 @@ function Tze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? lze(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, R.jsx)(C7, {
+ let h = !l.embedded.length && l.collection ? uze(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, R.jsx)(S7, {
item: s,
current: l.selected.index,
helpers: a,
actions: o,
onMedia: r
- }) : l.collection ? h ? /* @__PURE__ */ (0, R.jsx)(C7, {
+ }) : l.collection ? h ? /* @__PURE__ */ (0, R.jsx)(S7, {
item: h,
current: null,
helpers: a,
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, R.jsx)(Dze, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Oze, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -75286,7 +75288,7 @@ function Tze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(Eze, {
+ /* @__PURE__ */ (0, R.jsx)(Dze, {
item: s,
media: l,
helpers: a,
@@ -75295,7 +75297,7 @@ function Tze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, R.jsx)(Oze, {
+ /* @__PURE__ */ (0, R.jsx)(C7, {
item: s,
data: e,
context: t,
@@ -75308,8 +75310,8 @@ function Tze({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function Eze({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
- let { kind: o, selected: s, src: c, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, L.useRef)(null), [h, g] = (0, L.useState)(null), _ = bze(e, t), v = s?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? c : e.thumb_url || "", x = e.playable && o === "image" && v && v !== c ? v : "", [S, C] = (0, L.useState)(b), w = (0, L.useRef)({
+function Dze({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
+ let { kind: o, selected: s, src: c, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, L.useRef)(null), [h, g] = (0, L.useState)(null), _ = xze(e, t), v = s?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? c : e.thumb_url || "", x = e.playable && o === "image" && v && v !== c ? v : "", [S, C] = (0, L.useState)(b), w = (0, L.useRef)({
item: e,
selected: s
}), T = (0, L.useRef)(a.failed);
@@ -75339,14 +75341,14 @@ function Eze({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
"--follow-image-arrow-inset": h === null ? void 0 : `${h}px`
},
children: [
- /* @__PURE__ */ (0, R.jsx)(y7, { onClose: r.close }),
+ /* @__PURE__ */ (0, R.jsx)(v7, { onClose: r.close }),
y ? null : b ? /* @__PURE__ */ (0, R.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": _.length ? "" : void 0,
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: _.length ? () => void VA(Math.max(0, d), _) : void 0,
+ onClick: _.length ? () => void RA(Math.max(0, d), _) : void 0,
onError: () => {
if (x && S !== x) {
C(x), a.thumbFallback();
@@ -75358,7 +75360,7 @@ function Eze({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: iN(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: nN(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, R.jsx)("span", { children: "没有可用预览" })]
}),
f ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
@@ -75397,11 +75399,11 @@ function Eze({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
]
});
}
-var b7 = ({ kind: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
+var y7 = ({ kind: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: l(e === "image" ? "image-off" : "play") }
});
-function x7({ src: e }) {
+function b7({ src: e }) {
let [t, n] = (0, L.useState)(!1);
return t ? null : /* @__PURE__ */ (0, R.jsx)("img", {
src: e,
@@ -75411,14 +75413,14 @@ function x7({ src: e }) {
onError: () => n(!0)
});
}
-function S7(e) {
+function x7(e) {
return (0, L.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function Dze({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = QM(e), a = S7(n);
- return /* @__PURE__ */ (0, R.jsx)(h7, {
+function Oze({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = XM(e), a = x7(n);
+ return /* @__PURE__ */ (0, R.jsx)(m7, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
@@ -75426,12 +75428,12 @@ function Dze({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = pze(e, n, i ? n.provider_label : ""), s = i ? iN(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, R.jsxs)(g7, {
+ let i = e.duplicates.includes(n), a = mze(e, n, i ? n.provider_label : ""), s = i ? nN(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, R.jsxs)(h7, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, R.jsx)(x7, { src: n.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(b7, { kind: "video" }), _7(n.duration) ? /* @__PURE__ */ (0, R.jsx)("i", {
+ pic: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, R.jsx)(b7, { src: n.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(y7, { kind: "video" }), g7(n.duration) ? /* @__PURE__ */ (0, R.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: o(n.duration)
@@ -75449,15 +75451,15 @@ function Dze({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, R.jsx)("time", {
dateTime: n.published_at || "",
- children: dN(n)
+ children: lN(n)
})]
})]
}, n.id);
})
});
}
-function C7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = S7(r), c = [];
+function S7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = x7(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -75467,26 +75469,26 @@ function C7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, R.jsx)(h7, {
+ return /* @__PURE__ */ (0, R.jsx)(m7, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, R.jsx)(Sze, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, R.jsx)(Cze, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, R.jsxs)(g7, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, R.jsxs)(h7, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, R.jsx)(x7, { src: n.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(b7, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, R.jsx)(b7, { src: n.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(y7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, R.jsx)("b", {
"data-middle-truncate": "",
- children: mze(n)
+ children: hze(n)
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -75494,13 +75496,13 @@ function C7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpers: u, actions: d }) {
+function C7({ item: e, data: t, context: n, media: r, write: a, issue: s, helpers: u, actions: d }) {
let { kind: f, selected: p, src: m } = r, h = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, g = lN(h, e), _ = sN(e, vze(e, t.sources), n), v = _.credited ? "" : e.author && c(e.author) !== c(_.author) ? e.author : "", y = uN(e, n), b = _ze(e, u.tagLabel), x = e.status === "saved", { busy: S } = a, C = (e) => S.has(e) ? {
+ }, g = sN(h, e), _ = aN(e, yze(e, t.sources), n), v = _.credited ? "" : e.author && c(e.author) !== c(_.author) ? e.author : "", y = cN(e, n), b = vze(e, u.tagLabel), x = e.status === "saved", { busy: S } = a, C = (e) => S.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -75516,22 +75518,20 @@ function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: cN(h, e) + i(e.title) }
+ dangerouslySetInnerHTML: { __html: oN(h, e) + i(e.title) }
}), e.url ? /* @__PURE__ */ (0, R.jsx)("a", {
- className: "externallink",
"data-follow-origin": "",
href: e.url,
target: "_blank",
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: v7 }
+ dangerouslySetInnerHTML: { __html: _7 }
}) : null]
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-follow-detail-identity": "",
children: [/* @__PURE__ */ (0, R.jsx)("span", {
- className: "mav",
"data-follow-source-avatar": "",
dangerouslySetInnerHTML: { __html: _.avatar }
}), /* @__PURE__ */ (0, R.jsxs)("div", { children: [
@@ -75545,8 +75545,8 @@ function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, R.jsx)("span", { children: dN(e) }),
- _7(e.duration) ? /* @__PURE__ */ (0, R.jsx)("span", { children: o(e.duration) }) : null,
+ /* @__PURE__ */ (0, R.jsx)("span", { children: lN(e) }),
+ g7(e.duration) ? /* @__PURE__ */ (0, R.jsx)("span", { children: o(e.duration) }) : null,
g ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: g }
@@ -75576,13 +75576,12 @@ function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
e.resource_urls?.length ? /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-resources": "",
children: e.resource_urls.map((e) => /* @__PURE__ */ (0, R.jsxs)("a", {
- className: "externallink",
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [fze(e), /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [pze(e), /* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: v7 }
+ dangerouslySetInnerHTML: { __html: _7 }
})]
}, e))
}) : null,
@@ -75670,7 +75669,7 @@ function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...C(`restore:${e.index}`),
onClick: () => a.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, R.jsx)(x7, { src: e.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(Cze, { name: "image-off" }), /* @__PURE__ */ (0, R.jsx)("i", { dangerouslySetInnerHTML: { __html: l("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, R.jsx)(b7, { src: e.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(wze, { name: "image-off" }), /* @__PURE__ */ (0, R.jsx)("i", { dangerouslySetInnerHTML: { __html: l("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -75684,8 +75683,7 @@ function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"data-follow-detail-tags": "",
children: b.map((t) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
- className: "tg",
- "data-tag-cat": gze(e, t),
+ "data-tag-cat": _ze(e, t),
"data-follow-tag": t,
onClick: () => d.openTag(t),
children: u.tagLabel(t)
@@ -75696,7 +75694,7 @@ function Oze({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
});
}
function kze(e, t, n) {
- let r = e.id, i = l7(r), [a, o] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, L.useState)(""), l = (e, t) => o((n) => {
+ let r = e.id, i = c7(r), [a, o] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, L.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -75706,17 +75704,17 @@ function kze(e, t, n) {
...t.item,
status: e
}
- }), lue(r, e);
+ }), due(r, e);
}, d = (e) => {
c(m(e) || "操作失败"), t.failure("更新关注状态", e);
}, f = Qn({
- mutationFn: ({ to: e }) => U(rM, {
+ mutationFn: ({ to: e }) => U(tM, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), t.toast(xze(n), { undo: i === "saved" ? void 0 : async () => {
- await U(rM, {
+ u(n), c(""), t.toast(Sze(n), { undo: i === "saved" ? void 0 : async () => {
+ await U(tM, {
item: r,
to: i
}), u(i);
@@ -75725,7 +75723,7 @@ function kze(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Qn({
- mutationFn: () => U(aze, { item: r }),
+ mutationFn: () => U(oze, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -75733,7 +75731,7 @@ function kze(e, t, n) {
onSettled: () => l("save", !1)
}), h = Qn({
mutationFn: async ({ index: e, hidden: t }) => {
- await U(oze, {
+ await U(sze, {
item: r,
media: e,
hidden: t
@@ -75744,7 +75742,7 @@ function kze(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = K.getQueryData(i);
- o && cue(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && uue(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
@@ -76021,7 +76019,7 @@ function tBe({ code: e, coverUrl: t, box: n, onSaved: r }) {
children: /* @__PURE__ */ (0, R.jsx)(G7, { className: "size-3.75" })
}), /* @__PURE__ */ (0, R.jsx)(hy, {
getContainer: () => Qze(o.current),
- children: /* @__PURE__ */ (0, R.jsx)(tj, {
+ children: /* @__PURE__ */ (0, R.jsx)(QA, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
@@ -76037,7 +76035,7 @@ function tBe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})] });
}
function nBe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(null), [l, u] = (0, L.useState)(!0), d = wO(), f = Qn({
+ let [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(null), [l, u] = (0, L.useState)(!0), d = SO(), f = Qn({
mutationFn: (t) => eBe(e, t),
onSuccess: () => {
i(), r();
@@ -76050,15 +76048,15 @@ function nBe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Yce(e, W7);
- c(ZA(t, e, null));
+ } : Qce(e, W7);
+ c(JA(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, R.jsx)(nj, { children: /* @__PURE__ */ (0, R.jsx)(G7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, R.jsx)($A, { children: /* @__PURE__ */ (0, R.jsx)(G7, { className: "size-6" }) }),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -76077,7 +76075,7 @@ function nBe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsx)(EO, {
+ /* @__PURE__ */ (0, R.jsx)(wO, {
icon: Ye,
size: "small",
"aria-label": "关闭",
@@ -76088,24 +76086,24 @@ function nBe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, R.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, R.jsx)(ij, {
+ children: /* @__PURE__ */ (0, R.jsx)(tj, {
src: t,
aspect: l ? W7 : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- YA(e) && p(e);
+ KA(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, R.jsx)(jP, {
+ children: [/* @__PURE__ */ (0, R.jsx)(kP, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(ZA(s, a, W7));
+ u(e), e && s && a && c(JA(s, a, W7));
},
children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -76318,7 +76316,7 @@ function sBe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, R.jsx)(h7, {
+ return /* @__PURE__ */ (0, R.jsx)(m7, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -76331,7 +76329,7 @@ function sBe({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null;
- return /* @__PURE__ */ (0, R.jsxs)(g7, {
+ return /* @__PURE__ */ (0, R.jsxs)(h7, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -77298,15 +77296,15 @@ function bBe(e, t, n, r) {
//#region src/react/stage/stage-player.ts
var Y7 = null, X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = !1, t9 = 0, n9 = null, r9 = () => !1, i9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
function xBe(e, t) {
- Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), ERe({
+ Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), DRe({
...e.player,
stage: () => document.getElementById("stage")
- }), DRe({
+ }), ORe({
inMiniplayer: (e) => X7?.player === e,
kind: (e) => X7?.player === e ? X7.kind : Z7?.kind ?? Q7?.kind ?? "item",
expand: () => S9(),
toMiniplayer: () => C9()
- }), a9 || (a9 = !0, addEventListener("pagehide", () => Y5()));
+ }), a9 || (a9 = !0, addEventListener("pagehide", () => J5()));
}
var a9 = !1;
function o9() {
@@ -77331,7 +77329,7 @@ function c9(e, t) {
Z7 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = c7(s, {
+ let c = s7(s, {
kind: n,
item: r,
media: i,
@@ -77344,12 +77342,12 @@ function c9(e, t) {
});
return () => {
let e = !!o.player && X7?.player === o.player;
- Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Y5());
+ Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), J5());
};
}
function CBe(e, t) {
let { player: n } = t;
- y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), a7(e), e.append(n.el()), k5(n);
+ y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), i7(e), e.append(n.el()), O5(n);
let r = {
player: n,
kind: t.kind,
@@ -77358,9 +77356,9 @@ function CBe(e, t) {
key: t.key
};
Z7 = r;
- let i = o7(n, e);
- return A5(n), () => {
- Z7 === r && (Z7 = null), i(), X7?.player !== n && (O5() === n && k5(null), s7(n), Y5());
+ let i = a7(n, e);
+ return k5(n), () => {
+ Z7 === r && (Z7 = null), i(), X7?.player !== n && (D5() === n && O5(null), o7(n), J5());
};
}
var l9 = () => {
@@ -77476,13 +77474,13 @@ function kBe(e, t) {
off: [],
pending: !1
};
- X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), OBe(), A5(e.player);
+ X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), OBe(), k5(e.player);
}
function x9() {
let e = X7;
e && y9(e), X7 = null, t9++;
let t = e?.player ?? null;
- t && O5() === t && k5(null), s7(t), t && Y5(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), E5(), b9();
+ t && D5() === t && O5(null), o7(t), t && J5(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), T5(), b9();
}
function S9() {
if (!d9() || !X7) return;
@@ -77519,7 +77517,7 @@ async function jBe(e) {
}
o9().cache(r);
let i = X7;
- y9(i), O5() === i.player && k5(null), s7(i.player), Y5(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ y9(i), D5() === i.player && O5(null), o7(i.player), J5(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let a = document.createElement("video");
a.className = "video-js", a.setAttribute("playsinline", ""), a.preload = "metadata", $7.frame.prepend(a);
let o = {
@@ -77528,14 +77526,14 @@ async function jBe(e) {
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- f9(o), c7(a, {
+ f9(o), s7(a, {
kind: "item",
item: r,
autoplay: !0,
chrome: !1,
onPlayer: (t) => {
if (n !== t9) {
- t && O5() === t && k5(null), s7(t);
+ t && D5() === t && O5(null), o7(t);
return;
}
if (!t) {
@@ -77740,7 +77738,7 @@ function IBe() {
}
function R9() {
let e = IBe();
- (0, Re.flushSync)(() => e.render(/* @__PURE__ */ (0, R.jsx)(HI, { children: /* @__PURE__ */ (0, R.jsx)(LBe, { view: j9 }) })));
+ (0, Re.flushSync)(() => e.render(/* @__PURE__ */ (0, R.jsx)(UI, { children: /* @__PURE__ */ (0, R.jsx)(LBe, { view: j9 }) })));
}
function LBe({ view: e }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [e ? /* @__PURE__ */ (0, R.jsx)(RBe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, R.jsx)(NBe, {})] });
@@ -77749,7 +77747,7 @@ var z9 = () => /* @__PURE__ */ (0, R.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: TRe() }
+ dangerouslySetInnerHTML: { __html: ERe() }
});
function B9(e) {
let t = e.currentTarget;
@@ -77765,7 +77763,7 @@ function RBe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, R.jsx)(rBe, { ...r.props }) : /* @__PURE__ */ (0, R.jsx)(wze, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, R.jsx)(rBe, { ...r.props }) : /* @__PURE__ */ (0, R.jsx)(Tze, { ...r.props });
return /* @__PURE__ */ (0, R.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -77893,7 +77891,7 @@ async function VBe(e) {
w(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = j9.content;
try {
- i.kind === "item" ? await Fze(i.props, n.signal) : await sze(i.props, n.signal);
+ i.kind === "item" ? await Fze(i.props, n.signal) : await cze(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -77920,7 +77918,7 @@ function HBe() {
function U9({ miniplayer: e = !0 } = {}) {
if (M9++, N9?.abort(), N9 = null, wBe(e), !j9) return;
let t = I9();
- t && L9().release(t), E5(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
+ t && L9().release(t), T5(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
}
function UBe(e) {
!j9 || j9.content.kind !== "item" || (j9 = {
@@ -77950,7 +77948,7 @@ var GBe = {
isOpen: () => !!j9,
activeVideo: () => DBe(),
toggleTheater: () => {
- j9 && W5(!L9().player.settings().theaterMode);
+ j9 && U5(!L9().player.settings().theaterMode);
},
toggleMiniplayer: () => C9(),
closeMiniplayer: () => x9(),
@@ -78635,7 +78633,7 @@ var _Ve = /*#__PURE__*/ L.forwardRef(function(e, t) {
//#region src/react/entry.tsx
function $9(e) {
return (t, n) => {
- let r = (0, ze.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, R.jsx)(HI, { children: /* @__PURE__ */ (0, R.jsx)(e, { ...t }) }));
+ let r = (0, ze.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, R.jsx)(UI, { children: /* @__PURE__ */ (0, R.jsx)(e, { ...t }) }));
return (0, Re.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
@@ -78652,77 +78650,77 @@ var bVe = {
mount: $9(Io)
},
configuration: {
- prefetch: (e, t) => sL(t),
- mount: $9(rhe)
+ prefetch: (e, t) => cL(t),
+ mount: $9(nhe)
},
"data-cleanup": {
prefetch: (e, t) => Yl(t),
- mount: $9(jse)
+ mount: $9(Fse)
},
duplicates: {
prefetch: (e, t) => ts(t),
- mount: $9(zse)
+ mount: $9(Hse)
},
"catalog-filter": {
prefetch: async () => {},
- mount: $9(Yse)
+ mount: $9(Qse)
},
"entity-page": {
- prefetch: (e) => hce(e),
- mount: $9(_le)
+ prefetch: (e) => vce(e),
+ mount: $9(yle)
},
"feed-new": {
- prefetch: uce,
- mount: $9(xle)
+ prefetch: sA,
+ mount: $9(Cle)
},
"follow-feed": {
- prefetch: oue,
- mount: $9(Oue)
+ prefetch: cue,
+ mount: $9(Aue)
},
"follow-manage": {
- prefetch: (e, t) => Qle(t, e.tab),
- mount: $9(Vfe)
+ prefetch: (e, t) => eue(t, e.tab),
+ mount: $9(Hfe)
},
index: {
- prefetch: (e, t) => Ece(e, t),
- mount: $9(epe)
+ prefetch: (e, t) => kce(e, t),
+ mount: $9(tpe)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(_pe)
+ mount: $9(gpe)
},
"library-processing": {
prefetch: (e, t) => fs(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, R.jsx)(Cpe, { ...e }) : /* @__PURE__ */ (0, R.jsx)(WO, { ...e }))
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, R.jsx)(Spe, { ...e }) : /* @__PURE__ */ (0, R.jsx)(HO, { ...e }))
},
playlists: {
- prefetch: (e, t) => Tpe(t),
- mount: $9(Lpe)
+ prefetch: (e, t) => wpe(t),
+ mount: $9(Ipe)
},
"quality-goals": {
prefetch: (e, t) => Rs(t),
- mount: $9(zpe)
+ mount: $9(Rpe)
},
review: {
prefetch: (e, t) => yc(t),
- mount: $9(nme)
+ mount: $9(tme)
},
search: {
prefetch: async () => {},
- mount: $9(cce)
+ mount: $9(dce)
},
scraping: {
- prefetch: (e, t) => lme(t),
- mount: $9(gme)
+ prefetch: (e, t) => cme(t),
+ mount: $9(hme)
},
stats: {
- prefetch: (e, t) => ahe(t),
- mount: $9(gIe)
+ prefetch: (e, t) => ihe(t),
+ mount: $9(_Ie)
},
taste: {
- prefetch: (e, t) => BIe("all", t),
- mount: $9(BLe)
+ prefetch: (e, t) => VIe("all", t),
+ mount: $9(VLe)
}
};
//#endregion
-export { uRe as configureSettingsPanel, KBe as configureStage, vVe as mountToaster, bVe as pages, yVe as showToast };
+export { dRe as configureSettingsPanel, KBe as configureStage, vVe as mountToaster, bVe as pages, yVe as showToast };