Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 对齐收藏导航阴影与配置入口

longmeidao9a58b6676c33
diff --git a/frontend/e2e/library-shortcuts.test.ts b/frontend/e2e/library-shortcuts.test.ts
index 87da4ddb8..4caf164ac 100644
--- a/frontend/e2e/library-shortcuts.test.ts
+++ b/frontend/e2e/library-shortcuts.test.ts
@@ -47,14 +47,18 @@ describe('我的收藏弹层', () => {
try {
await page.locator('#settingsBtn').evaluate((button: HTMLElement) => button.click());
await page.locator('#settingsPanel:not([hidden])').waitFor();
- const setting = await page.evaluate(() => {
+ const setting = await page.evaluate((mobile) => {
const card = document.querySelector('[data-settings-card]')!, nav = card.querySelector('[data-settings-nav]')!, heading = card.querySelector('h2')!;
const surface = getComputedStyle(card), glass = getComputedStyle(nav), title = getComputedStyle(heading);
- return { width: card.getBoundingClientRect().width, height: card.getBoundingClientRect().height,
+ const pick = getComputedStyle(nav.querySelector('[data-settings-glide]')!);
+ const action = getComputedStyle(nav.querySelector('[data-settings-service] button')!);
+ return { pick: { radius: pick.borderRadius, image: pick.backgroundImage, shadow: pick.boxShadow, backdrop: pick.backdropFilter },
+ action: mobile ? null : { padding: action.padding, radius: action.borderRadius, font: action.fontFamily, size: action.fontSize, weight: action.fontWeight, line: action.lineHeight, color: action.color, height: action.minHeight, gap: action.gap },
+ width: card.getBoundingClientRect().width, height: card.getBoundingClientRect().height,
radius: surface.borderRadius, background: surface.backgroundColor, shadow: surface.boxShadow,
image: glass.backgroundImage, backdrop: glass.backdropFilter.replace(/#peach-optic-\d+/g, '#peach-optic'), drift: glass.animationName,
font: title.fontSize, weight: title.fontWeight, line: title.lineHeight };
- });
+ }, viewport.mobile);
await page.locator('#settingsClose').click();
await page.locator('#settingsPanel').waitFor({ state: 'hidden' });
await page.getByRole('button', { name: '我的收藏', exact: true }).click();
@@ -67,12 +71,27 @@ describe('我的收藏弹层', () => {
const collection = await dialog.evaluate((node, mobile) => {
const card = node.closest('[data-modal-surface]')!, nav = node.querySelector(mobile ? '[data-shortcuts-categories]' : '[data-shortcuts-sidebar]')!, heading = node.querySelector('h2')!;
const surface = getComputedStyle(card), glass = getComputedStyle(nav), title = getComputedStyle(heading);
- return { width: card.getBoundingClientRect().width, height: card.getBoundingClientRect().height,
+ const pick = getComputedStyle(node.querySelector('[data-shortcuts-glide]')!);
+ const action = getComputedStyle(node.querySelector('[data-shortcuts-footer] a')!);
+ return { pick: { radius: pick.borderRadius, image: pick.backgroundImage, shadow: pick.boxShadow, backdrop: pick.backdropFilter },
+ action: mobile ? null : { padding: action.padding, radius: action.borderRadius, font: action.fontFamily, size: action.fontSize, weight: action.fontWeight, line: action.lineHeight, color: action.color, height: action.minHeight, gap: action.gap },
+ width: card.getBoundingClientRect().width, height: card.getBoundingClientRect().height,
radius: surface.borderRadius, background: surface.backgroundColor, shadow: surface.boxShadow,
image: glass.backgroundImage, backdrop: glass.backdropFilter.replace(/#peach-optic-\d+/g, '#peach-optic'), drift: glass.animationName,
font: title.fontSize, weight: title.fontWeight, line: title.lineHeight };
}, viewport.mobile);
assert.deepEqual(collection, setting, '收藏弹层与设置共用尺寸、材质、落影与标题排版');
+ const iconColors = await dialog.locator('[data-shortcuts-categories] button svg, [data-shortcuts-footer] a svg').evaluateAll(icons => icons.map(icon => getComputedStyle(icon).color));
+ const selectedColor = await dialog.locator('[data-shortcuts-categories] [aria-selected="true"]').evaluate(tab => getComputedStyle(tab).color);
+ assert.ok(iconColors.every(color => color === selectedColor), JSON.stringify(iconColors));
+ if (!viewport.mobile) {
+ const clipping = await dialog.evaluate(node => {
+ const sidebar = node.querySelector('[data-shortcuts-sidebar]')!.getBoundingClientRect();
+ const categories = node.querySelector('[data-shortcuts-categories]')!.getBoundingClientRect();
+ return [categories.left - sidebar.left, sidebar.right - categories.right];
+ });
+ assert.ok(clipping.every(edge => Math.abs(edge) < 1), JSON.stringify(clipping));
+ }
assert.equal(await dialog.getByRole('link', { name: '已标记', exact: true }).getAttribute('href'), '/flagged');
assert.equal(await dialog.getByRole('link', { name: '稍后看', exact: true }).getAttribute('href'), '/watch-later');
assert.equal(await dialog.getByRole('textbox', { name: '筛选名称' }).count(), 0);
diff --git a/frontend/src/react/library-shortcuts/shortcut-controls.tsx b/frontend/src/react/library-shortcuts/shortcut-controls.tsx
index 7b450f9d9..bd101a2e9 100644
--- a/frontend/src/react/library-shortcuts/shortcut-controls.tsx
+++ b/frontend/src/react/library-shortcuts/shortcut-controls.tsx
@@ -15,6 +15,7 @@ import './shortcuts.css';
const Star = spriteGlyph('star');
const Bookmark = spriteGlyph('bookmark-plus');
+const ChevronRight = spriteGlyph('chevron-right');
const LABELS: Record<string, string> = { performer: '艺人', creator: '创作者', studio: '片商与厂牌', series: '系列', agency: '事务所', tag: '标签' };
const GLYPHS = { all: spriteGlyph('star'), performer: spriteGlyph('user-round'), creator: spriteGlyph('user-round'), studio: spriteGlyph('clapperboard'), series: spriteGlyph('film'), agency: spriteGlyph('briefcase'), tag: spriteGlyph('tags'), filters: spriteGlyph('list-filter') };
const SCOPES = [['all', '全部'], ...Object.entries(LABELS), ['filters', '保存的筛选']];
@@ -129,8 +130,8 @@ function ShortcutContents({ currentHref, kind, close }: { currentHref?: () => st
})}
</div>
<nav data-shortcuts-footer="" aria-label="收藏作品清单">
- <a href="/flagged" onClick={close}><Star aria-hidden />已标记</a>
- <a href="/watch-later" onClick={close}><Bookmark aria-hidden />稍后看</a>
+ <a href="/flagged" onClick={close}><Star aria-hidden />已标记<ChevronRight aria-hidden /></a>
+ <a href="/watch-later" onClick={close}><Bookmark aria-hidden />稍后看<ChevronRight aria-hidden /></a>
</nav>
</aside>
<div ref={content} data-shortcuts-content="" role="tabpanel" id={`${id}-content`} aria-labelledby={`${id}-${scope}`} tabIndex={0} className="flex min-h-0 min-w-0 flex-col gap-4 overflow-y-auto overscroll-contain">
diff --git a/frontend/src/react/library-shortcuts/shortcuts.css b/frontend/src/react/library-shortcuts/shortcuts.css
index f923ee623..91c09331d 100644
--- a/frontend/src/react/library-shortcuts/shortcuts.css
+++ b/frontend/src/react/library-shortcuts/shortcuts.css
@@ -35,16 +35,17 @@
.peach-react [data-shortcuts-head] { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 32px 32px 24px; }
.peach-react [data-shortcuts-head] h2 { font-size: var(--fs-xl); font-weight: 500; line-height: 26px; }
.peach-react [data-shortcuts-sidebar] { grid-column: 1; grid-row: 1 / 3; display: flex; min-height: 0; flex-direction: column; padding: 10px; border: 0; 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); }
-.peach-react [data-shortcuts-categories] { position: relative; display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 4px; overflow-y: auto; scrollbar-width: none; }
+.peach-react [data-shortcuts-categories] { position: relative; display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 4px; overflow-y: auto; margin-inline: -10px; padding-inline: 10px; scrollbar-width: none; }
.peach-react [data-shortcuts-caption] { position: relative; z-index: 1; margin: 0; padding: 4px 8px 8px; font-size: var(--fs-xs); color: var(--muted); }
.peach-react [data-shortcuts-categories] > button { position: relative; z-index: 1; display: flex; flex: none; align-items: center; gap: 8px; padding: 8px; min-height: 36px; border: 0; border-radius: var(--control-radius); background: transparent; color: color-mix(in srgb, var(--glass-text) 65%, transparent); font: var(--board-body-medium); text-align: left; cursor: pointer; }
.peach-react [data-shortcuts-categories] > button:is(:hover, [aria-selected="true"]) { background: transparent; color: var(--glass-text); }
-.peach-react [data-shortcuts-categories] > [data-shortcuts-glide] { border-radius: var(--control-radius); }
+.peach-react :is([data-shortcuts-categories], [data-shortcuts-footer]) svg { color: var(--glass-text); }
.peach-react [data-shortcuts-categories] > button:focus-visible { outline: 2px solid var(--tungsten); outline-offset: -2px; }
.peach-react [data-shortcuts-count] { margin-left: auto; color: var(--muted); font: var(--board-caption); }
-.peach-react [data-shortcuts-footer] { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--border-10); }
-.peach-react [data-shortcuts-footer] a { display: flex; align-items: center; gap: 8px; padding: 8px; min-height: 36px; border-radius: var(--control-radius); color: var(--muted); }
-.peach-react [data-shortcuts-footer] a:hover { background: var(--hover); }
+.peach-react [data-shortcuts-footer] { display: flex; flex-direction: column; gap: 4px; }
+.peach-react [data-shortcuts-footer] a { width: 100%; background: transparent; font-family: var(--board-font); line-height: 20px; }
+.peach-react [data-shortcuts-footer] a:hover { background: transparent; }
+.peach-react [data-shortcuts-footer] a > svg:last-child { margin-left: auto; }
.peach-react [data-shortcuts-footer] a:focus-visible { outline: 2px solid var(--tungsten); outline-offset: -2px; }
.peach-react [data-shortcuts-footer] svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.peach-react [data-shortcuts-content] { grid-column: 2; padding: 16px 32px 32px; }
@@ -57,7 +58,7 @@
.peach-react [data-modal-width="collections"] { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
.peach-react [data-shortcuts-panel] { display: flex; flex-direction: column; }
.peach-react [data-shortcuts-sidebar] { display: contents; }
- .peach-react [data-shortcuts-categories] { order: 0; flex: none; flex-direction: row; overflow-x: auto; padding: 10px; border-bottom: 1px solid var(--border-10); }
+ .peach-react [data-shortcuts-categories] { order: 0; flex: none; flex-direction: row; overflow-x: auto; margin-inline: 0; padding: 10px; border-bottom: 1px solid var(--border-10); }
.peach-react [data-shortcuts-caption] { flex: none; align-self: center; padding: 0 8px 0 0; white-space: nowrap; }
.peach-react [data-shortcuts-categories] > button { white-space: nowrap; }
.peach-react [data-shortcuts-head] { order: 1; padding: 16px 20px 12px; }
diff --git a/frontend/src/react/settings-panel/settings-panel.css b/frontend/src/react/settings-panel/settings-panel.css
index 7488a8de2..1090c5d7f 100644
--- a/frontend/src/react/settings-panel/settings-panel.css
+++ b/frontend/src/react/settings-panel/settings-panel.css
@@ -226,8 +226,8 @@
/* 左栏分块:一个小标题带一组条目。第一块贴着栏顶,后面每块自己往上让 12px 断开。 */
[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{margin:12px 0 0;font-size:13px;color:var(--muted);padding:4px 8px 8px}
[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{flex:0 0 auto;justify-content:flex-start;padding:8px;border:0;border-radius:10px;font-size:14px;min-height:36px;font-weight:500}
-[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{display:flex;align-items:center;gap:8px}
+:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){flex:0 0 auto;justify-content:flex-start;padding:8px;border:0;border-radius:10px;font-size:14px;min-height:36px;font-weight:500}
+:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){display:flex;align-items:center;gap:8px}
[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:20px;height:20px;fill:currentColor;stroke:none;flex:none}
/* 这一列自己不铺底,当前那一条的填充由 `[data-settings-glide]` 那块滑过去的玻璃提供——跟筛选条上
四枚视图、左侧抽屉那一列是同一套做法。两边都铺的话,静止态就是一块不透明的
@@ -235,12 +235,12 @@
文字色走 `--glass-text`:这一列站在玻璃上,跟着卡片的 `--ink` 走会在玻璃的提亮
之后偏灰。按钮抬到玻璃之上,玻璃自己是 `z-index:0`。 */
[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){position:relative;z-index:1}
-[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}
+:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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]{background:none;box-shadow:none;color:var(--glass-text)}
-[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}
+:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}
/* 这块玻璃扣在一条 10px 圆角的按钮上,跟着它走;下面那条通用形状里的 8px 是筛选条上那排
药丸的圆角。 */
-[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}
+:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}
/* 顶边那道高光不要:它是给浮在页面上的玻璃打边用的,而这一栏嵌在卡片里、上边贴着卡片
自己的圆角,那道白线横在「设置」上面,读起来像卡片被切成了上下两截。其余三面的内描边
和落影照旧。 */
@@ -283,7 +283,7 @@ html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-
这里只管形状和材质。`left:0` 不能省:只写 `top` 的话水平方向回落到静态位置,再叠上按
`offsetLeft` 算的位移,整块会右移一个内边距。形变走 `scale` 与 `translate` 两个独立属性,
两段动画都交给合成线程;描边和圆角跟着缩放抻开一瞬,是要的那种「被拽着走」。 */
-[data-settings-panel] [data-settings-nav]>[data-settings-glide]{position:absolute;left:0;top:0;z-index:0;pointer-events:none;border-radius:8px;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)}
+:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){position:absolute;left:0;top:0;z-index:0;pointer-events:none;border-radius:8px;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)}
[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}
@supports not (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}}
@@ -408,7 +408,7 @@ html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data
/* ── 分区切换与开合 ──
* 分区切换靠 `hidden`:分组上写了 `display`,这一条要压过它们。 */
[data-settings-panel] [data-setting-group][hidden]{display:none!important}
-[data-settings-panel] [data-settings-service]{position:relative;z-index:1;margin-top:auto;padding-top:16px;border-top:1px solid var(--line-soft)}
+:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){position:relative;z-index:1;margin-top:auto;padding-top:16px;border-top:1px solid var(--line-soft)}
[data-settings-panel] [data-settings-service] button{width:100%}
[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}
[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^="#i-"]){fill:none;stroke:currentColor;stroke-width:2}
diff --git a/src/peach/routes_media.py b/src/peach/routes_media.py
index 52d5ab965..f1c965e25 100644
--- a/src/peach/routes_media.py
+++ b/src/peach/routes_media.py
@@ -999,6 +999,11 @@ def follow_image(request: Request, id: int, media: int | None = None,
return Response(status_code=404, headers={"cache-control": "no-store"})
+def _jav_preview_target(url: str) -> ResolvedFollowMedia:
+ """已验证的预览来源使用固定主机范围,其他 CDN 逐跳核对公网解析。"""
+ return ResolvedFollowMedia(url, allowed_hosts=("www.prestige-av.com", "jdforrepam.com"), public_hosts=True)
+
+
@router.api_route("/jav-preview/{code}/{ref}", methods=["GET", "HEAD"])
def jav_preview(request: Request, code: str, ref: str, args: dict[str, str] = Depends(require_auth)):
from .web_jav_detail import detail_code
@@ -1008,11 +1013,11 @@ def jav_preview(request: Request, code: str, ref: str, args: dict[str, str] = De
code = detail_code({"code": code})
source = previews.source(code, ref)
url = source["url"]
- target = ResolvedFollowMedia(url, public_hosts=True)
+ target = _jav_preview_target(url)
client = request.app.state.http_transport.client
if source["playlist"]:
def fetch(url):
- response = open_upstream(client, "GET", ResolvedFollowMedia(url, public_hosts=True), incoming={})
+ response = open_upstream(client, "GET", _jav_preview_target(url), incoming={})
try:
chunks, size = [], 0
for chunk in response.iter_bytes():
diff --git a/tests/test_fastapi_api.py b/tests/test_fastapi_api.py
index 4fc197934..b4fa93b8c 100644
--- a/tests/test_fastapi_api.py
+++ b/tests/test_fastapi_api.py
@@ -2228,7 +2228,7 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):
fake = httpx.Client(transport=httpx.MockTransport(upstream))
self.app.state.http_transport.client = fake
try:
- with patch('peach.follow_stream.resolves_publicly', return_value=True):
+ with patch('peach.follow_stream.resolves_publicly', return_value=False):
response = await self.client.get(f'/jav-preview/EXM-001/{ref}?t=secret')
self.assertEqual(response.status_code, 200)
self.assertEqual(response.headers['content-type'], 'video/mp4')
@@ -2247,6 +2247,44 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):
self.app.state.http_transport.client = original
fake.close()
+ async def test_preview_fixed_sources_and_hls_keep_unknown_hosts_guarded(self):
+ from peach.preview_cache import PreviewCache
+ from peach.remote_media_cache import cache_for
+ cache = cache_for(self.app.state.web_contract)
+ previews = PreviewCache(cache)
+ calls = []
+ def upstream(request):
+ calls.append(str(request.url))
+ if request.url.path.endswith('redirect.mp4'):
+ return httpx.Response(302, headers={'location': 'https://private.example/video.mp4'}, request=request)
+ body = b'#EXTM3U\n#EXT-X-TARGETDURATION:4\n#EXTINF:4,\npart.ts\n#EXT-X-ENDLIST\n' if request.url.path.endswith('.m3u8') else b'media'
+ kind = 'application/vnd.apple.mpegurl' if request.url.path.endswith('.m3u8') else 'video/mp2t'
+ return httpx.Response(200, headers={'content-type': kind, 'content-length': str(len(body))},
+ stream=httpx.ByteStream(body), request=request)
+ original = self.app.state.http_transport.client
+ fake = httpx.Client(transport=httpx.MockTransport(upstream))
+ self.app.state.http_transport.client = fake
+ try:
+ with patch('peach.follow_stream.resolves_publicly', return_value=False):
+ ref = previews.register('EXM-010', 'https://jdforrepam.com/api/preview/root.m3u8', playlist=True)
+ playlist = await self.client.get(f'/jav-preview/EXM-010/{ref}?t=secret')
+ self.assertEqual(playlist.status_code, 200)
+ segment = next(line for line in playlist.text.splitlines() if line.startswith('/jav-preview/'))
+ self.assertEqual((await self.client.get(segment + '?t=secret')).content, b'media')
+ self.assertEqual(len(calls), 2)
+ for index, url in enumerate(('https://private.example/video.mp4',
+ 'https://www.prestige-av.com/api/media/redirect.mp4')):
+ code = f'EXM-{20 + index:03d}'
+ ref = previews.register(code, url, playlist=False)
+ failed = await self.client.get(f'/jav-preview/{code}/{ref}?t=secret')
+ self.assertEqual(failed.status_code, 404)
+ self.assertEqual(failed.headers['cache-control'], 'no-store')
+ self.assertEqual(len(calls), 3)
+ self.assertTrue(all('private.example' not in url for url in calls))
+ finally:
+ self.app.state.http_transport.client = original
+ fake.close()
+
async def test_follow_image_failure_has_no_image_body_and_can_be_retried(self):
from types import SimpleNamespace
item = SimpleNamespace(id=28, provider='simpcity', url='https://simpcity.cr/post/28',
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index b7acffa06..5dda9b1db 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.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)))){:root,:host{--edge-pull:0px}*,: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-200:oklch(89.9% .061 343.231);--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;--container-4xl:56rem;--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;--tracking-normal:0em;--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;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) 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-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--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-2{z-index:2}.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-6{margin-top:calc(var(--spacing) * 6)}.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-2{margin-left:calc(var(--spacing) * -2)}.-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}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-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-5{height:calc(var(--spacing) * 5)}.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-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.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-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.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-3\/4{width:75%}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.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-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.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-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.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)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.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-pulse{animation:var(--animate-pulse)}.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-around{justify-content:space-around}.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-1{column-gap:var(--spacing)}.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-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.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-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.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)}}.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-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.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-blue-300{background-color:var(--color-blue-300)}.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-lime-200{background-color:var(--color-lime-200)}.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-pink-200{background-color:var(--color-pink-200)}.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-6{padding-block:calc(var(--spacing) * 6)}.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}.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-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--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}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.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-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.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)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.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-\(--muted\){color:var(--muted)}.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-blue-900{color:var(--color-blue-900)}.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-lime-700{color:var(--color-lime-700)}.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-pink-500{color:var(--color-pink-500)}.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)}.lowercase{text-transform:lowercase}.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-\[width\,height\,font-size\]{transition-property:width,height,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\: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-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.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)}.max-sm\: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))}.max-sm\: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))}}@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{flex-direction:row}.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\:hidden{display:none}.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\:w-60{width:calc(var(--spacing) * 60)}}.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)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>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(min(100%, 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:16px;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;-webkit-user-select:none;user-select:none}.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]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.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;min-height:calc(var(--card-meta-block) + 16px);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 :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);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-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);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]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@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;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.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 :is([data-previewing],[data-media-card]:has(:focus-visible)) [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]>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]:is(:hover,:has(:focus-visible)) [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]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.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 :is(button,a)[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]>*+:not(:has(img)){margin-left:-8px}.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 :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.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-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.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=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.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]{flex:1 1 0}.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-text]>[data-media-tags]{margin-top:6px}.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-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.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);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.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;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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-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-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.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]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;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-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.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] 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=classification]{white-space:nowrap;flex:none}.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{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;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.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);overflow-wrap:anywhere;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]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;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;overflow:hidden}.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]>:where(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-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.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 [data-entity-filter-glass] [data-entity-readout]{flex:none}.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 24px;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]),.peach-react [data-catalog-tags]>[data-skeleton=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-summary]{flex:none;align-items:center;gap:12px;display:flex}@media (width<=760px){.peach-react [data-catalog-frame]>[data-filter-row=bottom]{flex-wrap:wrap}.peach-react [data-catalog-frame] [data-entity-sorts]{width:100%;margin-left:0}.peach-react [data-catalog-summary]{max-width:100%}.peach-react [data-catalog-summary] [data-catalog-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}}.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~=ui-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-results]+[data-search-group],.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;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.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=more]{justify-content:space-between;margin-top:7px}.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;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.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-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.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);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.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([data-follow-authors],[data-follow-works])>:is(button,a){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;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[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 [data-follow-works]>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(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.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]:has(>[data-media-card]){row-gap:0}.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-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.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;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.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 .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.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{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.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]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.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;transition:opacity .15s;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}.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-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.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]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;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-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.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-sources] [data-follow-seealso]{border-radius:var(--control-radius);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);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.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);overflow-wrap:anywhere;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-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.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-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [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]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.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-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.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;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;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-want][aria-pressed=true] svg{fill:currentColor}.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)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.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-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [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:top;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 button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[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 :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.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;max-width:100%;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]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.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:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.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-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.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;white-space:nowrap;-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 (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@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-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[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{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[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}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@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";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-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[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;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[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-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[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"}[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-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[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);overflow-wrap:anywhere;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-detail-continuation]>[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"}[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-detail-continuation]>[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:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[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}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@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);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-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~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-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~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-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}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--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~=ui-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){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){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}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{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~=ui-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~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-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~=ui-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~=ui-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}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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~=ui-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}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}: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 [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{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}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em: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 skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@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%)}}.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-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.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]>*+:not(:has(img)){margin-left:-8px}.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-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)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-favorite]){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 :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-shortcuts-trigger]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-shortcuts-trigger]:hover{background:var(--hover)}.peach-react [data-shortcuts-trigger]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-trigger] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;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);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]{border-radius:var(--control-radius)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{border-top:1px solid var(--border-10);flex-direction:column;gap:4px;padding-top:12px;display:flex}.peach-react [data-shortcuts-footer] a{border-radius:var(--control-radius);min-height:36px;color:var(--muted);align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-shortcuts-footer] a:hover{background:var(--hover)}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{fill:none;stroke:currentColor;width:20px;height:20px}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);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;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]: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}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,: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-200:oklch(89.9% .061 343.231);--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;--container-4xl:56rem;--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;--tracking-normal:0em;--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;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) 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-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--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-2{z-index:2}.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-6{margin-top:calc(var(--spacing) * 6)}.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-2{margin-left:calc(var(--spacing) * -2)}.-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}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-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-5{height:calc(var(--spacing) * 5)}.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-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.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-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.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-3\/4{width:75%}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.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-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.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-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.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)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.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-pulse{animation:var(--animate-pulse)}.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-around{justify-content:space-around}.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-1{column-gap:var(--spacing)}.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-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.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-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.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)}}.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-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.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-blue-300{background-color:var(--color-blue-300)}.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-lime-200{background-color:var(--color-lime-200)}.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-pink-200{background-color:var(--color-pink-200)}.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-6{padding-block:calc(var(--spacing) * 6)}.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}.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-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--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}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.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-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.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)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.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-\(--muted\){color:var(--muted)}.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-blue-900{color:var(--color-blue-900)}.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-lime-700{color:var(--color-lime-700)}.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-pink-500{color:var(--color-pink-500)}.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)}.lowercase{text-transform:lowercase}.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-\[width\,height\,font-size\]{transition-property:width,height,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\: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-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.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)}.max-sm\: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))}.max-sm\: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))}}@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{flex-direction:row}.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\:hidden{display:none}.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\:w-60{width:calc(var(--spacing) * 60)}}.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)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>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(min(100%, 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:16px;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;-webkit-user-select:none;user-select:none}.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]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.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;min-height:calc(var(--card-meta-block) + 16px);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 :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);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-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);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]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@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;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.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 :is([data-previewing],[data-media-card]:has(:focus-visible)) [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]>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]:is(:hover,:has(:focus-visible)) [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]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.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 :is(button,a)[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]>*+:not(:has(img)){margin-left:-8px}.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 :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.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-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.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=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.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]{flex:1 1 0}.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-text]>[data-media-tags]{margin-top:6px}.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-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.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);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.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;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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-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-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.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]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;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-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.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] 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=classification]{white-space:nowrap;flex:none}.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{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;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.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);overflow-wrap:anywhere;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]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;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;overflow:hidden}.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]>:where(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-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.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 [data-entity-filter-glass] [data-entity-readout]{flex:none}.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 24px;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]),.peach-react [data-catalog-tags]>[data-skeleton=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-summary]{flex:none;align-items:center;gap:12px;display:flex}@media (width<=760px){.peach-react [data-catalog-frame]>[data-filter-row=bottom]{flex-wrap:wrap}.peach-react [data-catalog-frame] [data-entity-sorts]{width:100%;margin-left:0}.peach-react [data-catalog-summary]{max-width:100%}.peach-react [data-catalog-summary] [data-catalog-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}}.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~=ui-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-results]+[data-search-group],.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;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.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=more]{justify-content:space-between;margin-top:7px}.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;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.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-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.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);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.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([data-follow-authors],[data-follow-works])>:is(button,a){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;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[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 [data-follow-works]>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(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.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]:has(>[data-media-card]){row-gap:0}.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-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.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;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.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 .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.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{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.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]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.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;transition:opacity .15s;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}.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-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.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]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;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-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.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-sources] [data-follow-seealso]{border-radius:var(--control-radius);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);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.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);overflow-wrap:anywhere;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-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.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-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [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]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.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-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.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;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;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-want][aria-pressed=true] svg{fill:currentColor}.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)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.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-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [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-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [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:top;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 button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[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 :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-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 :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.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;max-width:100%;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]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.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:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.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-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.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;white-space:nowrap;-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 (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@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-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[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{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[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}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@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";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-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[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;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[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-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[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"}[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-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[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);overflow-wrap:anywhere;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-detail-continuation]>[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"}[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-detail-continuation]>[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:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[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}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@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);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-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~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-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~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-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}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){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}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-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~=ui-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){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){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}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-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}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{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~=ui-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~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-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~=ui-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~=ui-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}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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~=ui-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}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}: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 [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{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}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em: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 skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@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%)}}.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-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.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]>*+:not(:has(img)){margin-left:-8px}.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-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)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-favorite]){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 :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-shortcuts-trigger]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-shortcuts-trigger]:hover{background:var(--hover)}.peach-react [data-shortcuts-trigger]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-trigger] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;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);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{fill:none;stroke:currentColor;width:20px;height:20px}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);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;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]: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}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 303bd0c00..c9d125753 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -28923,7 +28923,7 @@ function cle(e, t = YT()) {
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function kE({ store: e, label: t, hidden: n }) {
+function lle({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-grid": "",
@@ -28949,14 +28949,14 @@ function kE({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-var AE = null;
-function lle(e) {
- AE = e;
+var kE = null;
+function ule(e) {
+ kE = e;
}
-function ule() {
- return AE ? /* @__PURE__ */ (0, x.jsx)(dle, { host: AE }) : null;
+function dle() {
+ return kE ? /* @__PURE__ */ (0, x.jsx)(fle, { host: kE }) : null;
}
-function dle({ host: e }) {
+function fle({ host: e }) {
let { store: t } = e;
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -28972,7 +28972,7 @@ function dle({ host: e }) {
children: "重置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(kE, {
+ /* @__PURE__ */ (0, x.jsx)(lle, {
store: t,
label: "光晕",
hidden: !n.on
@@ -29012,32 +29012,32 @@ function dle({ host: e }) {
}
//#endregion
//#region src/player/host.ts
-var jE = null;
-function fle(e) {
- jE = e;
+var AE = null;
+function ple(e) {
+ AE = e;
}
-function ME() {
- if (!jE) throw Error("播放器还没有接上宿主(configurePlayer)");
- return jE;
+function jE() {
+ if (!AE) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return AE;
}
//#endregion
//#region src/player/menu.ts
-var NE = null;
-function ple(e) {
- NE = e;
+var ME = null;
+function mle(e) {
+ ME = e;
}
-function mle() {
+function hle() {
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 PE = null, hle = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function FE() {
+var NE = null, gle = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function PE() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Va(e, () => {
e.innerHTML = "";
- }), PE &&= (PE(), null);
+ }), NE &&= (NE(), null);
}
-async function gle(e) {
+async function _le(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -29050,8 +29050,8 @@ async function gle(e) {
return t.remove(), n;
}
}
-function _le(e) {
- let t = !!NE?.inMiniplayer(e), n = e.peachItem, r = NE?.kind(e) ?? "item", i = (t) => {
+function vle(e) {
+ let t = !!ME?.inMiniplayer(e), n = e.peachItem, r = ME?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);
if (r !== "follow" && location.pathname === i.pathname) {
let e = new URLSearchParams(location.search);
@@ -29067,7 +29067,7 @@ function _le(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- gle(i(e)).then((e) => ME().toast(e ? t : "复制失败,请手动复制地址栏", {
+ _le(i(e)).then((e) => jE().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -29079,11 +29079,11 @@ function _le(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => NE?.expand()
+ run: () => ME?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => NE?.toMiniplayer()
+ run: () => ME?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -29106,29 +29106,29 @@ function _le(e) {
run: () => s.click()
}), o;
}
-function vle(e, t, n) {
- let r = mle();
- FE();
- let i = ME().stage();
+function yle(e, t, n) {
+ let r = hle();
+ PE();
+ let i = jE().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = _le(e);
+ let a = vle(e);
r.innerHTML = a.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}">${hle(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? hle(R("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${gle(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? gle(R("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), Ba(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 o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- FE(), n?.run();
+ PE(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || FE();
+ r.contains(e.target) || PE();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), FE();
+ e.preventDefault(), e.stopPropagation(), PE();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -29136,51 +29136,51 @@ function vle(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- Ua(t, e.el()) && FE();
+ Ua(t, e.el()) && PE();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), PE = () => {
+ }, 0), NE = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function yle(e) {
+function ble(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), vle(e, t.clientX, t.clientY));
- }), e.on("dispose", FE);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), yle(e, t.clientX, t.clientY));
+ }), e.on("dispose", PE);
}
//#endregion
//#region src/player/registry.ts
-var ble = null, IE = () => ble;
-function LE(e) {
- ble = e;
+var xle = null, FE = () => xle;
+function IE(e) {
+ xle = e;
}
-function RE(e) {
+function LE(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function xle(e) {
+function Sle(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 Sle(e) {
+function Cle(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 Cle = 3e3;
-function wle(e, t) {
+var wle = 3e3;
+function Tle(e, t) {
let n = Number(e) || 0, r = Jt(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Tle(e) {
+function Ele(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -29195,10 +29195,10 @@ function Tle(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Sle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Cle(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 > Cle * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > wle * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -29207,56 +29207,56 @@ function Tle(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > Cle;) t.shift();
+ }); t.length > 2 && a - t[0].at > wle;) 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 zE = 24;
-function BE(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > zE && e.splice(0, e.length - zE);
+var RE = 24;
+function zE(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > RE && e.splice(0, e.length - RE);
}
-var VE = "peach-player-panel";
-function HE(e, t, n, r) {
- let i = [...Array(Math.max(0, zE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var BE = "peach-player-panel";
+function VE(e, t, n, r) {
+ let i = [...Array(Math.max(0, RE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
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="${z(r)}">${o}</span>`;
}
-function Ele() {
+function Dle() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("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 Dle(e, t = "") {
+function Ole(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 Ole(e, t = "") {
- let n = Dle(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 kle(e, t = "") {
+ let n = Ole(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 kle(e, t, n = "", r = null) {
+function Ale(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 : Ole(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : kle(t, n);
}
-function UE(e) {
+function HE(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 Ale(e, t) {
- return e > 0 ? UE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : UE(0);
+function jle(e, t) {
+ return e > 0 ? HE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : HE(0);
}
//#endregion
//#region src/player/controls.ts
-function WE(e, t, n = "") {
+function UE(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));
@@ -29267,27 +29267,27 @@ function WE(e, t, n = "") {
};
return o(), o;
}
-function jle(e, t) {
+function Mle(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Mle(e, t = !0) {
- let n = ME(), r = n.settings();
+function Nle(e, t = !0) {
+ let n = jE(), 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 Nle = /* @__PURE__ */ new WeakMap();
-function Ple(e) {
+var Ple = /* @__PURE__ */ new WeakMap();
+function Fle(e) {
if (!e) return;
- let t = ME().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Nle.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = jE().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Ple.get(e)?.(t ? "默认视图" : "影院模式");
}
-function Fle(e, t = !0) {
- let n = ME(), r = n.settings();
+function Ile(e, t = !0) {
+ let n = jE(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), Ple(i?.querySelector("[data-player-theater]")), RE(IE());
+ i?.toggleAttribute("data-theater", r.theaterMode), Fle(i?.querySelector("[data-player-theater]")), LE(FE());
}
-function Ile(e) {
- let t = ME().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Lle(e) {
+ let t = jE().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -29310,9 +29310,9 @@ function Ile(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (ME().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (jE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && ME().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && jE().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -29321,7 +29321,7 @@ function Ile(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function Lle(e, t, n = 0, r = null) {
+function Rle(e, t, n = 0, r = null) {
let i = e.getChild("controlBar")?.el();
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -29331,7 +29331,7 @@ function Lle(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- WE(s, "设置");
+ UE(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -29371,11 +29371,11 @@ function Lle(e, t, n = 0, r = null) {
active: n
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(VE, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(BE, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(VE, y);
+ document.addEventListener(BE, y);
let b = null, x = (e, t) => {
let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;
@@ -29390,12 +29390,12 @@ function Lle(e, t, n = 0, r = null) {
}), r;
}, S = (e, t) => e.querySelector(t), C = "main", w = (t = 0) => {
C = "main";
- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${ME().settings().ambientMode}">
+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${jE().settings().ambientMode}">
${R("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>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${R("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- Mle(!ME().settings().ambientMode), w();
+ Nle(!jE().settings().ambientMode), w();
}, S(i, "[data-player-speed]").onclick = () => O(), S(i, "[data-player-quality-view]").onclick = () => A();
}, T = .05, E = [
1,
@@ -29471,22 +29471,22 @@ function Lle(e, t, n = 0, r = null) {
"removequalitylevel",
"change"
], j), e.on("dispose", () => {
- document.removeEventListener("pointerdown", M), document.removeEventListener(VE, y), b && clearTimeout(b);
- }), h(), Rle(e, a), zle(e), (e) => {
+ document.removeEventListener("pointerdown", M), document.removeEventListener(BE, y), b && clearTimeout(b);
+ }), h(), zle(e, a), Ble(e), (e) => {
d = e?.length ? e : null, j();
};
}
-function Rle(e, t) {
+function zle(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = ME().settings().theaterMode, i = document.createElement("div");
+ let r = jE().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- Nle.set(a, WE(a, "影院模式", "T")), Ple(a), a.onclick = (e) => {
- e.stopPropagation(), Fle(!ME().settings().theaterMode);
+ Ple.set(a, UE(a, "影院模式", "T")), Fle(a), a.onclick = (e) => {
+ e.stopPropagation(), Ile(!jE().settings().theaterMode);
};
}
-function zle(e) {
+function Ble(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -29498,7 +29498,7 @@ function zle(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;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = WE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = UE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -29509,7 +29509,7 @@ function zle(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = WE(p, "静音", "M"), g = () => {
+ let h = UE(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -29535,7 +29535,7 @@ function zle(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = WE(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = UE(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Xt(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : Xt(t)} / ${Xt(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Xt(n)};点击显示已播放时间` : `已播放 ${Xt(t)},总时长 ${Xt(n)};点击显示剩余时间`);
};
@@ -29548,11 +29548,11 @@ function zle(e) {
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(E, "player-pip");
- let D = WE(E, "画中画");
+ let D = UE(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = WE(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = UE(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), RE(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), LE(e);
};
e.on([
"fullscreenchange",
@@ -29572,7 +29572,7 @@ function zle(e) {
});
let P = document.createElement("div");
P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);
- let ee = P.querySelector("button"), F = WE(ee, "展开控件"), te = (t) => {
+ let ee = P.querySelector("button"), F = UE(ee, "展开控件"), te = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");
};
ee.onclick = (t) => {
@@ -29584,7 +29584,7 @@ function zle(e) {
}, ne = new ResizeObserver(I);
ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();
}
-function Ble(e, t, n = {}) {
+function Vle(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = !!t && n.thumbnail !== !1, a = document.createElement("div");
@@ -29618,13 +29618,13 @@ function Ble(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function Vle(e, t) {
+function Hle(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => Jt(e.duration()) || Jt(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(ME().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(jE().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -29665,11 +29665,11 @@ function Vle(e, t) {
} catch {}
});
}
-function Hle(e) {
+function Ule(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 Ule(e, t) {
+function Wle(e, t) {
Dt(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -29684,35 +29684,35 @@ function Ule(e, t) {
}
//#endregion
//#region src/player/progress.ts
-var Wle = "peach.playback-position.v1", GE = /* @__PURE__ */ new WeakMap();
-function KE(e) {
- GE.get(e)?.(), GE.delete(e);
+var Gle = "peach.playback-position.v1", WE = /* @__PURE__ */ new WeakMap();
+function GE(e) {
+ WE.get(e)?.(), WE.delete(e);
}
-function Gle(e, t, n = null) {
+function Kle(e, t, n = null) {
let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;
return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;
}
-function Kle(e) {
+function qle(e) {
try {
- let t = localStorage.getItem(`${Wle}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${Gle}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function qle(e, t) {
- let n = Kle(e);
+function Jle(e, t) {
+ let n = qle(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * Jt(t.duration) : 0;
}
-function Jle(e, t) {
- KE(t);
+function Yle(e, t) {
+ GE(t);
let n = t.readyState >= 1, r = () => {
if (!n || !Number.isFinite(t.currentTime)) return;
let r = t.ended ? 0 : Math.max(0, t.currentTime);
try {
- localStorage.setItem(`${Wle}:${e}`, String(r));
+ localStorage.setItem(`${Gle}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -29726,7 +29726,7 @@ function Jle(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), GE.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), WE.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -29739,19 +29739,19 @@ function Jle(e, t) {
}
//#endregion
//#region src/player/telemetry.ts
-var qE = /* @__PURE__ */ new WeakMap();
-function JE(e) {
- qE.get(e)?.(), qE.delete(e);
+var KE = /* @__PURE__ */ new WeakMap();
+function qE(e) {
+ KE.get(e)?.(), KE.delete(e);
}
-function Yle(e, t, n, r) {
+function Xle(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), qE.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), KE.set(e, () => {
n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);
});
}
-function Xle(e, t, n = {}) {
+function Zle(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {
let r = Jt(e.duration) || Jt(t.duration);
@@ -29792,11 +29792,11 @@ function Xle(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, Yle(t, l, u, () => {
+ }, Xle(t, l, u, () => {
a++;
}), c();
}
-function Zle(e, t) {
+function Qle(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = Jt(e.duration) || Jt(t.duration);
(r || n) && (Dt("/api/follow/activity", {
@@ -29827,40 +29827,40 @@ function Zle(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, Yle(t, o, s, () => {});
+ }, Xle(t, o, s, () => {});
}
//#endregion
//#region src/player/dispose.ts
-function YE(e) {
+function JE(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (KE(t), JE(t));
+ t && (GE(t), qE(t));
try {
e.dispose();
} catch {}
}
//#endregion
//#region src/player/stream.ts
-function Qle() {
+function $le() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function XE(e, t) {
+function YE(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function $le(e) {
+function eue(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function eue(e, t) {
- let n = $le(e);
+async function tue(e, t) {
+ let n = eue(e);
if (n) return n;
try {
let n = await Dt(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -29869,9 +29869,9 @@ async function eue(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return XE(e, t);
+ return YE(e, t);
}
-function ZE(e) {
+function XE(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -29880,21 +29880,21 @@ function ZE(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var QE = "";
-function tue() {
- return QE;
-}
+var ZE = "";
function nue() {
- return QE ||= Qle(), QE;
+ return ZE;
+}
+function rue() {
+ return ZE ||= $le(), ZE;
}
-var rue = (e) => XE(e, nue()), iue = (e) => eue(e, nue());
-function $E() {
- let e = QE;
- e && (QE = "", ZE(e));
+var iue = (e) => YE(e, rue()), aue = (e) => tue(e, rue());
+function QE() {
+ let e = ZE;
+ e && (ZE = "", XE(e));
}
//#endregion
//#region src/player/videojs.ts
-var eD = "/vendor/videojs/8.24.1/", aue = `${eD}video-js.min.css`, oue = (e) => new Promise((t, n) => {
+var $E = "/vendor/videojs/8.24.1/", oue = `${$E}video-js.min.css`, sue = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -29906,7 +29906,7 @@ var eD = "/vendor/videojs/8.24.1/", aue = `${eD}video-js.min.css`, oue = (e) =>
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), sue = (e) => new Promise((t) => {
+}), cue = (e) => new Promise((t) => {
let n = document.head.querySelector(`link[rel="stylesheet"][href="${e}"]`);
if (n?.sheet) {
t();
@@ -29916,20 +29916,20 @@ var eD = "/vendor/videojs/8.24.1/", aue = `${eD}video-js.min.css`, oue = (e) =>
r.addEventListener("load", () => t(), { once: !0 }), r.addEventListener("error", () => {
r.remove(), t();
}, { once: !0 }), n || (r.rel = "stylesheet", r.href = e, document.head.insertBefore(r, document.head.querySelector("link[rel=\"stylesheet\"]")));
-}), cue = () => globalThis.videojs, tD = null;
-function nD() {
- let e = cue();
- return e ? Promise.resolve(e) : (tD ??= Promise.all([sue(aue), oue(`${eD}video.min.js`).then(() => oue(`${eD}lang/zh-CN.js`))]).then(() => {
- let e = cue();
+}), lue = () => globalThis.videojs, eD = null;
+function tD() {
+ let e = lue();
+ return e ? Promise.resolve(e) : (eD ??= Promise.all([cue(oue), sue(`${$E}video.min.js`).then(() => sue(`${$E}lang/zh-CN.js`))]).then(() => {
+ let e = lue();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw tD = null, e;
- }), tD);
+ throw eD = null, e;
+ }), eD);
}
//#endregion
//#region src/player/immerse-player.ts
-var lue = {
+var uue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -29941,37 +29941,37 @@ var lue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function uue(e, t) {
+function due(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([eue(n, r), nD().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([tue(n, r), tD().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = XE(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = YE(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, lue);
+ let t = s(e, uue);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- Xle(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ Zle(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, ZE(r), i ? YE(i) : (e.pause(), JE(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, XE(r), i ? JE(i) : (e.pause(), qE(e), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var due = /* @__PURE__ */ new WeakMap(), rD = null, iD = null, aD = null;
-function fue() {
- rD &&= (clearInterval(rD), null), iD &&= (clearInterval(iD), null), aD &&= (clearTimeout(aD), null);
+var fue = /* @__PURE__ */ new WeakMap(), nD = null, rD = null, iD = null;
+function pue() {
+ nD &&= (clearInterval(nD), null), rD &&= (clearInterval(rD), null), iD &&= (clearTimeout(iD), null);
}
-async function pue(e, t, n, r = {}) {
- let i = IE();
+async function mue(e, t, n, r = {}) {
+ let i = FE();
if (i && !i.isDisposed()) return i;
- let a = ME(), o = r.resume ?? null;
+ let a = jE(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : iue(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : aue(e), c;
try {
- c = await nD();
+ c = await tD();
} catch {
return t.controls = !0, s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -29997,7 +29997,7 @@ async function pue(e, t, n, r = {}) {
} }
}
});
- LE(l), l.peachItem = e, yle(l), l.on("loadedmetadata", () => {
+ IE(l), l.peachItem = e, ble(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -30005,7 +30005,7 @@ async function pue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Tle(wle(f, e.duration)), m = 0, h = !1, g = () => IE() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Ele(Tle(f, e.duration)), m = 0, h = !1, g = () => FE() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -30016,15 +30016,15 @@ async function pue(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- due.set(l, y), y.updateStats = () => {
+ fue.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = tue(), h = s ? Dle(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = nue(), h = s ? Ole(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = kle(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = Ale(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = xle(t);
- BE(d.speed, x), BE(d.activity, C), BE(d.buffer, w);
+ let w = Sle(t);
+ zE(d.speed, x), zE(d.activity, C), zE(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? Zt(_) : "—"} · ${h.length} 请求`,
@@ -30042,17 +30042,17 @@ async function pue(e, t, n, r = {}) {
[
"连接速度",
D,
- HE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ VE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- HE(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ VE(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- HE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ VE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Xt(t.currentTime)} / ${Xt(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -30068,15 +30068,15 @@ async function pue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = kle(l, e.id, tue(), r ? null : p), a = r ? UE(i) : Ale(i, xle(t));
+ let i = Ale(l, e.id, nue(), r ? null : p), a = r ? HE(i) : jle(i, Sle(t));
n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), iD && clearInterval(iD), iD = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), rD && clearInterval(rD), rD = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (aD && clearTimeout(aD), aD = setTimeout(() => {
- e.hidden = !0, iD &&= (clearInterval(iD), null);
+ e && (iD && clearTimeout(iD), iD = setTimeout(() => {
+ e.hidden = !0, rD &&= (clearInterval(rD), null);
}, 1400));
};
return l.on([
@@ -30087,7 +30087,7 @@ async function pue(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(rue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(iue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
t[String(e.location)] !== !1 || l.isDisposed() || l.error({
code: 2,
message: `脱盘模式 · ${a.offlineReason(String(e.location))}`
@@ -30095,13 +30095,13 @@ async function pue(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Lle(l, t, e.height, r.qualities ?? null);
+ let n = Rle(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = wle(r, e.duration));
- }).catch(() => {}), Ble(l, e, { thumbnail: !r.source }), Vle(l, e), Hle(l), r.source || Ule(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = Tle(r, e.duration));
+ }).catch(() => {}), Vle(l, e, { thumbnail: !r.source }), Hle(l, e), Ule(l), r.source || Wle(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -30110,14 +30110,14 @@ async function pue(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var mue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function hue(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", mue), e.querySelector(":scope > #playerStatsBtn")) return;
+var hue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function gue(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", hue), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Ele(), e.insertBefore(n.content, t);
+ n.innerHTML = Dle(), e.insertBefore(n.content, t);
}
-function gue(e, t) {
- let n = due.get(e);
+function _ue(e, t) {
+ let n = fue.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -30129,27 +30129,27 @@ function gue(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), rD &&= (clearInterval(rD), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), nD &&= (clearInterval(nD), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(VE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), rD && clearInterval(rD), rD = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(BE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), nD && clearInterval(nD), nD = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(VE, t), s = () => document.removeEventListener(VE, t);
+ document.addEventListener(BE, t), s = () => document.removeEventListener(BE, t);
}
- let c = e.el().querySelector("video"), l = c ? Ile(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, fue()));
+ let c = e.el().querySelector("video"), l = c ? Lle(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, pue()));
};
return e.one("dispose", d), d;
}
-function oD(e, t) {
- if (t.kind === "immerse") return uue(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = ME(), c = t.chrome === !1 ? null : e.parentElement;
- c && hue(c, e);
- let l = Gle(n, r, i?.index ?? null), u = { resume: t.resume ?? {
- time: qle(l, r),
+function aD(e, t) {
+ if (t.kind === "immerse") return due(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = jE(), c = t.chrome === !1 ? null : e.parentElement;
+ c && gue(c, e);
+ let l = Kle(n, r, i?.index ?? null), u = { resume: t.resume ?? {
+ time: Jle(l, r),
autoplay: !1
} };
if (n === "follow") u = {
@@ -30168,37 +30168,37 @@ function oD(e, t) {
t && (e.poster = t);
}
let d = null, f = !1, p = () => {}, m = e, h = () => {
- p(), !(d && a?.(d)) && (KE(m), d ? (IE() === d && (LE(null), fue()), YE(d)) : JE(m));
+ p(), !(d && a?.(d)) && (GE(m), d ? (FE() === d && (IE(null), pue()), JE(d)) : qE(m));
};
- return pue(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Jle(l, m), n === "follow" ? Zle(r, m) : (m.addEventListener("play", () => {
+ return mue(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Yle(l, m), n === "follow" ? Qle(r, m) : (m.addEventListener("play", () => {
Dt("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), Xle(r, m, {
+ }, { once: !0 }), Zle(r, m, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (c && (p = gue(t, c)), o?.(t)) : o?.(null));
+ })), t ? (c && (p = _ue(t, c)), o?.(t)) : o?.(null));
}), () => {
f = !0, h();
};
}
//#endregion
//#region src/player/playback.ts
-function sD(e) {
+function oD(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function _ue(e, t) {
+function vue(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/player/preview-player.ts
-function vue(e, t, n) {
+function yue(e, t, n) {
let r = !1, i = null;
- return nD().then((a) => {
+ return tD().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -30223,30 +30223,30 @@ function vue(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (Lle(o, e), Ble(o, null, { thumbnail: !1 }), Hle(o));
+ r || o.isDisposed() || (Rle(o, e), Vle(o, null, { thumbnail: !1 }), Ule(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, YE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, JE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function cD(e, t) {
+function sD(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var yue = (e, t) => [
+var bue = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], bue = (e, t) => [
+], xue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function xue(e, t, n, r, i) {
+async function Sue(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await V(`/api/items?${a}`, i), s = {
@@ -30256,22 +30256,22 @@ async function xue(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var Sue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Cue = (e, t) => {
+var Cue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, wue = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function wue(e) {
- let t = cD(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function Tue(e) {
+ let t = sD(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: yue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => xue(t, e, n, r, i),
+ queryKey: bue(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => Sue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: Sue(n)
+ getNextPageParam: Cue(n)
};
}
-function Tue(e) {
+function Eue(e) {
return {
- queryKey: bue(e.entityKey || "", e.revision || 0),
+ queryKey: xue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -30286,12 +30286,12 @@ function Tue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Cue
+ getNextPageParam: wue
};
}
-async function Eue(e, t) {
+async function Due(e, t) {
if (e.mode !== "catalog" || e.wall) return;
- let n = wue(e);
+ let n = Tue(e);
await U.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -30300,11 +30300,11 @@ async function Eue(e, t) {
})
});
}
-function Due(e) {
+function Oue(e) {
let t = JSON.stringify(e);
return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function Oue(e, t, n) {
+function kue(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -30319,24 +30319,24 @@ function Oue(e, t, n) {
return !0;
}) : [...e];
}
-var lD = (e, t) => !!e && !!Ki(e, t);
-function kue(e, t) {
- let n = (e) => lD(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => lD(e, t)) || e[e.length - 1];
+var cD = (e, t) => !!e && !!Ki(e, t);
+function Aue(e, t) {
+ let n = (e) => cD(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => cD(e, t)) || e[e.length - 1];
}
-function Aue(e, { collapse: t, mix: n, javImage: r }) {
+function jue(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = Oue(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = kue(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = kue(e, r);
+ let t = Aue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -30349,16 +30349,16 @@ function Aue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function jue(e, t, n) {
+function Mue(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function Mue(e, t) {
+function Nue(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function Nue(e, t) {
+function Pue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -30371,10 +30371,10 @@ function Nue(e, t) {
strip: null
}), r;
}
-function uD(e, t) {
- Pue((t) => t.id === e, t);
+function lD(e, t) {
+ Fue((t) => t.id === e, t);
}
-function Pue(e, t) {
+function Fue(e, t) {
U.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -30391,31 +30391,31 @@ function Pue(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var dD = (e) => ["item", e], fD = (e) => [
+var uD = (e) => ["item", e], dD = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Fue = (e, t) => [
+], Iue = (e, t) => [
"item-related",
e,
t
-], Iue = (e) => `/api/item?id=${e}`, Lue = (e, t) => `/api/related?id=${e}&limit=${t}`, pD = "/api/playlist", Rue = "/api/feedback", mD = "/api/item-tag", zue = "/api/watch-later", Bue = "/api/quality-goal", Vue = "/api/preference", hD = class extends Error {};
-async function gD(e, t) {
- let n = await V(Iue(e), t);
- if (n.error) throw new hD(n.error);
+], Lue = (e) => `/api/item?id=${e}`, Rue = (e, t) => `/api/related?id=${e}&limit=${t}`, fD = "/api/playlist", zue = "/api/feedback", pD = "/api/item-tag", Bue = "/api/watch-later", Vue = "/api/quality-goal", Hue = "/api/preference", mD = class extends Error {};
+async function hD(e, t) {
+ let n = await V(Lue(e), t);
+ if (n.error) throw new mD(n.error);
return n;
}
-async function _D(e, t, n) {
+async function gD(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([gD(r, n), t.mixRelated(r)]);
- return U.setQueryData(dD(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([hD(r, n), t.mixRelated(r)]);
+ return U.setQueryData(uD(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${_a(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return Hue(await V(`${pD}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return Uue(await V(`${fD}?id=${e.playlistId}`, n));
let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -30426,19 +30426,19 @@ async function _D(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var Hue = (e) => ({
+var Uue = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), Uue = (e) => e.disposal === "vanished";
-function vD(e, t) {
+}), Wue = (e) => e.disposal === "vanished";
+function _D(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !Uue(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !Wue(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function Wue(e, t) {
+function Gue(e, t) {
if (t?.kind !== "parts" && t?.kind !== "editions") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -30446,20 +30446,20 @@ function Wue(e, t) {
part_label: n
};
}
-function Gue(e, t) {
+function Kue(e, t) {
if (!e || e.kind !== "parts" && e.kind !== "editions") return null;
let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];
return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;
}
-async function Kue(e, t) {
+async function que(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = fD(n);
+ let o = dD(n);
try {
let r = n.fresh ? void 0 : U.getQueryData(o);
a = !r && n.kind === "mix", i = r || await U.fetchQuery({
queryKey: o,
- queryFn: () => _D(n, e.helpers, t),
+ queryFn: () => gD(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -30471,20 +30471,20 @@ async function Kue(e, t) {
return;
}
}
- let o = i ? vD(i, e.id) : e.id;
+ let o = i ? _D(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? U.getQueryData(dD(o)) : void 0;
+ let s, c = a && o === i?.seedId ? U.getQueryData(uD(o)) : void 0;
try {
s = c || await U.fetchQuery({
- queryKey: dD(o),
- queryFn: () => gD(o, t),
+ queryKey: uD(o),
+ queryFn: () => hD(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof hD) {
+ if (e instanceof mD) {
r.redirect({ kind: "gone" });
return;
}
@@ -30495,7 +30495,7 @@ async function Kue(e, t) {
id: Number(s.follow_item_id)
});
}
-function que(e) {
+function Jue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Wt(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -30517,42 +30517,42 @@ function que(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var Jue = (e) => Math.min(Math.max(e || 0, 0), 100), yD = (e) => Math.round(Jue(e) / 20), Yue = (e) => {
- let t = yD(e);
+var Yue = (e) => Math.min(Math.max(e || 0, 0), 100), vD = (e) => Math.round(Yue(e) / 20), Xue = (e) => {
+ let t = vD(e);
return t ? `${t} 星` : "未评分";
-}, Xue = (e, t) => {
+}, Zue = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Zue(e, t) {
+function Que(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Wt(t.tagLabel(e.k)), i = n.get(r);
(!i || Wt(e.k) === r && Wt(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var bD = (e, t) => (e.tags || []).some((e) => Wt(e.k) === Wt(t)), Que = (e, t) => ({
+var yD = (e, t) => (e.tags || []).some((e) => Wt(e.k) === Wt(t)), $ue = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Wt(e.k) !== Wt(t))
-}), $ue = (e, t) => bD(e, t.k) ? e : {
+}), ede = (e, t) => yD(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, ede = "peach.recentTags";
-function tde() {
+}, tde = "peach.recentTags";
+function nde() {
try {
- let e = JSON.parse(localStorage.getItem(ede) || "[]");
+ let e = JSON.parse(localStorage.getItem(tde) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function nde(e) {
+function rde(e) {
try {
- let t = tde().filter((t) => Wt(t) !== Wt(e));
- localStorage.setItem(ede, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = nde().filter((t) => Wt(t) !== Wt(e));
+ localStorage.setItem(tde, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function rde(e, t, n) {
+function ide(e, t, n) {
let r = Wt(e), i = new Map(t.map((e) => [Wt(e.k), e])), a = t.filter((e) => !r || Wt(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Wt(e)) || {
k: e,
n: 0
@@ -30563,73 +30563,73 @@ function rde(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var ide = {
+var ade = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, ade = {
+}, ode = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function ode(e) {
+function sde(e) {
let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: ade[e.kind],
+ title: ode[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var xD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, sde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(xD(e.part_label))}</small>` : "";
-function cde(e, t, n, r) {
+var bD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, cde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(bD(e.part_label))}</small>` : "";
+function lde(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var lde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function ude(e, t) {
+var ude = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function dde(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function dde(e) {
+function fde(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function fde(e, t) {
+function pde(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var pde = (e, t, n) => [
+var mde = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function mde(e) {
+function hde(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var hde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function gde(e, t = Math.random) {
+var gde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function _de(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function _de(e, t) {
- return gde(((await V(`/api/items?${e}`)).items || []).filter((e) => hde(e, t)));
+async function vde(e, t) {
+ return _de(((await V(`/api/items?${e}`)).items || []).filter((e) => gde(e, t)));
}
-var vde = (e) => U.ensureQueryData({
- queryKey: dD(e),
- queryFn: ({ signal: t }) => gD(e, t)
+var yde = (e) => U.ensureQueryData({
+ queryKey: uD(e),
+ queryFn: ({ signal: t }) => hD(e, t)
});
-function yde(e, t) {
+function bde(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function bde(e) {
+function xde(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -30638,306 +30638,306 @@ function bde(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function xde(e, t, n) {
+function Sde(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function Sde(e, t) {
+function Cde(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var Cde = 15e3, wde = {
+var wde = 15e3, Tde = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, SD = null, CD = null, wD = wde, TD = /* @__PURE__ */ new Set(), ED = 0, Tde = 0, DD = 0, Ede = "", OD = [], kD = 0, AD = !1, jD = !1, MD = null, ND = /* @__PURE__ */ new Set(), PD = "", FD = null, ID = 0, LD = null, RD = !1;
-function zD() {
- if (!SD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return SD;
+}, xD = null, SD = null, CD = Tde, wD = /* @__PURE__ */ new Set(), TD = 0, Ede = 0, ED = 0, Dde = "", DD = [], OD = 0, kD = !1, AD = !1, jD = null, MD = /* @__PURE__ */ new Set(), ND = "", PD = null, FD = 0, ID = null, LD = !1;
+function RD() {
+ if (!xD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return xD;
}
-function Dde(e) {
- return TD.add(e), () => {
- TD.delete(e);
+function Ode(e) {
+ return wD.add(e), () => {
+ wD.delete(e);
};
}
-function Ode() {
- for (let e of [...TD]) e();
+function kde() {
+ for (let e of [...wD]) e();
}
-function BD() {
- (0, mt.flushSync)(Ode);
+function zD() {
+ (0, mt.flushSync)(kde);
}
-function kde() {
- let e = FD ? Ole(FD.id) : 0;
- return e ? `${PD} · ${UE(e)}` : PD;
+function Ade() {
+ let e = PD ? kle(PD.id) : 0;
+ return e ? `${ND} · ${HE(e)}` : ND;
}
-function VD(e, t = null) {
- clearInterval(ID), ID = 0, e === null ? (wD = {
- ...wD,
+function BD(e, t = null) {
+ clearInterval(FD), FD = 0, e === null ? (CD = {
+ ...CD,
loading: null
- }, BD()) : (PD = e, FD = t, wD = {
- ...wD,
- loading: kde()
- }, BD(), ID = window.setInterval(() => {
- FD = OD[kD] ?? null, wD = {
- ...wD,
- loading: kde()
- }, BD();
+ }, zD()) : (ND = e, PD = t, CD = {
+ ...CD,
+ loading: Ade()
+ }, zD(), FD = window.setInterval(() => {
+ PD = DD[OD] ?? null, CD = {
+ ...CD,
+ loading: Ade()
+ }, zD();
}, 500));
}
-function Ade(e) {
+function jde(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), CD.track.append(t);
- let r = Qle(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), SD.track.append(t);
+ let r = $le(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => ZE(r),
+ release: () => XE(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return ND.add(a), a;
+ return MD.add(a), a;
}
-function jde(e, t) {
+function Mde(e, t) {
return new Promise((n) => {
- e.release = oD(e.video, {
+ e.release = aD(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- wD.open && WD(1);
+ CD.open && UD(1);
}
}), e.gone.then(n);
});
}
-function HD(e) {
- e && !e.disposed && (e.disposed = !0, ND.delete(e), e.leave(), e.release(), e.el.remove(), MD === e && (MD = null));
+function VD(e) {
+ e && !e.disposed && (e.disposed = !0, MD.delete(e), e.leave(), e.release(), e.el.remove(), jD === e && (jD = null));
}
-var Mde = [
+var Nde = [
"loadeddata",
"canplay",
"error"
];
-function Nde(e) {
+function Pde(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), Mde.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), Nde.forEach((e) => t.removeEventListener(e, i)), n());
};
- Mde.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, Cde);
+ Nde.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, wde);
e.gone.then(i);
});
}
-function UD(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = xde(e.videoWidth, e.videoHeight, n);
+function HD(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Sde(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var Pde = () => CD?.track.querySelectorAll("video").forEach(UD);
-function Fde(e) {
- delete e.dataset.fit, e.readyState >= 1 ? UD(e) : e.addEventListener("loadedmetadata", () => UD(e), { once: !0 });
-}
+var Fde = () => SD?.track.querySelectorAll("video").forEach(HD);
function Ide(e) {
- wD = {
- ...wD,
+ delete e.dataset.fit, e.readyState >= 1 ? HD(e) : e.addEventListener("loadedmetadata", () => HD(e), { once: !0 });
+}
+function Lde(e) {
+ CD = {
+ ...CD,
wide: e
- }, BD(), Pde();
+ }, zD(), Fde();
}
-var Lde = () => {
- let e = Ede;
+var Rde = () => {
+ let e = Dde;
return U.fetchQuery({
- queryKey: pde(e, Tde, DD),
- queryFn: () => _de(e, zD().sourceOffline),
+ queryKey: mde(e, Ede, ED),
+ queryFn: () => vde(e, RD().sourceOffline),
staleTime: Infinity
});
};
-function Rde(e, t) {
+function zde(e, t) {
let n = () => Jt(e.duration) || Jt(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && CD && (CD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), LD = {
+ t && SD && (SD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), ID = {
video: e,
duration: n
};
}
-async function zde(e = 0) {
- let t = OD[kD];
- if (!t || AD) return;
- let n = ED;
- zD().route(t.id), AD = !0, VD(e ? "切换中…" : "加载中…", t);
+async function Bde(e = 0) {
+ let t = DD[OD];
+ if (!t || kD) return;
+ let n = TD;
+ RD().route(t.id), kD = !0, BD(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await vde(t.id).catch((e) => {
- if (!(e instanceof hD)) throw e;
- }), n !== ED) return;
- let i = MD, a = !!(e && i);
- a || HD(i);
- let o = Ade(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, Fde(o.video), await jde(o, t), await Nde(o), o.disposed || (Ide(Sde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await yde(t.id).catch((e) => {
+ if (!(e instanceof mD)) throw e;
+ }), n !== TD) return;
+ let i = jD, a = !!(e && i);
+ a || VD(i);
+ let o = jde(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Ide(o.video), await Mde(o, t), await Pde(o), o.disposed || (Lde(Cde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), HD(i), o.el.style.transform = ""), o.disposed)) return;
- MD = o, r = null, o.video.play()?.catch(() => {}), wD = {
- ...wD,
+ })), await new Promise((e) => setTimeout(e, 210)), VD(i), o.el.style.transform = ""), o.disposed)) return;
+ jD = o, r = null, o.video.play()?.catch(() => {}), CD = {
+ ...CD,
idle: !1,
shown: {
item: t,
- index: kD,
- length: OD.length
+ index: OD,
+ length: DD.length
}
- }, Rde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), VD(null);
+ }, zde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), BD(null);
} catch {
- HD(r), n === ED && VD(null);
+ VD(r), n === TD && BD(null);
} finally {
- n === ED && (AD = !1);
+ n === TD && (kD = !1);
}
}
-async function WD(e) {
- if (AD || !wD.open) return;
- let t = ED;
- if (kD += e, VD("切换中…", OD[kD] ?? null), kD >= OD.length - 3 && !jD) {
- jD = !0;
+async function UD(e) {
+ if (kD || !CD.open) return;
+ let t = TD;
+ if (OD += e, BD("切换中…", DD[OD] ?? null), OD >= DD.length - 3 && !AD) {
+ AD = !0;
try {
- DD += 1;
- let e = await Lde();
- t === ED && (OD = yde(OD, e));
+ ED += 1;
+ let e = await Rde();
+ t === TD && (DD = bde(DD, e));
} catch {} finally {
- jD = !1;
+ AD = !1;
}
}
- t === ED && (kD >= OD.length && (kD = 0), kD < 0 && (kD = OD.length - 1), await zde(e));
+ t === TD && (OD >= DD.length && (OD = 0), OD < 0 && (OD = DD.length - 1), await Bde(e));
}
-async function Bde(e) {
- let t = ++ED;
- Vde(), Tde += 1, DD = 0, Ede = mde(zD().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), wD = {
- ...wD,
+async function Vde(e) {
+ let t = ++TD;
+ Hde(), Ede += 1, ED = 0, Dde = hde(RD().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), CD = {
+ ...CD,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), VD("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), BD("加载内容…");
try {
- let n = await Lde();
+ let n = await Rde();
if (e && !n.some((t) => t.id === e)) {
- let t = await vde(e).catch((e) => {
- if (e instanceof hD) return null;
+ let t = await yde(e).catch((e) => {
+ if (e instanceof mD) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== ED) return;
- if (OD = n, !OD.length) {
- GD(), zD().warn("当前筛选下没有可直接播放的内容");
+ if (t !== TD) return;
+ if (DD = n, !DD.length) {
+ WD(), RD().warn("当前筛选下没有可直接播放的内容");
return;
}
- kD = Math.max(0, OD.findIndex((t) => t.id === e)), await zde();
+ OD = Math.max(0, DD.findIndex((t) => t.id === e)), await Bde();
} catch {
- if (t !== ED) return;
- VD(null), GD();
+ if (t !== TD) return;
+ BD(null), WD();
}
}
-function Vde() {
- clearInterval(ID), ID = 0, YD(), JD = null, LD = null, RD = !1, [...ND].forEach(HD), AD = !1;
+function Hde() {
+ clearInterval(FD), FD = 0, JD(), qD = null, ID = null, LD = !1, [...MD].forEach(VD), kD = !1;
}
-function GD() {
- wD.open && (ED++, Vde(), wD = wde, document.body.removeAttribute("data-immerse-open"), BD(), zD().closed());
+function WD() {
+ CD.open && (TD++, Hde(), CD = Tde, document.body.removeAttribute("data-immerse-open"), zD(), RD().closed());
}
-var KD = 0, qD = null, Hde = 0, JD = null, Ude = 0;
-function YD() {
- clearTimeout(KD), KD = 0, qD = null;
+var GD = 0, KD = null, Ude = 0, qD = null, Wde = 0;
+function JD() {
+ clearTimeout(GD), GD = 0, KD = null;
}
-function Wde(e) {
- let t = MD?.video;
+function Gde(e) {
+ let t = jD?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- qD && qD.side === n && r - qD.at <= 280 ? (YD(), _ue(t, zD().seekSeconds() * n)) : (KD && (clearTimeout(KD), KD = 0, sD(t)), qD = {
+ KD && KD.side === n && r - KD.at <= 280 ? (JD(), vue(t, RD().seekSeconds() * n)) : (GD && (clearTimeout(GD), GD = 0, oD(t)), KD = {
side: n,
at: r
- }, KD = window.setTimeout(() => {
- KD = 0, qD = null, wD.open && sD(MD?.video);
+ }, GD = window.setTimeout(() => {
+ GD = 0, KD = null, CD.open && oD(jD?.video);
}, 280));
}
-function Gde() {
- Date.now() < Hde || sD(MD?.video);
+function Kde() {
+ Date.now() < Ude || oD(jD?.video);
}
-var XD = (e) => CD?.bar.toggleAttribute("data-scrubbing", e);
-function ZD(e) {
- CD && (CD.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var YD = (e) => SD?.bar.toggleAttribute("data-scrubbing", e);
+function XD(e) {
+ SD && (SD.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function Kde(e) {
+function qde(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- JD = null;
+ qD = null;
return;
}
- let n = MD?.video;
- JD = {
+ let n = jD?.video;
+ qD = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function qde(e) {
- if (!JD || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - JD.x, n = e.touches[0].clientY - JD.y;
- if (!JD.axis) {
+function Jde(e) {
+ if (!qD || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - qD.x, n = e.touches[0].clientY - qD.y;
+ if (!qD.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- JD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", JD.axis === "x" && XD(!0);
+ qD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", qD.axis === "x" && YD(!0);
}
- if (JD.axis !== "x") return;
- let r = MD?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), JD.to = Math.min(i, Math.max(0, JD.from + t / window.innerWidth * i)), ZD(JD.to / i));
+ if (qD.axis !== "x") return;
+ let r = jD?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), qD.to = Math.min(i, Math.max(0, qD.from + t / window.innerWidth * i)), XD(qD.to / i));
}
-function Jde(e) {
- if (!JD) return;
- let t = JD;
- if (JD = null, Hde = Date.now() + 700, XD(!1), t.axis === "x") {
- let e = MD?.video;
+function Yde(e) {
+ if (!qD) return;
+ let t = qD;
+ if (qD = null, Ude = Date.now() + 700, YD(!1), t.axis === "x") {
+ let e = jD?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
- Math.abs(i) > 60 ? (YD(), WD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Wde(n.clientX));
+ Math.abs(i) > 60 ? (JD(), UD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Gde(n.clientX));
}
-function Yde() {
- JD = null, XD(!1);
+function Xde() {
+ qD = null, YD(!1);
}
-function Xde(e) {
+function Zde(e) {
let t = Date.now();
- t - Ude < 260 || (Ude = t, WD(e.deltaY > 0 ? 1 : -1));
+ t - Wde < 260 || (Wde = t, UD(e.deltaY > 0 ? 1 : -1));
}
-function QD(e) {
- let t = CD.bar.getBoundingClientRect();
+function ZD(e) {
+ let t = SD.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function Zde(e) {
- LD?.duration() && (RD = !0, XD(!0), e.currentTarget.setPointerCapture(e.pointerId), ZD(QD(e)), e.preventDefault());
-}
function Qde(e) {
- RD && ZD(QD(e));
+ ID?.duration() && (LD = !0, YD(!0), e.currentTarget.setPointerCapture(e.pointerId), XD(ZD(e)), e.preventDefault());
}
function $de(e) {
- if (!RD) return;
- RD = !1, XD(!1);
- let t = LD?.duration();
- LD && t && (LD.video.currentTime = t * QD(e));
+ LD && XD(ZD(e));
}
-function efe() {
- RD = !1, XD(!1);
+function efe(e) {
+ if (!LD) return;
+ LD = !1, YD(!1);
+ let t = ID?.duration();
+ ID && t && (ID.video.currentTime = t * ZD(e));
}
-async function $D(e, t) {
- let n = await H(Rue, {
+function tfe() {
+ LD = !1, YD(!1);
+}
+async function QD(e, t) {
+ let n = await H(zue, {
id: e,
kind: t
- }), r = U.getQueryData(dD(e));
- if (!r) return uD(e, {
+ }), r = U.getQueryData(uD(e));
+ if (!r) return lD(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -30946,7 +30946,7 @@ async function $D(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return U.setQueryData(dD(e), i), uD(e, {
+ return U.setQueryData(uD(e), i), lD(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -30954,7 +30954,7 @@ async function $D(e, t) {
o_count: i.o_count
}), n;
}
-var tfe = [
+var nfe = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -30971,31 +30971,31 @@ var tfe = [
label: "记一次高潮"
}
];
-function nfe(e) {
+function rfe(e) {
return dt({
- queryKey: dD(e ?? 0),
- queryFn: ({ signal: t }) => gD(e, t),
+ queryKey: uD(e ?? 0),
+ queryFn: ({ signal: t }) => hD(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function rfe({ kind: e, glyph: t, label: n, id: r }) {
- let i = nfe(r), a = ft({
+function ife({ kind: e, glyph: t, label: n, id: r }) {
+ let i = rfe(r), a = ft({
mutationFn: async (t) => {
- let n = U.getQueryData(dD(t))?.feedback || null;
+ let n = U.getQueryData(uD(t))?.feedback || null;
return {
- result: await $D(t, e),
+ result: await QD(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- zD().toast(fde(e, t), { undo: async () => {
- e === "o" ? await $D(r, "o-undo") : (t.feedback && await $D(r, t.feedback), n && await $D(r, n));
+ RD().toast(pde(e, t), { undo: async () => {
+ e === "o" ? await QD(r, "o-undo") : (t.feedback && await QD(r, t.feedback), n && await QD(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- WD(1);
+ UD(1);
}, 260);
},
- onError: (e) => zD().failure("更新反馈", e)
+ onError: (e) => RD().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-action": "",
@@ -31026,11 +31026,11 @@ function rfe({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function ife({ shown: e }) {
- let t = e?.item ?? null, n = nfe(t?.id ?? null), r = n ? bde(n) : null, i = zD(), a = (e) => {
- e.preventDefault(), n && (GD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function afe({ shown: e }) {
+ let t = e?.item ?? null, n = rfe(t?.id ?? null), r = n ? xde(n) : null, i = RD(), a = (e) => {
+ e.preventDefault(), n && (WD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (GD(), i.openItem(t.id));
+ t && (WD(), i.openItem(t.id));
}, s = r ? ia(r.name, r.ref, Hi(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-ui": "",
@@ -31059,18 +31059,18 @@ function ife({ shown: e }) {
})]
});
}
-var afe = { __html: vo("媒体加载中") };
-function ofe({ view: e }) {
+var ofe = { __html: vo("媒体加载中") };
+function sfe({ view: e }) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current;
- return CD = {
+ return SD = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", Kde, { passive: !0 }), e.addEventListener("touchmove", qde, { passive: !1 }), e.addEventListener("touchend", Jde, { passive: !1 }), e.addEventListener("touchcancel", Yde, { passive: !0 }), e.addEventListener("wheel", Xde, { passive: !0 }), () => {
- e.removeEventListener("touchstart", Kde), e.removeEventListener("touchmove", qde), e.removeEventListener("touchend", Jde), e.removeEventListener("touchcancel", Yde), e.removeEventListener("wheel", Xde), CD = null;
+ }, e.addEventListener("touchstart", qde, { passive: !0 }), e.addEventListener("touchmove", Jde, { passive: !1 }), e.addEventListener("touchend", Yde, { passive: !1 }), e.addEventListener("touchcancel", Xde, { passive: !0 }), e.addEventListener("wheel", Zde, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", qde), e.removeEventListener("touchmove", Jde), e.removeEventListener("touchend", Yde), e.removeEventListener("touchcancel", Xde), e.removeEventListener("wheel", Zde), SD = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -31087,10 +31087,10 @@ function ofe({ view: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: Gde
+ onClick: Kde
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-immerse-actions": "",
- children: tfe.map((e) => /* @__PURE__ */ (0, x.jsx)(rfe, {
+ children: nfe.map((e) => /* @__PURE__ */ (0, x.jsx)(ife, {
...e,
id: a
}, e.kind))
@@ -31103,7 +31103,7 @@ function ofe({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: afe
+ dangerouslySetInnerHTML: ofe
}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -31111,7 +31111,7 @@ function ofe({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: GD,
+ onClick: WD,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
@@ -31120,97 +31120,97 @@ function ofe({ view: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: Zde,
- onPointerMove: Qde,
- onPointerUp: $de,
- onPointerCancel: efe,
+ onPointerDown: Qde,
+ onPointerMove: $de,
+ onPointerUp: efe,
+ onPointerCancel: tfe,
children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, x.jsx)(ife, { shown: e.shown })
+ /* @__PURE__ */ (0, x.jsx)(afe, { shown: e.shown })
]
});
}
-var sfe = {
- open: Bde,
- close: GD,
- isOpen: () => wD.open,
- activeVideo: () => wD.open ? MD?.video ?? null : null
+var cfe = {
+ open: Vde,
+ close: WD,
+ isOpen: () => CD.open,
+ activeVideo: () => CD.open ? jD?.video ?? null : null
};
-function cfe(e) {
- if (!wD.open) return;
+function lfe(e) {
+ if (!CD.open) return;
let t = e.target;
- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && WD(1), e.key === "ArrowUp" && WD(-1)));
+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && UD(1), e.key === "ArrowUp" && UD(-1)));
}
-function lfe(e) {
- let t = !SD;
- return SD = e, t && (document.addEventListener("keydown", cfe), addEventListener("resize", () => {
- wD.open && Pde();
+function ufe(e) {
+ let t = !xD;
+ return xD = e, t && (document.addEventListener("keydown", lfe), addEventListener("resize", () => {
+ CD.open && Fde();
}), addEventListener("pagehide", () => {
- ND.forEach((e) => ZE(e.session));
- })), sfe;
+ MD.forEach((e) => XE(e.session));
+ })), cfe;
}
-function ufe() {
- let e = (0, b.useSyncExternalStore)(Dde, () => wD);
- return SD ? /* @__PURE__ */ (0, x.jsx)(ofe, { view: e }) : null;
+function dfe() {
+ let e = (0, b.useSyncExternalStore)(Ode, () => CD);
+ return xD ? /* @__PURE__ */ (0, x.jsx)(sfe, { view: e }) : null;
}
//#endregion
//#region src/manage-header.ts
-var dfe = {
+var ffe = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, ffe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function pfe(e) {
- let t = dfe[e.path] ? "cleanup" : e.section;
+}, pfe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function mfe(e) {
+ let t = ffe[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var mfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function eO(e) {
+var hfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function $D(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = dfe[e.path] ?? "";
+ let n = ffe[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
- pressed: pfe(e),
+ pressed: mfe(e),
crumb: n,
- compact: ffe.has(e.path) || e.section === "configuration",
+ compact: pfe.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: mfe(e.trash),
+ text: hfe(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var tO = (e) => e.replace(/[&<>"']/g, (e) => ({
+var eO = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), hfe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${tO(e)}"/></svg>`, gfe = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function _fe(e) {
- let t = eO(e);
+})[e]), gfe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${eO(e)}"/></svg>`, _fe = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function vfe(e) {
+ let t = $D(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${tO(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${hfe(r)}<span>${tO(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${hfe("chevron-right")}</li><li aria-current="true"><span>${tO(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? gfe : `<span data-lede-text="">${tO(t.lede.text)}</span>${t.lede.total ? vfe : ""}`}</p>`;
- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${tO(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
+ return `<button type="button" data-manage="${eO(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${gfe(r)}<span>${eO(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${gfe("chevron-right")}</li><li aria-current="true"><span>${eO(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? _fe : `<span data-lede-text="">${eO(t.lede.text)}</span>${t.lede.total ? yfe : ""}`}</p>`;
+ return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${eO(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
}
-var vfe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var yfe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function nO({ name: e }) {
+function tO({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function yfe({ name: e }) {
+function bfe({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -31219,52 +31219,52 @@ function yfe({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var rO = null, iO = null, aO = /* @__PURE__ */ new Set();
-function bfe(e) {
- return aO.add(e), () => {
- aO.delete(e);
+var nO = null, rO = null, iO = /* @__PURE__ */ new Set();
+function xfe(e) {
+ return iO.add(e), () => {
+ iO.delete(e);
};
}
-function xfe() {
- for (let e of [...aO]) e();
+function Sfe() {
+ for (let e of [...iO]) e();
}
-var Sfe = { render(e) {
- iO = e, (0, mt.flushSync)(xfe);
+var Cfe = { render(e) {
+ rO = e, (0, mt.flushSync)(Sfe);
} };
-function Cfe(e) {
- return rO = e, iO = null, Sfe;
+function wfe(e) {
+ return nO = e, rO = null, Cfe;
}
-function wfe() {
- let e = (0, b.useSyncExternalStore)(bfe, () => iO);
- return rO && e ? /* @__PURE__ */ (0, x.jsx)(Tfe, {
- host: rO,
+function Tfe() {
+ let e = (0, b.useSyncExternalStore)(xfe, () => rO);
+ return nO && e ? /* @__PURE__ */ (0, x.jsx)(Efe, {
+ host: nO,
props: e
}) : null;
}
-function Tfe({ host: e, props: t }) {
- let n = eO(t);
+function Efe({ host: e, props: t }) {
+ let n = $D(t);
return n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("h2", {
"data-manage-title": "",
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.crumb ? /* @__PURE__ */ (0, x.jsx)(Dfe, {
+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(Ofe, {
host: e,
label: n.crumb
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Efe, {
+ /* @__PURE__ */ (0, x.jsx)(Dfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Ofe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(kfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function Efe({ host: e, pressed: t, menu: n }) {
+function Dfe({ host: e, pressed: t, menu: n }) {
let r = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -31285,13 +31285,13 @@ function Efe({ host: e, pressed: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, x.jsx)(nO, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, x.jsx)(tO, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function Dfe({ host: e, label: t }) {
+function Ofe({ host: e, label: t }) {
return /* @__PURE__ */ (0, x.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -31301,20 +31301,20 @@ function Dfe({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
+ }), /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })
})] })
});
}
-function Ofe({ host: e, lede: t }) {
+function kfe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: gfe }
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: _fe }
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Afe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -31324,7 +31324,7 @@ function Ofe({ host: e, lede: t }) {
}) : null] })
});
}
-function kfe({ text: e }) {
+function Afe({ text: e }) {
let t = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
To(t.current, e);
@@ -31335,20 +31335,20 @@ function kfe({ text: e }) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var Afe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, jfe = /^[\\/]{2}/;
-function Mfe(e, t) {
+var jfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Mfe = /^[\\/]{2}/;
+function Nfe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-var Nfe = "popstate";
-function Pfe(e) {
+var Pfe = "popstate";
+function Ffe(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function Ffe(e = {}) {
+function Ife(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
- return cO("", {
+ return sO("", {
pathname: r,
search: i,
hash: a
@@ -31359,14 +31359,14 @@ function Ffe(e = {}) {
} : void 0);
}
function n(e, t) {
- return typeof t == "string" ? t : lO(t);
+ return typeof t == "string" ? t : cO(t);
}
- return Rfe(t, n, null, e);
+ return zfe(t, n, null, e);
}
-function oO(e, t) {
+function aO(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function sO(e, t) {
+function oO(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -31374,10 +31374,10 @@ function sO(e, t) {
} catch {}
}
}
-function Ife() {
+function Lfe() {
return Math.random().toString(36).substring(2, 10);
}
-function Lfe(e, t) {
+function Rfe(e, t) {
return {
usr: e.state,
key: e.key,
@@ -31389,21 +31389,21 @@ function Lfe(e, t) {
} : void 0
};
}
-function cO(e, t, n = null, r, i) {
+function sO(e, t, n = null, r, i) {
return {
pathname: typeof e == "string" ? e : e.pathname,
search: "",
hash: "",
- ...typeof t == "string" ? uO(t) : t,
+ ...typeof t == "string" ? lO(t) : t,
state: n,
- key: t && t.key || r || Ife(),
+ key: t && t.key || r || Lfe(),
mask: i
};
}
-function lO({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function cO({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
-function uO(e) {
+function lO(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -31413,7 +31413,7 @@ function uO(e) {
}
return t;
}
-function Rfe(e, t, n, r = {}) {
+function zfe(e, t, n, r = {}) {
let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();
l ?? (l = 0, o.replaceState({
...o.state,
@@ -31433,9 +31433,9 @@ function Rfe(e, t, n, r = {}) {
}
function f(e, t) {
s = "PUSH";
- let r = Pfe(e) ? e : cO(h.location, e, t);
+ let r = Ffe(e) ? e : sO(h.location, e, t);
n && n(r, e), l = u() + 1;
- let d = Lfe(r, l), f = h.createHref(r.mask || r);
+ let d = Rfe(r, l), f = h.createHref(r.mask || r);
try {
o.pushState(d, "", f);
} catch (e) {
@@ -31450,9 +31450,9 @@ function Rfe(e, t, n, r = {}) {
}
function p(e, t) {
s = "REPLACE";
- let r = Pfe(e) ? e : cO(h.location, e, t);
+ let r = Ffe(e) ? e : sO(h.location, e, t);
n && n(r, e), l = u();
- let i = Lfe(r, l), d = h.createHref(r.mask || r);
+ let i = Rfe(r, l), d = h.createHref(r.mask || r);
o.replaceState(i, "", d), a && c && c({
action: s,
location: h.location,
@@ -31460,7 +31460,7 @@ function Rfe(e, t, n, r = {}) {
});
}
function m(e) {
- return zfe(i, e);
+ return Bfe(i, e);
}
let h = {
get action() {
@@ -31471,8 +31471,8 @@ function Rfe(e, t, n, r = {}) {
},
listen(e) {
if (c) throw Error("A history only accepts one active listener");
- return i.addEventListener(Nfe, d), c = e, () => {
- i.removeEventListener(Nfe, d), c = null;
+ return i.addEventListener(Pfe, d), c = e, () => {
+ i.removeEventListener(Pfe, d), c = null;
};
},
createHref(e) {
@@ -31495,29 +31495,29 @@ function Rfe(e, t, n, r = {}) {
};
return h;
}
-function zfe(e, t, n = !1) {
+function Bfe(e, t, n = !1) {
let r = "http://localhost";
- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), oO(r, "No window.location.(origin|href) available to create URL");
- let i = typeof t == "string" ? t : lO(t);
- return i = i.replace(/ $/, "%20"), !n && jfe.test(i) && (i = r + i), new URL(i, r);
+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), aO(r, "No window.location.(origin|href) available to create URL");
+ let i = typeof t == "string" ? t : cO(t);
+ return i = i.replace(/ $/, "%20"), !n && Mfe.test(i) && (i = r + i), new URL(i, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function Bfe(e, t, n = "/") {
- return Vfe(e, t, n, !1);
+function Vfe(e, t, n = "/") {
+ return Hfe(e, t, n, !1);
}
-function Vfe(e, t, n, r, i) {
- let a = fO((typeof t == "string" ? uO(t) : t).pathname || "/", n);
+function Hfe(e, t, n, r, i) {
+ let a = dO((typeof t == "string" ? lO(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? Hfe(e), s = null, c = ope(a);
- for (let e = 0; s == null && e < o.length; ++e) s = rpe(o[e], c, r);
+ let o = i ?? Ufe(e), s = null, c = spe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = ipe(o[e], c, r);
return s;
}
-function Hfe(e) {
- let t = Ufe(e);
- return Gfe(t), t;
+function Ufe(e) {
+ let t = Wfe(e);
+ return Kfe(t), t;
}
-function Ufe(e, t = [], n = [], r = "", i = !1) {
+function Wfe(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -31527,14 +31527,14 @@ function Ufe(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- oO(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
+ aO(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
}
- let l = mO([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (oO(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Ufe(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
+ let l = pO([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (aO(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Wfe(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: tpe(l, e.index),
+ score: npe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = ape(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = ope(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -31545,68 +31545,68 @@ function Ufe(e, t = [], n = [], r = "", i = !1) {
};
return e.forEach((e, t) => {
if (e.path === "" || !e.path?.includes("?")) a(e, t);
- else for (let n of Wfe(e.path)) a(e, t, !0, n);
+ else for (let n of Gfe(e.path)) a(e, t, !0, n);
}), t;
}
-function Wfe(e) {
+function Gfe(e) {
let t = e.split("/");
if (t.length === 0) return [];
let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
if (r.length === 0) return i ? [a, ""] : [a];
- let o = Wfe(r.join("/")), s = [];
+ let o = Gfe(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function Gfe(e) {
- e.sort((e, t) => e.score === t.score ? npe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function Kfe(e) {
+ e.sort((e, t) => e.score === t.score ? rpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var Kfe = /^:[\w-]+$/, qfe = /^:[\w-]+/, Jfe = 3.5, Yfe = 3, Xfe = 2, Zfe = 1, Qfe = 10, $fe = -2, epe = (e) => e === "*";
-function tpe(e, t) {
+var qfe = /^:[\w-]+$/, Jfe = /^:[\w-]+/, Yfe = 3.5, Xfe = 3, Zfe = 2, Qfe = 1, $fe = 10, epe = -2, tpe = (e) => e === "*";
+function npe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(epe) && (r += $fe), t && (r += Xfe), n.filter((e) => !epe(e)).reduce((e, t) => e + (Kfe.test(t) ? Yfe : qfe.test(t) ? Jfe : t === "" ? Zfe : Qfe), r);
+ return n.some(tpe) && (r += epe), t && (r += Zfe), n.filter((e) => !tpe(e)).reduce((e, t) => e + (qfe.test(t) ? Xfe : Jfe.test(t) ? Yfe : t === "" ? Qfe : $fe), r);
}
-function npe(e, t) {
+function rpe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function rpe(e, t, n = !1) {
+function ipe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? ipe(u, l, s.matcher, s.compiledParams) : dO(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = dO({
+ }, d = s.matcher && s.compiledParams ? ape(u, l, s.matcher, s.compiledParams) : uO(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = uO({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: mO([a, d.pathname]),
- pathnameBase: ppe(mO([a, d.pathnameBase])),
+ pathname: pO([a, d.pathname]),
+ pathnameBase: mpe(pO([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = mO([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = pO([a, d.pathnameBase]));
}
return o;
}
-function dO(e, t) {
+function uO(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = ape(e.path, e.caseSensitive, e.end);
- return ipe(e, t, n, r);
+ let [n, r] = ope(e.path, e.caseSensitive, e.end);
+ return ape(e, t, n, r);
}
-function ipe(e, t, n, r) {
+function ape(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = hO(a, 1), s = i.slice(1);
+ let a = i[0], o = mO(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = hO(a.slice(0, a.length - e.length), 1);
+ o = mO(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -31616,8 +31616,8 @@ function ipe(e, t, n, r) {
pattern: e
};
}
-function ape(e, t = !1, n = !0) {
- sO(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
+function ope(e, t = !1, n = !0) {
+ oO(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
if (r.push({
paramName: t,
@@ -31630,46 +31630,46 @@ function ape(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function ope(e) {
+function spe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return sO(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
+ return oO(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
}
}
-function fO(e, t) {
+function dO(e, t) {
if (t === "/") return e;
if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function spe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? uO(e) : e, a;
- return n ? (n = fpe(n), a = n.startsWith("/") || n.startsWith("\\") ? cpe(n.substring(1), "/") : cpe(n, t)) : a = t, {
+function cpe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? lO(e) : e, a;
+ return n ? (n = ppe(n), a = n.startsWith("/") || n.startsWith("\\") ? lpe(n.substring(1), "/") : lpe(n, t)) : a = t, {
pathname: a,
- search: mpe(r),
- hash: hpe(i)
+ search: hpe(r),
+ hash: gpe(i)
};
}
-function cpe(e, t) {
- let n = hO(t).split("/");
+function lpe(e, t) {
+ let n = mO(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function pO(e, t, n, r) {
+function fO(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function lpe(e) {
+function upe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function upe(e) {
- let t = lpe(e);
+function dpe(e) {
+ let t = upe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function dpe(e, t, n, r = !1) {
+function fpe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = uO(e) : (i = { ...e }, oO(!i.pathname || !i.pathname.includes("?"), pO("?", "pathname", "search", i)), oO(!i.pathname || !i.pathname.includes("#"), pO("#", "pathname", "hash", i)), oO(!i.search || !i.search.includes("#"), pO("#", "search", "hash", i)));
+ typeof e == "string" ? i = lO(e) : (i = { ...e }, aO(!i.pathname || !i.pathname.includes("?"), fO("?", "pathname", "search", i)), aO(!i.pathname || !i.pathname.includes("#"), fO("#", "pathname", "hash", i)), aO(!i.search || !i.search.includes("#"), fO("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -31681,16 +31681,16 @@ function dpe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = spe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = cpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var fpe = (e) => e.replace(/[\\/]{2,}/g, "/"), mO = (e) => fpe(e.join("/"));
-function hO(e, t = 0) {
+var ppe = (e) => e.replace(/[\\/]{2,}/g, "/"), pO = (e) => ppe(e.join("/"));
+function mO(e, t = 0) {
let n = e.length;
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var ppe = (e) => hO(e).replace(/^\/*/, "/"), mpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, hpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, gpe = class {
+var mpe = (e) => mO(e).replace(/^\/*/, "/"), hpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, gpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, _pe = class {
status;
statusText;
data;
@@ -31700,26 +31700,26 @@ var ppe = (e) => hO(e).replace(/^\/*/, "/"), mpe = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function _pe(e) {
+function vpe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function vpe(e) {
- return mO(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function ype(e) {
+ return pO(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var ype = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function bpe(e, t) {
+var bpe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function xpe(e, t) {
let n = e;
- if (typeof n != "string" || !Afe.test(n)) return {
+ if (typeof n != "string" || !jfe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (ype) try {
- let e = new URL(window.location.href), r = jfe.test(n) ? new URL(Mfe(n, e.protocol)) : new URL(n), a = fO(r.pathname, t);
+ if (bpe) try {
+ let e = new URL(window.location.href), r = Mfe.test(n) ? new URL(Nfe(n, e.protocol)) : new URL(n), a = dO(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- sO(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ oO(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -31729,45 +31729,45 @@ function bpe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var xpe = new URL("http://localhost");
-function Spe(e) {
+var Spe = new URL("http://localhost");
+function Cpe(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), xpe);
+ return new URL(e.createHref("/"), Spe);
} catch {
- return xpe;
+ return Spe;
}
}
-function gO(e, t) {
+function hO(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function Cpe(e, t) {
+function wpe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function wpe(e, t, n, r) {
+function Tpe(e, t, n, r) {
let i = null;
try {
i = e == null ? null : new URL(e, n);
} catch {}
- let a = new URL(t, n), o = i != null && !gO(i, n), s = !gO(a, n);
+ let a = new URL(t, n), o = i != null && !hO(i, n), s = !hO(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !Cpe(e, i) || !gO(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !wpe(e, i) || !hO(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var Tpe = [
+var Epe = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(Tpe);
-var Epe = ["GET", ...Tpe];
new Set(Epe);
-var Dpe = [
+var Dpe = ["GET", ...Epe];
+new Set(Dpe);
+var Ope = [
"about:",
"blob:",
"chrome:",
@@ -31779,85 +31779,85 @@ var Dpe = [
"filesystem:",
"javascript:"
];
-function Ope(e) {
+function kpe(e) {
try {
- return Dpe.includes(new URL(e).protocol);
+ return Ope.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var _O = b.createContext(null);
-_O.displayName = "DataRouter";
-var kpe = b.createContext(null);
-kpe.displayName = "DataRouterState";
+var gO = b.createContext(null);
+gO.displayName = "DataRouter";
var Ape = b.createContext(null);
-Ape.displayName = "DataRouterData";
+Ape.displayName = "DataRouterState";
var jpe = b.createContext(null);
-jpe.displayName = "DataRouterNavigation";
-var Mpe = b.createContext(!1), Npe = b.createContext({ isTransitioning: !1 });
-Npe.displayName = "ViewTransition";
-var Ppe = b.createContext(null);
-Ppe.displayName = "Fetchers";
+jpe.displayName = "DataRouterData";
+var Mpe = b.createContext(null);
+Mpe.displayName = "DataRouterNavigation";
+var Npe = b.createContext(!1), Ppe = b.createContext({ isTransitioning: !1 });
+Ppe.displayName = "ViewTransition";
var Fpe = b.createContext(null);
-Fpe.displayName = "Await";
+Fpe.displayName = "Fetchers";
+var Ipe = b.createContext(null);
+Ipe.displayName = "Await";
+var _O = b.createContext(null);
+_O.displayName = "Navigation";
var vO = b.createContext(null);
-vO.displayName = "Navigation";
-var yO = b.createContext(null);
-yO.displayName = "Location";
-var bO = b.createContext({
+vO.displayName = "Location";
+var yO = b.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-bO.displayName = "Route";
-var xO = b.createContext(!1);
-xO.displayName = "IsDataRoute";
-var SO = b.createContext(void 0);
-SO.displayName = "RouteId";
-var CO = b.createContext(null);
-CO.displayName = "RouteError";
+yO.displayName = "Route";
+var bO = b.createContext(!1);
+bO.displayName = "IsDataRoute";
+var xO = b.createContext(void 0);
+xO.displayName = "RouteId";
+var SO = b.createContext(null);
+SO.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var Ipe = "REACT_ROUTER_ERROR", Lpe = "REDIRECT", Rpe = "ROUTE_ERROR_RESPONSE";
-function zpe(e) {
- if (e.startsWith(`${Ipe}:${Lpe}:{`)) try {
+var Lpe = "REACT_ROUTER_ERROR", Rpe = "REDIRECT", zpe = "ROUTE_ERROR_RESPONSE";
+function Bpe(e) {
+ if (e.startsWith(`${Lpe}:${Rpe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function Bpe(e) {
- if (e.startsWith(`${Ipe}:${Rpe}:{`)) try {
+function Vpe(e) {
+ if (e.startsWith(`${Lpe}:${zpe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new gpe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new _pe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function wO() {
- return b.useContext(yO) != null;
-}
-function TO() {
- return oO(wO(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(yO).location;
+function CO() {
+ return b.useContext(vO) != null;
}
-var Vpe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function Hpe() {
- return b.useContext(xO) ? rme() : Upe();
+function wO() {
+ return aO(CO(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(vO).location;
}
+var Hpe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
function Upe() {
- oO(wO(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = b.useContext(_O), { basename: t, navigator: n } = b.useContext(vO), { matches: r } = b.useContext(bO), { pathname: i } = TO(), a = JSON.stringify(upe(r)), o = b.useRef(!1);
+ return b.useContext(bO) ? ime() : Wpe();
+}
+function Wpe() {
+ aO(CO(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = b.useContext(gO), { basename: t, navigator: n } = b.useContext(_O), { matches: r } = b.useContext(yO), { pathname: i } = wO(), a = JSON.stringify(dpe(r)), o = b.useRef(!1);
return b.useLayoutEffect(() => {
o.current = !0;
}), b.useCallback((r, s = {}) => {
- if (sO(o.current, Vpe), !o.current) return;
+ if (oO(o.current, Hpe), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = dpe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : mO([t, c.pathname])), wpe(typeof r == "string" ? r : lO(r), n.createHref(c), Spe(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = fpe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : pO([t, c.pathname])), Tpe(typeof r == "string" ? r : cO(r), n.createHref(c), Cpe(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -31867,19 +31867,19 @@ function Upe() {
]);
}
b.createContext(null);
-function Wpe(e, t) {
- return Gpe(e, t);
+function Gpe(e, t) {
+ return Kpe(e, t);
}
-function Gpe(e, t, n) {
- oO(wO(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = b.useContext(vO), { matches: i } = b.useContext(bO), a = i[i.length - 1], o = a ? a.params : {};
+function Kpe(e, t, n) {
+ aO(CO(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = b.useContext(_O), { matches: i } = b.useContext(yO), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = TO(), l;
+ let c = wO(), l;
if (t) {
- let e = typeof t == "string" ? uO(t) : t;
- oO(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
+ let e = typeof t == "string" ? lO(t) : t;
+ aO(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
} else l = c;
let u = l.pathname || "/", d = u;
if (s !== "/") {
@@ -31887,13 +31887,13 @@ function Gpe(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Bfe(e, { pathname: d });
- let p = Zpe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Vfe(e, { pathname: d });
+ let p = Qpe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: mO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : mO([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: pO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : pO([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
})), i, n);
- return t && p ? /* @__PURE__ */ b.createElement(yO.Provider, { value: {
+ return t && p ? /* @__PURE__ */ b.createElement(vO.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -31906,14 +31906,14 @@ function Gpe(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function Kpe() {
- let e = nme(), t = _pe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function qpe() {
+ let e = rme(), t = vpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ b.createElement(b.Fragment, null, /* @__PURE__ */ b.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ b.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ b.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var qpe = /* @__PURE__ */ b.createElement(Kpe, null), Jpe = class extends b.Component {
+var Jpe = /* @__PURE__ */ b.createElement(qpe, null), Ype = class extends b.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -31921,7 +31921,7 @@ var qpe = /* @__PURE__ */ b.createElement(Kpe, null), Jpe = class extends b.Comp
error: e.error
};
}
- static contextType = Mpe;
+ static contextType = Npe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -31942,30 +31942,30 @@ var qpe = /* @__PURE__ */ b.createElement(Kpe, null), Jpe = class extends b.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = Bpe(e.digest);
+ let t = Vpe(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(bO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(xO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(SO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(CO.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(yO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(bO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(xO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(SO.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ b.createElement(Ype, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ b.createElement(Xpe, { error: e }, t) : t;
}
-}, EO = /* @__PURE__ */ new WeakMap();
-function Ype({ children: e, error: t }) {
- let { basename: n, navigator: r } = b.useContext(vO);
+}, TO = /* @__PURE__ */ new WeakMap();
+function Xpe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = b.useContext(_O);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = zpe(t.digest);
+ let e = Bpe(t.digest);
if (e) {
- let i = EO.get(t);
+ let i = TO.get(t);
if (i) throw i;
- let a = bpe(e.location, n), o = a.absoluteURL || a.to;
- if (wpe(e.location, o, Spe(r), "allow-explicit"), Ope(o)) throw Error("Invalid redirect location");
- if (ype && !EO.get(t)) {
+ let a = xpe(e.location, n), o = a.absoluteURL || a.to;
+ if (Tpe(e.location, o, Cpe(r), "allow-explicit"), kpe(o)) throw Error("Invalid redirect location");
+ if (bpe && !TO.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));
- throw EO.set(t, n), n;
+ throw TO.set(t, n), n;
}
}
return /* @__PURE__ */ b.createElement("meta", {
@@ -31976,11 +31976,11 @@ function Ype({ children: e, error: t }) {
}
return e;
}
-function Xpe({ routeContext: e, match: t, children: n }) {
- let r = b.useContext(_O);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(bO.Provider, { value: e }, /* @__PURE__ */ b.createElement(xO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(SO.Provider, { value: t.route.id }, n)));
+function Zpe({ routeContext: e, match: t, children: n }) {
+ let r = b.useContext(gO);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(yO.Provider, { value: e }, /* @__PURE__ */ b.createElement(bO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(xO.Provider, { value: t.route.id }, n)));
}
-function Zpe(e, t = [], n) {
+function Qpe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -31991,7 +31991,7 @@ function Zpe(e, t = [], n) {
let i = e, a = r?.errors;
if (a != null) {
let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);
- oO(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
+ aO(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
}
let o = !1, s = -1;
if (n && r) {
@@ -32011,16 +32011,16 @@ function Zpe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: vpe(r.matches),
+ pattern: ype(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || qpe, o && (s < 0 && c === 0 ? (ame("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Jpe, o && (s < 0 && c === 0 ? (ome("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(Xpe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(Zpe, {
match: n,
routeContext: {
outlet: e,
@@ -32030,7 +32030,7 @@ function Zpe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(Jpe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(Ype, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -32045,44 +32045,44 @@ function Zpe(e, t = [], n) {
}) : h();
}, null);
}
-function Qpe(e) {
- return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
-}
function $pe(e) {
- let t = b.useContext(_O);
- return oO(t, Qpe(e)), t;
+ return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
function eme(e) {
- let t = b.useContext(Ape);
- return oO(t, Qpe(e)), t;
+ let t = b.useContext(gO);
+ return aO(t, $pe(e)), t;
}
function tme(e) {
- let t = b.useContext(SO);
- return oO(t, `${e} can only be used on routes that contain a unique "id"`), t;
+ let t = b.useContext(jpe);
+ return aO(t, $pe(e)), t;
}
-function nme() {
- let e = b.useContext(CO), t = eme("useRouteError"), n = tme("useRouteError");
- return e === void 0 ? t.errors?.[n] : e;
+function nme(e) {
+ let t = b.useContext(xO);
+ return aO(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
function rme() {
- let { router: e } = $pe("useNavigate"), t = tme("useNavigate"), n = b.useRef(!1);
+ let e = b.useContext(SO), t = tme("useRouteError"), n = nme("useRouteError");
+ return e === void 0 ? t.errors?.[n] : e;
+}
+function ime() {
+ let { router: e } = eme("useNavigate"), t = nme("useNavigate"), n = b.useRef(!1);
return b.useLayoutEffect(() => {
n.current = !0;
}), b.useCallback(async (r, i = {}) => {
- sO(n.current, Vpe), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ oO(n.current, Hpe), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var ime = {};
-function ame(e, t, n) {
- !t && !ime[e] && (ime[e] = !0, sO(!1, n));
+var ame = {};
+function ome(e, t, n) {
+ !t && !ame[e] && (ame[e] = !0, oO(!1, n));
}
-b.memo(ome);
-function ome({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = b.useContext(_O);
- return oO(a, "You must render this element inside a <DataRouterContext.Provider> element"), Gpe(e, void 0, {
+b.memo(sme);
+function sme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = b.useContext(gO);
+ return aO(a, "You must render this element inside a <DataRouterContext.Provider> element"), Kpe(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -32090,11 +32090,11 @@ function ome({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function DO(e) {
- oO(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
+function EO(e) {
+ aO(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function sme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- oO(!wO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function cme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ aO(!CO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = b.useMemo(() => ({
basename: s,
navigator: i,
@@ -32107,9 +32107,9 @@ function sme({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = uO(n));
+ typeof n == "string" && (n = lO(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {
- let e = fO(l, s);
+ let e = dO(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -32131,27 +32131,27 @@ function sme({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return sO(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(vO.Provider, { value: c }, /* @__PURE__ */ b.createElement(yO.Provider, {
+ return oO(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(_O.Provider, { value: c }, /* @__PURE__ */ b.createElement(vO.Provider, {
children: t,
value: h
}));
}
-function OO({ children: e, location: t }) {
- return Wpe(kO(e), t);
+function DO({ children: e, location: t }) {
+ return Gpe(OO(e), t);
}
b.Component;
-function kO(e, t = []) {
+function OO(e, t = []) {
let n = [];
return b.Children.forEach(e, (e, r) => {
if (!b.isValidElement(e)) return;
let i = [...t, r];
if (e.type === b.Fragment) {
- n.push.apply(n, kO(e.props.children, i));
+ n.push.apply(n, OO(e.props.children, i));
return;
}
- oO(e.type === DO, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
+ aO(e.type === EO, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
let a = e.props;
- oO(!a.index || !a.children, "An index route cannot have child routes.");
+ aO(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -32170,55 +32170,55 @@ function kO(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = kO(a.children, i)), n.push(o);
+ a.children && (o.children = OO(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/history/settings-route.ts
-var AO = {
+var kO = {
appearance: "外观与导航",
playback: "浏览与播放",
jav: "JAV 与新作",
search: "搜索与推荐",
content: "内容显示"
-}, jO = {
+}, AO = {
library: "媒体库与入库",
subscriptions: "来源与订阅",
downloads: "下载渠道",
network: "网络与访问",
maintenance: "应用与维护"
};
-function cme(e) {
- return jO[e.split("/")[2]] || jO.library;
-}
-var MO = ["/settings", ...Object.keys(AO).map((e) => `/settings/${e}`)], NO = (e) => MO.includes(e);
function lme(e) {
- return AO[e.split("/")[2]] || AO.appearance;
+ return AO[e.split("/")[2]] || AO.library;
}
-function PO(e) {
+var jO = ["/settings", ...Object.keys(kO).map((e) => `/settings/${e}`)], MO = (e) => jO.includes(e);
+function ume(e) {
+ return kO[e.split("/")[2]] || kO.appearance;
+}
+function NO(e) {
return `/settings/${Object.entries({
- ...AO,
- ...jO
+ ...kO,
+ ...AO
}).find(([, t]) => t === e)?.[0] || "appearance"}`;
}
-var FO = (e) => {
+var PO = (e) => {
let t = e?.settingsBackground;
return t && typeof t.pathname == "string" ? t : null;
-}, IO = [
+}, FO = [
"/assets/:id",
"/posts/:id",
"/works/:code"
-], ume = [
+], dme = [
"mix",
"parts",
"editions",
"playlist"
];
-function dme(e, t = "") {
+function fme(e, t = "") {
let n = new URL(e, "https://peach.invalid");
e = n.pathname, t ||= n.search;
- for (let n of IO) {
- let r = dO(n, e);
+ for (let n of FO) {
+ let r = uO(n, e);
if (!r) continue;
if (n === "/works/:code") {
let e = r.params.code || "";
@@ -32235,7 +32235,7 @@ function dme(e, t = "") {
let a = Number(i[0]);
if (!Number.isSafeInteger(a) || a <= 0) return null;
if (n === "/assets/:id") {
- let e = new URLSearchParams(t), r = ume.filter((t) => e.has(t));
+ let e = new URLSearchParams(t), r = dme.filter((t) => e.has(t));
if (r.length === 1) {
let t = r[0], i = e.get(t), o = Number(i);
if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {
@@ -32259,42 +32259,42 @@ function dme(e, t = "") {
}
return null;
}
-var fme = (e, t = "") => dme(e, t)?.target ?? null, LO = (e) => NO(e.split(/[?#]/)[0]) || IO.some((t) => dO(t, e.split(/[?#]/)[0]) !== null);
-function RO(e) {
+var pme = (e, t = "") => fme(e, t)?.target ?? null, IO = (e) => MO(e.split(/[?#]/)[0]) || FO.some((t) => uO(t, e.split(/[?#]/)[0]) !== null);
+function LO(e) {
let t = e?.backgroundLocation;
return typeof t?.pathname == "string" ? {
pathname: t.pathname,
search: typeof t.search == "string" ? t.search : ""
} : null;
}
-var zO = null, BO = null;
-function VO() {
+var RO = null, zO = null;
+function BO() {
let { pathname: e, search: t } = window.location;
- LO(e) || (zO = {
+ IO(e) || (RO = {
pathname: e,
search: t
});
}
-function HO() {
- zO = null, BO = null;
+function VO() {
+ RO = null, zO = null;
}
-function pme(e) {
- let t = RO(e);
- t && (zO = t, BO = t.pathname + t.search);
+function mme(e) {
+ let t = LO(e);
+ t && (RO = t, zO = t.pathname + t.search);
}
-function UO() {
- let e = BO;
- return BO = null, e;
+function HO() {
+ let e = zO;
+ return zO = null, e;
}
-function WO(e) {
- return zO ? {
- backgroundLocation: { ...zO },
+function UO(e) {
+ return RO ? {
+ backgroundLocation: { ...RO },
overlay: e
} : void 0;
}
//#endregion
//#region src/history/canonical-path.ts
-function GO(e) {
+function WO(e) {
let t = new URL(e, "https://peach.invalid");
for (let [e, n] of [
[/^\/item\/(\d+)$/, "/assets/"],
@@ -32317,16 +32317,16 @@ function GO(e) {
}
//#endregion
//#region src/history/route-meta.ts
-var KO = {
+var GO = {
"/settings": {
title: "设置",
refresh: "skip"
},
- ...Object.fromEntries(Object.entries(AO).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(kO).map(([e, t]) => [`/settings/${e}`, {
title: t,
refresh: "skip"
}])),
- ...Object.fromEntries(Object.entries(jO).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(AO).map(([e, t]) => [`/settings/${e}`, {
title: t,
section: "configuration",
refresh: "reopen"
@@ -32462,13 +32462,13 @@ var KO = {
title: "播放墙"
}
};
-function qO(e) {
- if (Object.hasOwn(KO, e)) return KO[e];
- let t = dme(e);
- if (t) return KO[t.path];
+function KO(e) {
+ if (Object.hasOwn(GO, e)) return GO[e];
+ let t = fme(e);
+ if (t) return GO[t.path];
let [n, ...r] = e.split("/").filter(Boolean);
if (!n) return null;
- if (!r.length) return Object.hasOwn(KO, `/${n}`) ? KO[`/${n}`] : null;
+ if (!r.length) return Object.hasOwn(GO, `/${n}`) ? GO[`/${n}`] : null;
let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? xt({
performers: "performer",
studios: "studio",
@@ -32477,126 +32477,126 @@ function qO(e) {
series: "series",
tags: "tag"
}[n] || "", Number(r[0])) : r.join("/");
- return Object.hasOwn(KO, i) ? {
- ...KO[i],
+ return Object.hasOwn(GO, i) ? {
+ ...GO[i],
title: a || "资料"
} : null;
}
//#endregion
//#region src/history/managed.ts
-var mme = () => {}, hme = new Promise((e) => {
- mme = e;
+var hme = () => {}, gme = new Promise((e) => {
+ hme = e;
});
-hme.catch(() => {});
-var gme = null, JO = /* @__PURE__ */ new Map(), YO = /* @__PURE__ */ new Map(), _me = 0, XO = /* @__PURE__ */ new Set();
-function vme(e) {
- mme(e);
+gme.catch(() => {});
+var _me = null, qO = /* @__PURE__ */ new Map(), JO = /* @__PURE__ */ new Map(), vme = 0, YO = /* @__PURE__ */ new Set();
+function yme(e) {
+ hme(e);
}
-function ZO(e) {
- return JO.get(e) ?? null;
+function XO(e) {
+ return qO.get(e) ?? null;
}
-function QO(e) {
- return !!e && (JO.has(e) || YO.has(e));
+function ZO(e) {
+ return !!e && (qO.has(e) || JO.has(e));
}
-var $O = () => [...JO.values()];
-function yme(e) {
- return XO.add(e), () => {
- XO.delete(e);
+var QO = () => [...qO.values()];
+function bme(e) {
+ return YO.add(e), () => {
+ YO.delete(e);
};
}
-function ek(e) {
- let t = $O();
- for (let n of [...XO]) n(t, e);
+function $O(e) {
+ let t = QO();
+ for (let n of [...YO]) n(t, e);
}
-async function tk(e, t, n) {
+async function ek(e, t, n) {
let { container: r } = n;
- if (rk(r), !n.isCurrent()) return !1;
- _me += 1;
+ if (nk(r), !n.isCurrent()) return !1;
+ vme += 1;
let i = {
- revision: _me,
+ revision: vme,
controller: new AbortController()
};
- YO.set(r, i);
- let a = gme;
- gme = null, a?.();
- let o = await hme;
- if (YO.get(r) !== i) return !1;
+ JO.set(r, i);
+ let a = _me;
+ _me = null, a?.();
+ let o = await gme;
+ if (JO.get(r) !== i) return !1;
try {
await o(e, t, i.controller.signal);
} catch {
if (i.controller.signal.aborted) return !1;
}
- if (YO.get(r) !== i || (YO.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : bme(r);
- return JO.set(r, {
+ if (JO.get(r) !== i || (JO.delete(r), !n.isCurrent())) return !1;
+ let s = n.place ? n.place(r) : xme(r);
+ return qO.set(r, {
path: e,
props: t,
revision: i.revision,
container: r,
host: s,
resident: !!n.resident
- }), ek(!0), !0;
+ }), $O(!0), !0;
}
-function bme(e) {
+function xme(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
-function nk(e, t) {
- let n = e ? JO.get(e) : void 0;
- n && (JO.set(n.container, {
+function tk(e, t) {
+ let n = e ? qO.get(e) : void 0;
+ n && (qO.set(n.container, {
...n,
props: {
...n.props,
...t
}
- }), ek(!1));
+ }), $O(!1));
}
-function rk(e, ...t) {
+function nk(e, ...t) {
let n = [];
for (let r of /* @__PURE__ */ new Set([e, ...t])) {
- let e = YO.get(r);
- e && (e.controller.abort(), YO.delete(r));
- let t = JO.get(r);
- t && (JO.delete(r), n.push(t));
+ let e = JO.get(r);
+ e && (e.controller.abort(), JO.delete(r));
+ let t = qO.get(r);
+ t && (qO.delete(r), n.push(t));
}
if (n.length) {
- ek(!0);
+ $O(!0);
for (let e of n) e.resident || e.host.remove();
}
}
-function xme() {
- let [e, ...t] = /* @__PURE__ */ new Set([...JO.keys(), ...YO.keys()]);
- e && rk(e, ...t);
+function Sme() {
+ let [e, ...t] = /* @__PURE__ */ new Set([...qO.keys(), ...JO.keys()]);
+ e && nk(e, ...t);
}
-function Sme(e, t) {
- let n = JO.get(e);
- n?.revision === t && (JO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
- ek(!1);
+function Cme(e, t) {
+ let n = qO.get(e);
+ n?.revision === t && (qO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
+ $O(!1);
}));
}
//#endregion
//#region src/history/index.ts
-var ik = Ffe({ v5Compat: !0 }), ak = 0, ok = 0, sk = {
- action: ik.action,
- location: ik.location,
- seq: ak,
- openEpoch: ok,
+var rk = Ife({ v5Compat: !0 }), ik = 0, ak = 0, ok = {
+ action: rk.action,
+ location: rk.location,
+ seq: ik,
+ openEpoch: ak,
claimed: !0
-}, ck = /* @__PURE__ */ new Set(), lk = !1, uk = !0;
-ik.listen(({ action: e, location: t }) => {
- let n = t.pathname + t.search + t.hash, r = GO(n);
- r !== n && (window.history.replaceState(window.history.state, "", r), t = ik.location), ak += 1, lk || (ok += 1), e !== "REPLACE" && (uk = !1), sk = {
+}, sk = /* @__PURE__ */ new Set(), ck = !1, lk = !0;
+rk.listen(({ action: e, location: t }) => {
+ let n = t.pathname + t.search + t.hash, r = WO(n);
+ r !== n && (window.history.replaceState(window.history.state, "", r), t = rk.location), ik += 1, ck || (ak += 1), e !== "REPLACE" && (lk = !1), ok = {
action: e,
location: t,
- seq: ak,
- openEpoch: ok,
- claimed: lk
+ seq: ik,
+ openEpoch: ak,
+ claimed: ck
};
- for (let e of [...ck]) e(sk);
+ for (let e of [...sk]) e(ok);
});
-function Cme(e) {
- if (typeof e == "string") return GO(new URL(e, window.location.href).href);
- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = GO(t.href);
+function wme(e) {
+ if (typeof e == "string") return WO(new URL(e, window.location.href).href);
+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = WO(t.href);
if (n === t.pathname + t.search + t.hash) return e;
let r = new URL(n, window.location.origin);
return {
@@ -32606,55 +32606,55 @@ function Cme(e) {
hash: r.hash
};
}
-var dk = {
+var uk = {
get navigation() {
- return sk;
+ return ok;
},
listen(e) {
- return ck.add(e), () => {
- ck.delete(e);
+ return sk.add(e), () => {
+ sk.delete(e);
};
},
- createHref: (e) => ik.createHref(e),
- createURL: (e) => ik.createURL(e),
- encodeLocation: (e) => ik.encodeLocation(e),
- go: (e) => ik.go(e),
- push: (e, t) => ik.push(Cme(e), t),
- replace: (e, t) => ik.replace(Cme(e), t)
+ createHref: (e) => rk.createHref(e),
+ createURL: (e) => rk.createURL(e),
+ encodeLocation: (e) => rk.encodeLocation(e),
+ go: (e) => rk.go(e),
+ push: (e, t) => rk.push(wme(e), t),
+ replace: (e, t) => rk.replace(wme(e), t)
};
-function fk(e, { replace: t = !1, state: n } = {}) {
- let r = new URL(e, window.location.href), i = GO(`${r.pathname}${r.search}${r.hash}`);
- lk = !0;
+function dk(e, { replace: t = !1, state: n } = {}) {
+ let r = new URL(e, window.location.href), i = WO(`${r.pathname}${r.search}${r.hash}`);
+ ck = !0;
try {
- t ? ik.replace(i, n) : ik.push(i, n);
+ t ? rk.replace(i, n) : rk.push(i, n);
} finally {
- lk = !1;
+ ck = !1;
}
}
-var pk = () => uk;
-function mk() {
- if (NO(sk.location.pathname)) {
- let e = uk ? null : FO(sk.location.state);
- return e ? RO(e.state) || e : null;
+var fk = () => lk;
+function pk() {
+ if (MO(ok.location.pathname)) {
+ let e = lk ? null : PO(ok.location.state);
+ return e ? LO(e.state) || e : null;
}
- return uk ? null : RO(sk.location.state);
+ return lk ? null : LO(ok.location.state);
}
//#endregion
//#region src/core/jav-title.ts
-var wme = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Tme = (e, t = e?.name) => {
+var Tme = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Eme = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(wme, "") : n;
-}, Eme = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Dme = (e) => {
+ return e?.is_jav ? n.replace(Tme, "") : n;
+}, Dme = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Ome = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Eme) || t[0] || "";
+ return t.find(Dme) || t[0] || "";
};
-function Ome(e, t = e?.name) {
- let n = Tme(e, t), r = String(e?.code || "").trim().toUpperCase();
+function kme(e, t = e?.name) {
+ let n = Eme(e, t), r = String(e?.code || "").trim().toUpperCase();
if (!e?.is_jav || !r) return {
code: "",
title: n
};
- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Dme(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Ome(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
"中字",
"无码",
"无码破解"
@@ -32665,23 +32665,23 @@ function Ome(e, t = e?.name) {
badges: f
};
}
-var hk = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = Ome(e, t);
+var mk = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = kme(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function gk(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = Ome(e, t);
+function hk(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = kme(e, t);
if (!n) return z(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${z(r)}</span>` : ""}`;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+var Ame = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32689,7 +32689,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ame = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), jme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32697,7 +32697,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), _k = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), gk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32705,7 +32705,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), vk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), _k = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32713,7 +32713,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), yk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), vk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32721,7 +32721,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), jme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Mme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32729,7 +32729,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Mme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Nme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32737,7 +32737,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Nme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Pme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32745,7 +32745,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Pme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Fme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32753,7 +32753,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Fme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Ime = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32761,7 +32761,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ime = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Lme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32769,7 +32769,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Lme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Rme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32777,7 +32777,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), bk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), yk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32785,7 +32785,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Rme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), zme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32793,7 +32793,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), xk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), bk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32801,7 +32801,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Sk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), xk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32809,7 +32809,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Ck = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Sk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32817,7 +32817,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), zme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Bme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32825,7 +32825,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), wk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Ck = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32833,7 +32833,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Bme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Vme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32841,7 +32841,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Vme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32849,7 +32849,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Hme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Ume = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32857,7 +32857,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Ume = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Wme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32865,7 +32865,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Wme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Gme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32873,7 +32873,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Gme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32881,7 +32881,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Tk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), wk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32889,7 +32889,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Ek = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Tk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32897,7 +32897,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), qme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32905,7 +32905,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), qme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Jme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32913,7 +32913,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Jme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Yme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32921,7 +32921,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Yme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Xme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32929,7 +32929,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Xme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Zme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32937,7 +32937,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Zme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Qme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32945,7 +32945,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Qme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), $me = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32953,7 +32953,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Dk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Ek = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32961,7 +32961,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Dk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32969,7 +32969,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), $me = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32977,7 +32977,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), kk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32985,7 +32985,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), ehe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), the = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -32993,7 +32993,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), the = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), nhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33001,7 +33001,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), nhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33009,7 +33009,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), rhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33017,7 +33017,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), ihe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), ahe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33025,7 +33025,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), ahe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33033,7 +33033,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), ohe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), she = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33041,7 +33041,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), she = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), che = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -33049,88 +33049,88 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), che = (e, t) => {
+}, b.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), lhe = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, lhe = (e, t) => ({
+}, uhe = (e, t) => ({
classGroupId: e,
validator: t
-}), uhe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), dhe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), Ak = "-", dhe = [], fhe = "arbitrary..", phe = (e) => {
- let t = ghe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), kk = "-", fhe = [], phe = "arbitrary..", mhe = (e) => {
+ let t = _he(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return hhe(e);
- let n = e.split(Ak);
- return mhe(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return ghe(e);
+ let n = e.split(kk);
+ return hhe(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? che(i, t) : t : i || dhe;
+ return t ? i ? lhe(i, t) : t : i || fhe;
}
- return n[e] || dhe;
+ return n[e] || fhe;
}
};
-}, mhe = (e, t, n) => {
+}, hhe = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = mhe(e, t + 1, i);
+ let n = hhe(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(Ak) : e.slice(t).join(Ak), s = a.length;
+ let o = t === 0 ? e.join(kk) : e.slice(t).join(kk), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, hhe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, ghe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? fhe + r : void 0;
-})(), ghe = (e) => {
+ return r ? phe + r : void 0;
+})(), _he = (e) => {
let { theme: t, classGroups: n } = e;
- return _he(n, t);
-}, _he = (e, t) => {
- let n = uhe();
+ return vhe(n, t);
+}, vhe = (e, t) => {
+ let n = dhe();
for (let r in e) {
let i = e[r];
- jk(i, n, r, t);
+ Ak(i, n, r, t);
}
return n;
-}, jk = (e, t, n, r) => {
+}, Ak = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- vhe(i, t, n, r);
+ yhe(i, t, n, r);
}
-}, vhe = (e, t, n, r) => {
- typeof e == "string" ? yhe(e, t, n) : typeof e == "function" ? bhe(e, t, n, r) : xhe(e, t, n, r);
-}, yhe = (e, t, n) => {
- let r = e === "" ? t : She(t, e);
+}, yhe = (e, t, n, r) => {
+ typeof e == "string" ? bhe(e, t, n) : typeof e == "function" ? xhe(e, t, n, r) : She(e, t, n, r);
+}, bhe = (e, t, n) => {
+ let r = e === "" ? t : Che(t, e);
r.classGroupId = n;
-}, bhe = (e, t, n, r) => {
- Che(e) ? jk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(lhe(n, e)));
}, xhe = (e, t, n, r) => {
+ whe(e) ? Ak(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(uhe(n, e)));
+}, She = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- jk(o, She(t, a), n, r);
+ Ak(o, Che(t, a), n, r);
}
-}, She = (e, t) => {
- let n = e, r = t.split(Ak), i = r.length;
+}, Che = (e, t) => {
+ let n = e, r = t.split(kk), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = uhe(), n.nextPart.set(t, i)), n = i;
+ i || (i = dhe(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Che = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, whe = (e) => {
+}, whe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, The = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -33148,19 +33148,19 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
e in n ? n[e] = t : i(e, t);
}
};
-}, Mk = "!", The = ":", Ehe = [], Dhe = (e, t, n, r, i) => ({
+}, jk = "!", Ehe = ":", Dhe = [], Ohe = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Ohe = (e) => {
+}), khe = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === The) {
+ if (o === Ehe) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -33172,13 +33172,13 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(Mk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Mk) && (c = s.slice(1), l = !0);
+ s.endsWith(jk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(jk) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return Dhe(t, l, c, u);
+ return Ohe(t, l, c, u);
};
if (t) {
- let e = t + The, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Dhe(Ehe, !1, t, void 0, !0);
+ let e = t + Ehe, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Ohe(Dhe, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -33188,7 +33188,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
});
}
return r;
-}, khe = (e) => {
+}, Ahe = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -33200,18 +33200,18 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Ahe = (e) => ({
- cache: whe(e.cacheSize),
- parseClassName: Ohe(e),
- sortModifiers: khe(e),
- postfixLookupClassGroupIds: jhe(e),
- ...phe(e)
-}), jhe = (e) => {
+}, jhe = (e) => ({
+ cache: The(e.cacheSize),
+ parseClassName: khe(e),
+ sortModifiers: Ahe(e),
+ postfixLookupClassGroupIds: Mhe(e),
+ ...mhe(e)
+}), Mhe = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, Mhe = /\s+/, Nhe = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Mhe), l = "";
+}, Nhe = /\s+/, Phe = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Nhe), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -33231,7 +33231,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Mk : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + jk : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -33242,34 +33242,34 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Phe = (...e) => {
+}, Fhe = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = Fhe(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = Ihe(n)) && (i && (i += " "), i += r);
return i;
-}, Fhe = (e) => {
+}, Ihe = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = Fhe(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = Ihe(e[r])) && (n && (n += " "), n += t);
return n;
-}, Ihe = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Ahe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, Lhe = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = jhe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = Nhe(e, n);
+ let a = Phe(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Phe(...e));
-}, Lhe = [], Nk = (e) => {
- let t = (t) => t[e] || Lhe;
+ return a = o, (...e) => a(Fhe(...e));
+}, Rhe = [], Mk = (e) => {
+ let t = (t) => t[e] || Rhe;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, Rhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, zhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Bhe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Vhe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hhe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Uhe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Whe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ghe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Pk = (e) => Bhe.test(e), Fk = (e) => !!e && !Number.isNaN(Number(e)), Ik = (e) => !!e && Number.isInteger(Number(e)), Lk = (e) => e.endsWith("%") && Fk(e.slice(0, -1)), Rk = (e) => Vhe.test(e), Khe = () => !0, qhe = (e) => Hhe.test(e) && !Uhe.test(e), zk = () => !1, Jhe = (e) => Whe.test(e), Yhe = (e) => Ghe.test(e), Xhe = (e) => !Bk(e) && !Uk(e), Zhe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Qhe = (e) => Kk(e, dge, zk), Bk = (e) => Rhe.test(e), Vk = (e) => Kk(e, fge, qhe), $he = (e) => Kk(e, pge, Fk), ege = (e) => Kk(e, hge, Khe), tge = (e) => Kk(e, mge, zk), nge = (e) => Kk(e, lge, zk), rge = (e) => Kk(e, uge, Yhe), Hk = (e) => Kk(e, gge, Jhe), Uk = (e) => zhe.test(e), Wk = (e) => qk(e, fge), ige = (e) => qk(e, mge), age = (e) => qk(e, lge), oge = (e) => qk(e, dge), sge = (e) => qk(e, uge), Gk = (e) => qk(e, gge, !0), cge = (e) => qk(e, hge, !0), Kk = (e, t, n) => {
- let r = Rhe.exec(e);
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, qk = (e, t, n = !1) => {
+}, zhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Bhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vhe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Hhe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Uhe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Whe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Ghe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Khe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Nk = (e) => Vhe.test(e), Pk = (e) => !!e && !Number.isNaN(Number(e)), Fk = (e) => !!e && Number.isInteger(Number(e)), Ik = (e) => e.endsWith("%") && Pk(e.slice(0, -1)), Lk = (e) => Hhe.test(e), qhe = () => !0, Jhe = (e) => Uhe.test(e) && !Whe.test(e), Rk = () => !1, Yhe = (e) => Ghe.test(e), Xhe = (e) => Khe.test(e), Zhe = (e) => !zk(e) && !Hk(e), Qhe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), $he = (e) => Gk(e, fge, Rk), zk = (e) => zhe.test(e), Bk = (e) => Gk(e, pge, Jhe), ege = (e) => Gk(e, mge, Pk), tge = (e) => Gk(e, gge, qhe), nge = (e) => Gk(e, hge, Rk), rge = (e) => Gk(e, uge, Rk), ige = (e) => Gk(e, dge, Xhe), Vk = (e) => Gk(e, _ge, Yhe), Hk = (e) => Bhe.test(e), Uk = (e) => Kk(e, pge), age = (e) => Kk(e, hge), oge = (e) => Kk(e, uge), sge = (e) => Kk(e, fge), cge = (e) => Kk(e, dge), Wk = (e) => Kk(e, _ge, !0), lge = (e) => Kk(e, gge, !0), Gk = (e, t, n) => {
let r = zhe.exec(e);
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
+}, Kk = (e, t, n = !1) => {
+ let r = Bhe.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, lge = (e) => e === "position" || e === "percentage", uge = (e) => e === "image" || e === "url", dge = (e) => e === "length" || e === "size" || e === "bg-size", fge = (e) => e === "length", pge = (e) => e === "number", mge = (e) => e === "family-name", hge = (e) => e === "number" || e === "weight", gge = (e) => e === "shadow", _ge = () => {
- let e = Nk("color"), t = Nk("font"), n = Nk("text"), r = Nk("font-weight"), i = Nk("tracking"), a = Nk("leading"), o = Nk("breakpoint"), s = Nk("container"), c = Nk("spacing"), l = Nk("radius"), u = Nk("shadow"), d = Nk("inset-shadow"), f = Nk("text-shadow"), p = Nk("drop-shadow"), m = Nk("blur"), h = Nk("perspective"), g = Nk("aspect"), _ = Nk("ease"), v = Nk("animate"), y = () => [
+}, uge = (e) => e === "position" || e === "percentage", dge = (e) => e === "image" || e === "url", fge = (e) => e === "length" || e === "size" || e === "bg-size", pge = (e) => e === "length", mge = (e) => e === "number", hge = (e) => e === "family-name", gge = (e) => e === "number" || e === "weight", _ge = (e) => e === "shadow", vge = () => {
+ let e = Mk("color"), t = Mk("font"), n = Mk("text"), r = Mk("font-weight"), i = Mk("tracking"), a = Mk("leading"), o = Mk("breakpoint"), s = Mk("container"), c = Mk("spacing"), l = Mk("radius"), u = Mk("shadow"), d = Mk("inset-shadow"), f = Mk("text-shadow"), p = Mk("drop-shadow"), m = Mk("blur"), h = Mk("perspective"), g = Mk("aspect"), _ = Mk("ease"), v = Mk("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -33294,8 +33294,8 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"left-bottom"
], x = () => [
...b(),
- Uk,
- Bk
+ Hk,
+ zk
], S = () => [
"auto",
"hidden",
@@ -33307,43 +33307,43 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"contain",
"none"
], w = () => [
- Uk,
- Bk,
+ Hk,
+ zk,
c
], T = () => [
- Pk,
+ Nk,
"full",
"auto",
...w()
], E = () => [
- Ik,
+ Fk,
"none",
"subgrid",
- Uk,
- Bk
+ Hk,
+ zk
], D = () => [
"auto",
{ span: [
"full",
- Ik,
- Uk,
- Bk
+ Fk,
+ Hk,
+ zk
] },
- Ik,
- Uk,
- Bk
+ Fk,
+ Hk,
+ zk
], O = () => [
- Ik,
+ Fk,
"auto",
- Uk,
- Bk
+ Hk,
+ zk
], k = () => [
"auto",
"min",
"max",
"fr",
- Uk,
- Bk
+ Hk,
+ zk
], A = () => [
"start",
"end",
@@ -33363,7 +33363,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- Pk,
+ Nk,
"auto",
"full",
"dvw",
@@ -33378,7 +33378,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], P = () => [
s,
- Pk,
+ Nk,
"screen",
"full",
"dvw",
@@ -33389,7 +33389,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fit",
...w()
], ee = () => [
- Pk,
+ Nk,
"screen",
"full",
"lh",
@@ -33402,13 +33402,13 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], F = () => [
e,
- Uk,
- Bk
+ Hk,
+ zk
], te = () => [
...b(),
- age,
- nge,
- { position: [Uk, Bk] }
+ oge,
+ rge,
+ { position: [Hk, zk] }
], I = () => ["no-repeat", { repeat: [
"",
"x",
@@ -33419,25 +33419,25 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"auto",
"cover",
"contain",
- oge,
- Qhe,
- { size: [Uk, Bk] }
+ sge,
+ $he,
+ { size: [Hk, zk] }
], re = () => [
- Lk,
- Wk,
- Vk
+ Ik,
+ Uk,
+ Bk
], ie = () => [
"",
"none",
"full",
l,
- Uk,
- Bk
+ Hk,
+ zk
], ae = () => [
"",
- Fk,
- Wk,
- Vk
+ Pk,
+ Uk,
+ Bk
], oe = () => [
"solid",
"dashed",
@@ -33461,32 +33461,32 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"color",
"luminosity"
], ce = () => [
- Fk,
- Lk,
- age,
- nge
+ Pk,
+ Ik,
+ oge,
+ rge
], le = () => [
"",
"none",
m,
- Uk,
- Bk
+ Hk,
+ zk
], ue = () => [
"none",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
], de = () => [
"none",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
], fe = () => [
- Fk,
- Uk,
- Bk
- ], pe = () => [
Pk,
+ Hk,
+ zk
+ ], pe = () => [
+ Nk,
"full",
...w()
];
@@ -33500,17 +33500,17 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"bounce"
],
aspect: ["video"],
- blur: [Rk],
- breakpoint: [Rk],
- color: [Khe],
- container: [Rk],
- "drop-shadow": [Rk],
+ blur: [Lk],
+ breakpoint: [Lk],
+ color: [qhe],
+ container: [Lk],
+ "drop-shadow": [Lk],
ease: [
"in",
"out",
"in-out"
],
- font: [Xhe],
+ font: [Zhe],
"font-weight": [
"thin",
"extralight",
@@ -33522,7 +33522,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"extrabold",
"black"
],
- "inset-shadow": [Rk],
+ "inset-shadow": [Lk],
leading: [
"none",
"tight",
@@ -33539,11 +33539,11 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"distant",
"none"
],
- radius: [Rk],
- shadow: [Rk],
- spacing: ["px", Fk],
- text: [Rk],
- "text-shadow": [Rk],
+ radius: [Lk],
+ shadow: [Lk],
+ spacing: ["px", Pk],
+ text: [Lk],
+ "text-shadow": [Lk],
tracking: [
"tighter",
"tight",
@@ -33557,9 +33557,9 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
aspect: [{ aspect: [
"auto",
"square",
- Pk,
- Bk,
- Uk,
+ Nk,
+ zk,
+ Hk,
g
] }],
container: ["container"],
@@ -33567,15 +33567,15 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"",
"normal",
"size",
- Uk,
- Bk
+ Hk,
+ zk
] }],
- "container-named": [Zhe],
+ "container-named": [Qhe],
columns: [{ columns: [
- Fk,
+ Pk,
"auto",
- Bk,
- Uk,
+ zk,
+ Hk,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -33672,13 +33672,13 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"collapse"
],
z: [{ z: [
- Ik,
+ Fk,
"auto",
- Uk,
- Bk
+ Hk,
+ zk
] }],
basis: [{ basis: [
- Pk,
+ Nk,
"full",
"auto",
s,
@@ -33696,32 +33696,32 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"wrap-reverse"
] }],
flex: [{ flex: [
- Fk,
Pk,
+ Nk,
"auto",
"initial",
"none",
- Bk
+ zk
] }],
grow: [{ grow: [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
shrink: [{ shrink: [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
order: [{ order: [
- Ik,
+ Fk,
"first",
"last",
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -33828,15 +33828,15 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"font-size": [{ text: [
"base",
n,
- Wk,
- Vk
+ Uk,
+ Bk
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- cge,
- ege
+ lge,
+ tge
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -33848,15 +33848,15 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"expanded",
"extra-expanded",
"ultra-expanded",
- Lk,
- Bk
+ Ik,
+ zk
] }],
"font-family": [{ font: [
- ige,
- tge,
+ age,
+ nge,
t
] }],
- "font-features": [{ "font-features": [Bk] }],
+ "font-features": [{ "font-features": [zk] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -33865,14 +33865,14 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- Uk,
- Bk
+ Hk,
+ zk
] }],
"line-clamp": [{ "line-clamp": [
- Fk,
+ Pk,
"none",
- Uk,
- $he
+ Hk,
+ ege
] }],
leading: [{ leading: [
"none",
@@ -33881,16 +33881,16 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
"list-image": [{ "list-image": [
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"text-alignment": [{ text: [
"left",
@@ -33910,18 +33910,18 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
],
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- Fk,
+ Pk,
"from-font",
"auto",
- Uk,
- Vk
+ Hk,
+ Bk
] }],
"text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- Fk,
+ Pk,
"auto",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"text-transform": [
"uppercase",
@@ -33942,9 +33942,9 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- Ik,
- Uk,
- Bk
+ Fk,
+ Hk,
+ zk
] }],
"vertical-align": [{ align: [
"baseline",
@@ -33955,8 +33955,8 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"text-bottom",
"sub",
"super",
- Uk,
- Bk
+ Hk,
+ zk
] }],
whitespace: [{ whitespace: [
"normal",
@@ -33984,8 +33984,8 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
content: [{ content: [
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -34020,24 +34020,24 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"l",
"tl"
] },
- Ik,
- Uk,
- Bk
+ Fk,
+ Hk,
+ zk
],
radial: [
"",
- Uk,
- Bk
+ Hk,
+ zk
],
conic: [
"",
- Ik,
- Uk,
- Bk
+ Fk,
+ Hk,
+ zk
]
},
- sge,
- rge
+ cge,
+ ige
] }],
"bg-color": [{ bg: F() }],
"gradient-from-pos": [{ from: re() }],
@@ -34104,15 +34104,15 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"outline-w": [{ outline: [
"",
- Fk,
- Wk,
- Vk
+ Pk,
+ Uk,
+ Bk
] }],
"outline-color": [{ outline: F() }],
shadow: [{ shadow: [
@@ -34120,35 +34120,35 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"inner",
"none",
u,
- Gk,
- Hk
+ Wk,
+ Vk
] }],
"shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- Gk,
- Hk
+ Wk,
+ Vk
] }],
"inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [Fk, Vk] }],
+ "ring-offset-w": [{ "ring-offset": [Pk, Bk] }],
"ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- Gk,
- Hk
+ Wk,
+ Vk
] }],
"text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -34170,7 +34170,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [Fk] }],
+ "mask-image-linear-pos": [{ "mask-linear": [Pk] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
@@ -34199,7 +34199,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-image-y-to-pos": [{ "mask-y-to": ce() }],
"mask-image-y-from-color": [{ "mask-y-from": F() }],
"mask-image-y-to-color": [{ "mask-y-to": F() }],
- "mask-image-radial": [{ "mask-radial": [Uk, Bk] }],
+ "mask-image-radial": [{ "mask-radial": [Hk, zk] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
@@ -34210,7 +34210,7 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [Fk] }],
+ "mask-image-conic-pos": [{ "mask-conic": [Pk] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
@@ -34234,111 +34234,111 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
filter: [{ filter: [
"",
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
contrast: [{ contrast: [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- Gk,
- Hk
+ Wk,
+ Vk
] }],
"drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"hue-rotate": [{ "hue-rotate": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
invert: [{ invert: [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
saturate: [{ saturate: [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
sepia: [{ sepia: [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -34354,39 +34354,39 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"shadow",
"transform",
"none",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- Fk,
+ Pk,
"initial",
- Uk,
- Bk
+ Hk,
+ zk
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- Uk,
- Bk
+ Hk,
+ zk
] }],
delay: [{ delay: [
- Fk,
- Uk,
- Bk
+ Pk,
+ Hk,
+ zk
] }],
animate: [{ animate: [
"none",
v,
- Uk,
- Bk
+ Hk,
+ zk
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- Uk,
- Bk
+ Hk,
+ zk
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -34402,8 +34402,8 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- Uk,
- Bk,
+ Hk,
+ zk,
"",
"none",
"gpu",
@@ -34417,9 +34417,9 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- Ik,
- Uk,
- Bk
+ Fk,
+ Hk,
+ zk
] }],
accent: [{ accent: F() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -34469,8 +34469,8 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"nwse-resize",
"zoom-in",
"zoom-out",
- Uk,
- Bk
+ Hk,
+ zk
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -34556,15 +34556,15 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"scroll",
"contents",
"transform",
- Uk,
- Bk
+ Hk,
+ zk
] }],
fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- Fk,
- Wk,
- Vk,
- $he
+ Pk,
+ Uk,
+ Bk,
+ ege
] }],
stroke: [{ stroke: ["none", ...F()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -34822,16 +34822,16 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"selection"
]
};
-}, vge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Jk(e, "cacheSize", t), Jk(e, "prefix", n), Jk(e, "experimentalParseClassName", r), Yk(e.theme, a.theme), Yk(e.classGroups, a.classGroups), Yk(e.conflictingClassGroups, a.conflictingClassGroups), Yk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Jk(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Jk(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Xk(e.theme, i.theme), Xk(e.classGroups, i.classGroups), Xk(e.conflictingClassGroups, i.conflictingClassGroups), Xk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Zk(e, i, "postfixLookupClassGroups"), Zk(e, i, "orderSensitiveModifiers"), e), Jk = (e, t, n) => {
+}, yge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (qk(e, "cacheSize", t), qk(e, "prefix", n), qk(e, "experimentalParseClassName", r), Jk(e.theme, a.theme), Jk(e.classGroups, a.classGroups), Jk(e.conflictingClassGroups, a.conflictingClassGroups), Jk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), qk(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), qk(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Yk(e.theme, i.theme), Yk(e.classGroups, i.classGroups), Yk(e.conflictingClassGroups, i.conflictingClassGroups), Yk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Xk(e, i, "postfixLookupClassGroups"), Xk(e, i, "orderSensitiveModifiers"), e), qk = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, Jk = (e, t) => {
+ if (t) for (let n in t) qk(e, n, t[n]);
}, Yk = (e, t) => {
- if (t) for (let n in t) Jk(e, n, t[n]);
-}, Xk = (e, t) => {
- if (t) for (let n in t) Zk(e, t, n);
-}, Zk = (e, t, n) => {
+ if (t) for (let n in t) Xk(e, t, n);
+}, Xk = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, yge = (e, ...t) => typeof e == "function" ? Ihe(_ge, e, ...t) : Ihe(() => vge(_ge(), e), ...t), bge = [
+}, bge = (e, ...t) => typeof e == "function" ? Lhe(vge, e, ...t) : Lhe(() => yge(vge(), e), ...t), xge = [
"large-title",
"display-1",
"display-2",
@@ -34845,18 +34845,18 @@ var kme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"body-2",
"caption-1",
"caption-2"
-], xge = [
+], Sge = [
"regular",
"medium",
"semibold",
"bold"
-], Qk = yge({ extend: { classGroups: { "font-size": [{ text: bge.flatMap((e) => xge.map((t) => `${e}-${t}`)) }] } } });
-function $k(e) {
+], Zk = bge({ extend: { classGroups: { "font-size": [{ text: xge.flatMap((e) => Sge.map((t) => `${e}-${t}`)) }] } } });
+function Qk(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var eA = $k({
+var $k = Qk({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -34875,16 +34875,16 @@ var eA = $k({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function tA({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function eA({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
ref: r,
- className: Qk(eA.base, eA.variant[e], eA.color[t], n),
+ className: Zk($k.base, $k.variant[e], $k.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var nA = $k({
+var tA = Qk({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -34943,40 +34943,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, x.jsxs)("button", {
ref: c,
type: s,
- className: Qk(nA.base, nA.size[t], nA.variant[e], n && nA.iconOnlySize[t], o),
+ className: Zk(tA.base, tA.size[t], tA.variant[e], n && tA.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: nA.icon[t],
+ className: tA.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: nA.label[t],
+ className: tA.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: nA.icon[t],
+ className: tA.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function rA({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function nA({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, x.jsxs)("a", {
ref: s,
- className: Qk(nA.base, nA.size[t], nA.variant[e], n && nA.iconOnlySize[t], o),
+ className: Zk(tA.base, tA.size[t], tA.variant[e], n && tA.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: nA.icon[t],
+ className: tA.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: nA.label[t],
+ className: tA.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: nA.icon[t],
+ className: tA.icon[t],
"aria-hidden": !0
}) : null
]
@@ -34984,47 +34984,47 @@ function rA({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var Sge = "min-w-0", Cge = {
+var Cge = "min-w-0", wge = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, wge = {
+}, Tge = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Tge = {
+}, Ege = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Ege = {
+}, Dge = {
none: "",
default: "p-5"
-}, Dge = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Oge = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function iA(e = {}) {
+}, Oge = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", kge = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function rA(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- Sge,
- Cge[t],
- wge[s],
- Ege[n],
- a ? Tge[a] : "",
- r ? Dge : "",
- i ? Oge : "",
+ Cge,
+ wge[t],
+ Tge[s],
+ Dge[n],
+ a ? Ege[a] : "",
+ r ? Oge : "",
+ i ? kge : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var kge = {
+var Age = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function aA({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function iA({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${kge[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Age[i]}`,
children: [
a ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -35054,7 +35054,7 @@ function aA({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function oA({ label: e, inline: t = !1 }) {
+function aA({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex shrink-0 items-center gap-1",
@@ -35123,7 +35123,7 @@ function K({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function sA({ children: e }) {
+function oA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -35131,21 +35131,21 @@ function sA({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var cA = 100, Age = .4;
-function lA({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * cA;
+var sA = 100, jge = .4;
+function cA({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * sA;
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${cA} 1`,
+ viewBox: `0 0 ${sA} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, x.jsx)("rect", {
- width: cA,
+ width: sA,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -35156,7 +35156,7 @@ function lA({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, x.jsx)("rect", {
x: o(e),
- width: Age,
+ width: jge,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -35173,7 +35173,7 @@ function q(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function uA(e = "") {
+function lA(e = "") {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(""), [i, a] = (0, b.useState)(e);
(0, b.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -35199,21 +35199,21 @@ function uA(e = "") {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function jge({ className: e, children: t }) {
+function Mge({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: Qk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: Zk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function dA({ className: e, children: t }) {
+function uA({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
- className: Qk("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: Zk("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function fA({ label: e, description: t, children: n }) {
+function dA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Qk("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: Zk("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, x.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
@@ -35228,7 +35228,7 @@ function fA({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var pA = $k({
+var fA = Qk({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -35252,15 +35252,15 @@ var pA = $k({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function mA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = Qk(pA.base, pA.size[t], pA.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+function pA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = Zk(fA.base, fA.size[t], fA.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: pA.icon[t],
+ className: fA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: pA.icon[t],
+ className: fA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -35287,7 +35287,7 @@ function mA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function hA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function mA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -35295,12 +35295,12 @@ function hA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(dA, { children: o })
+ children: /* @__PURE__ */ (0, x.jsx)(uA, { children: o })
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, x.jsx)(dA, { children: o }), /* @__PURE__ */ (0, x.jsx)(jge, { children: a })] });
+ }) : /* @__PURE__ */ (0, x.jsx)(uA, { children: o }), /* @__PURE__ */ (0, x.jsx)(Mge, { children: a })] });
return i ? /* @__PURE__ */ (0, x.jsx)("form", {
id: n,
"aria-label": e,
@@ -35315,13 +35315,13 @@ function hA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function gA({ children: e }) {
+function hA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function _A({ divided: e = !1, children: t }) {
+function gA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -35330,7 +35330,7 @@ function _A({ divided: e = !1, children: t }) {
children: t
});
}
-function vA({ status: e, children: t }) {
+function _A({ status: e, children: t }) {
return /* @__PURE__ */ (0, x.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, x.jsx)("div", {
@@ -35339,34 +35339,34 @@ function vA({ status: e, children: t }) {
}) : null, t]
});
}
-function yA({ role: e, children: t }) {
+function vA({ role: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function bA({ children: e }) {
+function yA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function xA({ children: e }) {
+function bA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function SA({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, x.jsx)(mA, {
+function xA({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(pA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: wk,
+ trailingIcon: Ck,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -35374,13 +35374,13 @@ function SA({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function CA({ children: e }) {
+function SA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function wA({ term: e, children: t }) {
+function CA({ term: e, children: t }) {
return /* @__PURE__ */ (0, x.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, x.jsx)("dt", {
@@ -35392,7 +35392,7 @@ function wA({ term: e, children: t }) {
})]
});
}
-function TA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
+function wA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
let a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(!1), [l, u] = (0, b.useState)(t);
return /* @__PURE__ */ (0, x.jsxs)("details", {
ref: (e) => {
@@ -35406,12 +35406,12 @@ function TA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
},
className: `${r ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [
- r ? null : /* @__PURE__ */ (0, x.jsx)(yk, {
+ r ? null : /* @__PURE__ */ (0, x.jsx)(vk, {
"aria-hidden": !0,
className: l ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}),
e,
- r ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ r ? /* @__PURE__ */ (0, x.jsx)(vk, {
"aria-hidden": !0,
className: l ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"
}) : null
@@ -35427,7 +35427,7 @@ function TA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
})]
});
}
-function Mge({ name: e }) {
+function Nge({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -35436,22 +35436,22 @@ function Mge({ name: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function EA({ mark: e }) {
+function TA({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, x.jsx)(Mge, { name: e });
+ }) : /* @__PURE__ */ (0, x.jsx)(Nge, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var DA = "/api/tasks", OA = ["tasks"], Nge = (e, t) => V(`${DA}?${new URLSearchParams({
+var EA = "/api/tasks", DA = ["tasks"], Pge = (e, t) => V(`${EA}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function kA(...e) {
+function OA(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -35459,26 +35459,26 @@ function kA(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Pge = 2e3, Fge = 1e4, Ige = (e) => e?.running.length ? Pge : Fge, AA = (e) => V(DA, e);
-async function Lge(e) {
+var Fge = 2e3, Ige = 1e4, Lge = (e) => e?.running.length ? Fge : Ige, kA = (e) => V(EA, e);
+async function Rge(e) {
await U.fetchQuery({
- queryKey: OA,
- queryFn: () => AA(e)
+ queryKey: DA,
+ queryFn: () => kA(e)
});
}
-var jA = {
+var AA = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Rge = {
+}, zge = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, zge = (e) => Rge[e] || e, Bge = {
+}, Bge = (e) => zge[e] || e, Vge = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -35508,7 +35508,7 @@ var jA = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Vge(e) {
+function Hge(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -35517,7 +35517,7 @@ function Vge(e) {
}
return t;
}
-function Hge(e, t) {
+function Uge(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -35539,12 +35539,12 @@ function Hge(e, t) {
}
return n;
}
-var Uge = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), MA = (e) => e.status === "pending" || e.status === "running";
-function Wge(e) {
+var Wge = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), jA = (e) => e.status === "pending" || e.status === "running";
+function Gge(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, FA(e.error) || LA(e.result_summary) || (MA(e) && i > 0 ? `${PA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, PA(e.error) || IA(e.result_summary) || (jA(e) && i > 0 ? `${NA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function NA(e) {
+function MA(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -35553,15 +35553,15 @@ function NA(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function PA(e, t) {
+function NA(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function FA(e) {
+function PA(e) {
let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";
}
-function IA(e) {
+function FA(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -35571,7 +35571,7 @@ function IA(e) {
minute: "2-digit"
});
}
-var Gge = /* @__PURE__ */ new Set([
+var Kge = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -35580,46 +35580,46 @@ var Gge = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function LA(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Gge.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Bge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
+function IA(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Kge.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Vge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
}
//#endregion
//#region src/react/components/source-label.tsx
-function Kge({ className: e }) {
+function qge({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(EA, { mark: Ja[115] })
+ children: /* @__PURE__ */ (0, x.jsx)(TA, { mark: Ja[115] })
});
}
-function qge({ className: e }) {
+function Jge({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(EA, { mark: Ja.pikpak })
+ children: /* @__PURE__ */ (0, x.jsx)(TA, { mark: Ja.pikpak })
});
}
-var RA = {
- 115: Kge,
- pikpak: qge
+var LA = {
+ 115: qge,
+ pikpak: Jge
};
-function zA({ source: e, label: t }) {
+function RA({ source: e, label: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: Ja[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: Ja[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
});
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var BA = "/api/downloads", VA = ["downloads"], Jge = "/api/downloads/cancel", Yge = "/api/downloads/postprocess", HA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Xge = {
+var zA = "/api/downloads", BA = ["downloads"], Yge = "/api/downloads/cancel", Xge = "/api/downloads/postprocess", VA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Zge = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Zge = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, UA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function Qge() {
+}, Qge = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, HA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function $ge() {
let e = (0, b.useId)(), t = dt({
- queryKey: VA,
- queryFn: ({ signal: e }) => V(`${BA}?limit=50`, e),
- refetchInterval: (e) => HA(e.state.data)
+ queryKey: BA,
+ queryFn: ({ signal: e }) => V(`${zA}?limit=50`, e),
+ refetchInterval: (e) => VA(e.state.data)
}), n = t.data;
return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": e,
@@ -35637,7 +35637,7 @@ function Qge() {
n?.tasks.length ? /* @__PURE__ */ (0, x.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)($ge, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(e_e, {
task: e,
writable: n.available
}, e.id))
@@ -35645,15 +35645,15 @@ function Qge() {
]
});
}
-function $ge({ task: e, writable: t }) {
- let n = C(), r = uA(), [i, a] = (0, b.useState)(!1), o = UA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
+function e_e({ task: e, writable: t }) {
+ let n = C(), r = lA(), [i, a] = (0, b.useState)(!1), o = HA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
e.code,
e.target,
- IA(e.submitted_at)
+ FA(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: VA });
+ n.invalidateQueries({ queryKey: BA });
}, u = () => {
- r.run("cancel", (t) => H(Jge, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => H(Yge, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -35663,16 +35663,16 @@ function $ge({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => H(BA, t, "POST", e), l);
+ r.run("resubmit", (e) => H(zA, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, p = () => {
- r.run("postprocess", (t) => H(Yge, { id: e.id }, "POST", t), l);
+ r.run("postprocess", (t) => H(Xge, { id: e.id }, "POST", t), l);
};
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: iA({
+ className: rA({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -35685,13 +35685,13 @@ function $ge({ task: e, writable: t }) {
children: [
/* @__PURE__ */ (0, x.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: Zge(e)
+ children: Qge(e)
}),
- /* @__PURE__ */ (0, x.jsx)(tA, {
- color: Xge[e.state] ?? "neutral",
+ /* @__PURE__ */ (0, x.jsx)(eA, {
+ color: Zge[e.state] ?? "neutral",
children: e.state_label
}),
- e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(eA, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
children: e.postprocess_label
}) : null
@@ -35699,7 +35699,7 @@ function $ge({ task: e, writable: t }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, x.jsx)(zA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(RA, {
source: e.provider,
label: e.provider_label
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -35707,7 +35707,7 @@ function $ge({ task: e, writable: t }) {
children: c
})]
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(lA, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(cA, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -35716,7 +35716,7 @@ function $ge({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: r.error }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -35761,8 +35761,8 @@ function $ge({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/error-excerpt.tsx
-function WA({ text: e, className: t = "" }) {
- let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = FA(a);
+function UA({ text: e, className: t = "" }) {
+ let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = PA(a);
if (!o) return null;
let s = o !== a;
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -35788,23 +35788,23 @@ function WA({ text: e, className: t = "" }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var e_e = {
+var t_e = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function GA({ status: e }) {
- return /* @__PURE__ */ (0, x.jsx)(tA, {
- color: e_e[e] ?? "neutral",
- children: zge(e)
+function WA({ status: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(eA, {
+ color: t_e[e] ?? "neutral",
+ children: Bge(e)
});
}
-function t_e({ rows: e }) {
+function n_e({ rows: e }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Wge(e);
+ let t = Gge(e);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -35814,7 +35814,7 @@ function t_e({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, x.jsx)(GA, { status: e.status }),
+ /* @__PURE__ */ (0, x.jsx)(WA, { status: e.status }),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -35824,12 +35824,12 @@ function t_e({ rows: e }) {
})
});
}
-function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function GA({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: iA({
+ className: rA({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -35843,7 +35843,7 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, x.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, x.jsx)(GA, { status: e.status })]
+ }), /* @__PURE__ */ (0, x.jsx)(WA, { status: e.status })]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -35854,15 +35854,15 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {
}),
i?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, x.jsx)(TA, {
+ children: /* @__PURE__ */ (0, x.jsx)(wA, {
summary: `任务明细 · ${i.length} 项`,
- defaultOpen: i.some((e) => MA(e) || e.status === "failed"),
- children: /* @__PURE__ */ (0, x.jsx)(t_e, { rows: i })
+ defaultOpen: i.some((e) => jA(e) || e.status === "failed"),
+ children: /* @__PURE__ */ (0, x.jsx)(n_e, { rows: i })
})
}) : null,
r ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
- children: /* @__PURE__ */ (0, x.jsx)(WA, {
+ children: /* @__PURE__ */ (0, x.jsx)(UA, {
text: r,
className: "text-caption-1-regular text-text-secondary"
})
@@ -35870,15 +35870,15 @@ function KA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function n_e({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = NA(e.elapsed_seconds), o = [jA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(KA, {
+function r_e({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = MA(e.elapsed_seconds), o = [AA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, x.jsx)(GA, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(lA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(cA, {
label: i,
value: Math.min(r, n),
max: n
@@ -35887,24 +35887,24 @@ function n_e({ run: e, followups: t }) {
children: [
i,
" · ",
- PA(r, n),
+ NA(r, n),
" 项"
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { label: i })
+ }) : /* @__PURE__ */ (0, x.jsx)(aA, { label: i })
});
}
-function qA({ run: e, followups: t, runs: n }) {
- let r = LA(e.result_summary), i = NA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- jA[e.trigger] || e.trigger,
+function KA({ run: e, followups: t, runs: n }) {
+ let r = IA(e.result_summary), i = MA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ AA[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${IA(a.finished_at)} – ${IA(e.finished_at)}`
+ `${FA(a.finished_at)} – ${FA(e.finished_at)}`
] : [
- jA[e.trigger] || e.trigger,
- IA(e.finished_at),
+ AA[e.trigger] || e.trigger,
+ FA(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(KA, {
+ return /* @__PURE__ */ (0, x.jsx)(GA, {
run: e,
meta: o,
footer: e.error,
@@ -35915,7 +35915,7 @@ function qA({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function JA({ title: e, children: t }) {
+function qA({ title: e, children: t }) {
let n = (0, b.useId)();
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": n,
@@ -35927,41 +35927,41 @@ function JA({ title: e, children: t }) {
}), t]
});
}
-function YA({ live: e = !1, children: t }) {
+function JA({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function r_e() {
+function i_e() {
let e = dt({
- queryKey: OA,
- queryFn: ({ signal: e }) => AA(e),
- refetchInterval: (e) => Ige(e.state.data)
+ queryKey: DA,
+ queryFn: ({ signal: e }) => kA(e),
+ refetchInterval: (e) => Lge(e.state.data)
}), t = e.data, n = t?.finished, [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(n);
- n !== s && (c(n), r.length && s && i(kA(r, s)));
+ n !== s && (c(n), r.length && s && i(OA(r, s)));
let l = ft({
- mutationFn: ({ oldest: e }) => Nge(e),
+ mutationFn: ({ oldest: e }) => Pge(e),
onSuccess: (e, { shown: t }) => {
- i((n) => kA(n, t, e.finished || [])), o(!!e.finished_has_more);
+ i((n) => OA(n, t, e.finished || [])), o(!!e.finished_has_more);
}
}), u = e.error ? B(e.error) : "";
- if (!t) return /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u || "读取任务中心失败"
}) });
- let d = kA(t.finished || [], r), f = [
+ let d = OA(t.finished || [], r), f = [
...t.running || [],
...t.skipped || [],
...d
- ], p = Vge(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {
+ ], p = Hge(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {
!l.isPending && _ && l.mutate({
oldest: _,
shown: d
});
- }, S = g.filter((e) => p.get(e.id)?.some(MA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Hge(T, (e) => Uge(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
- return /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
+ }, S = g.filter((e) => p.get(e.id)?.some(jA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Uge(T, (e) => Wge(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
+ return /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
u ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u
@@ -35970,20 +35970,20 @@ function r_e() {
tone: "warning",
children: t.message || "账本上还没有任务中心的表"
}) : null,
- D ? /* @__PURE__ */ (0, x.jsx)(aA, {
+ D ? /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Ek,
+ icon: Tk,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(JA, {
+ /* @__PURE__ */ (0, x.jsx)(qA, {
title: "正在进行",
- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(YA, {
+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(JA, {
live: !0,
- children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(n_e, {
+ children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(r_e, {
run: e,
followups: p.get(e.id)
- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(qA, {
+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(KA, {
run: e,
followups: p.get(e.id)
}, e.id))]
@@ -35992,17 +35992,17 @@ function r_e() {
children: "没有任务在跑。"
})
}),
- w.length ? /* @__PURE__ */ (0, x.jsx)(JA, {
+ w.length ? /* @__PURE__ */ (0, x.jsx)(qA, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, x.jsx)(YA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(qA, {
+ children: /* @__PURE__ */ (0, x.jsx)(JA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(KA, {
run: e,
followups: p.get(e.id)
}, e.id)) })
}) : null,
- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(JA, {
+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(qA, {
title: "最近完成",
children: [
- T.length ? /* @__PURE__ */ (0, x.jsx)(YA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(qA, {
+ T.length ? /* @__PURE__ */ (0, x.jsx)(JA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(KA, {
run: e,
runs: t,
followups: p.get(e.id)
@@ -36014,7 +36014,7 @@ function r_e() {
v ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: _k,
+ leadingIcon: gk,
className: "self-start",
...q(l.isPending),
onClick: y,
@@ -36023,12 +36023,12 @@ function r_e() {
]
}) : null
] }),
- /* @__PURE__ */ (0, x.jsx)(Qge, {})
+ /* @__PURE__ */ (0, x.jsx)($ge, {})
] });
}
//#endregion
//#region src/react/components/use-stuck.ts
-function XA(e) {
+function YA(e) {
(0, b.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -36046,9 +36046,9 @@ function XA(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function i_e({ title: e, children: t }) {
+function a_e({ title: e, children: t }) {
let n = (0, b.useRef)(null);
- return XA(n), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return YA(n), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -36061,52 +36061,52 @@ function i_e({ title: e, children: t }) {
}), t]
});
}
-function ZA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function XA({ 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, b.useRef)(null);
- return XA(d), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return YA(d), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: Qk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: Zk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: Qk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: Zk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, x.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: Qk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: Zk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var a_e = "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 QA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var o_e = "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 ZA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: Qk(a_e, r),
+ className: Zk(o_e, r),
onClick: n,
children: e
});
}
-var o_e = "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 $A({ children: e, onPress: t, busy: n = !1 }) {
+var s_e = "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 QA({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: o_e,
+ className: s_e,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -36117,13 +36117,13 @@ function $A({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var ej = (e, t) => [
+var $A = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function tj(e, t, n) {
+function ej(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -36147,17 +36147,17 @@ function tj(e, t, n) {
h: e.offsetHeight
};
}
-function nj(e, t, n, r, { axis: i = "x" } = {}) {
+function tj(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, b.useRef)(null), o = (0, b.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? tj(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? ej(u, l, i) : null;
if (!d || !d.w || !d.h) {
s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && ej(f, d)) && ls(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && $A(f, d)) && ls(s, o ? f : null, d, i);
}, [
e,
t,
@@ -36178,8 +36178,8 @@ function nj(e, t, n, r, { axis: i = "x" } = {}) {
passive: !0
}), addEventListener("resize", c, { passive: !0 });
let l = new ResizeObserver(() => {
- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? tj(o, r, i) : null, l = a.current;
- (!s || !l || !ej(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? ej(o, r, i) : null, l = a.current;
+ (!s || !l || !$A(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -36211,12 +36211,12 @@ function nj(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var rj = Symbol("default");
-function ij({ values: e, children: t }) {
+var nj = Symbol("default");
+function rj({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);
return t;
}
-function aj(e) {
+function ij(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, b.useMemo)(() => {
let e, l, u;
@@ -36250,11 +36250,11 @@ function aj(e) {
c
]);
}
-function oj(e, t) {
+function aj(e, t) {
let n = (0, b.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || rj;
+ let e = t || nj;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -36263,8 +36263,8 @@ function oj(e, t) {
}
return n;
}
-function sj(e, t, n) {
- let { ref: r, ...i } = oj(n, e.slot) || {}, a = Hv((0, b.useMemo)(() => Mv(t, r), [t, r])), o = Iv(i, e);
+function oj(e, t, n) {
+ let { ref: r, ...i } = aj(n, e.slot) || {}, a = Hv((0, b.useMemo)(() => Mv(t, r), [t, r])), o = Iv(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -36282,7 +36282,7 @@ function sj(e, t, n) {
...e.style
}), [o, a];
}
-function cj(e = !0) {
+function sj(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -36290,12 +36290,12 @@ function cj(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function lj(e) {
+function cj(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function s_e(e, t, n) {
+function c_e(e, t, n) {
let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => Mv(n, a), [n, a]);
Y_(() => {}, [e, r]);
let s = {
@@ -36304,19 +36304,19 @@ function s_e(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);
}
-var uj = {}, dj = new Proxy({}, { get(e, t) {
+var lj = {}, uj = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = uj[t];
- return n || (n = /*#__PURE__*/ (0, b.forwardRef)(s_e.bind(null, t)), uj[t] = n), n;
-} }), fj = /*#__PURE__*/ (0, b.createContext)(null), pj = /*#__PURE__*/ (0, b.createContext)(null), mj = /*#__PURE__*/ (0, b.createContext)(null), hj = {
+ let n = lj[t];
+ return n || (n = /*#__PURE__*/ (0, b.forwardRef)(c_e.bind(null, t)), lj[t] = n), n;
+} }), dj = /*#__PURE__*/ (0, b.createContext)(null), fj = /*#__PURE__*/ (0, b.createContext)(null), pj = /*#__PURE__*/ (0, b.createContext)(null), mj = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return gj(e, null, t);
+ return hj(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return gj(e, t, n);
+ return hj(e, t, n);
}
};
-function gj(e, t, n) {
+function hj(e, t, n) {
return M_({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -36327,11 +36327,11 @@ function gj(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, c_e(e, t, n));
+ }), r, l_e(e, t, n));
}
});
}
-function c_e(e, t, n) {
+function l_e(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -36350,24 +36350,24 @@ function c_e(e, t, n) {
}
return s;
}
-var _j = /*#__PURE__*/ (0, b.createContext)(hj);
-function vj(e) {
+var gj = /*#__PURE__*/ (0, b.createContext)(mj);
+function _j(e) {
return (0, b.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var yj = /*#__PURE__*/ (0, b.createContext)({}), l_e = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, yj);
- let { elementType: n = "label", ...r } = e, i = dj[n];
+var vj = /*#__PURE__*/ (0, b.createContext)({}), u_e = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, vj);
+ let { elementType: n = "label", ...r } = e, i = uj[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), u_e = /*#__PURE__*/ (0, b.createContext)(null), bj = /*#__PURE__*/ (0, b.createContext)({}), xj = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, bj);
+}), d_e = /*#__PURE__*/ (0, b.createContext)(null), yj = /*#__PURE__*/ (0, b.createContext)({}), bj = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, yj);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = xoe(e, t);
- i = f_e(i, r);
+ i = p_e(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = pS(e), { hoverProps: l, isHovered: u } = _S({
...e,
isDisabled: e.isDisabled || r
@@ -36378,7 +36378,7 @@ var yj = /*#__PURE__*/ (0, b.createContext)({}), l_e = /*#__PURE__*/ qv(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = aj({
+ }, f = ij({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -36395,7 +36395,7 @@ var yj = /*#__PURE__*/ (0, b.createContext)({}), l_e = /*#__PURE__*/ qv(function
p
]);
let _ = Fy(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ b.createElement(dj.button, {
+ return delete _.onClick, /*#__PURE__*/ b.createElement(uj.button, {
...Iv(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -36409,62 +36409,62 @@ var yj = /*#__PURE__*/ (0, b.createContext)({}), l_e = /*#__PURE__*/ qv(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ b.createElement(u_e.Provider, { value: { id: m } }, f.children));
-}), d_e = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function f_e(e, t) {
+ }, /*#__PURE__*/ b.createElement(d_e.Provider, { value: { id: m } }, f.children));
+}), f_e = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function p_e(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !d_e.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !f_e.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var Sj = /*#__PURE__*/ (0, b.createContext)({}), Cj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, Sj);
- let { children: n, level: r = 3, className: i, ...a } = e, o = dj[`h${r}`];
+var xj = /*#__PURE__*/ (0, b.createContext)({}), Sj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, xj);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = uj[`h${r}`];
return /*#__PURE__*/ b.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), wj = /*#__PURE__*/ (0, b.createContext)({}), p_e = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, wj);
- let { elementType: n = "span", ...r } = e, i = dj[n];
+}), Cj = /*#__PURE__*/ (0, b.createContext)({}), m_e = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, Cj);
+ let { elementType: n = "span", ...r } = e, i = uj[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), Tj = /*#__PURE__*/ (0, b.createContext)(null), Ej = /*#__PURE__*/ (0, b.createContext)(null), Dj = /*#__PURE__*/ (0, b.createContext)(null), Oj = /*#__PURE__*/ (0, b.createContext)(null), m_e = /*#__PURE__*/ (0, b.createContext)(null), kj = /*#__PURE__*/ (0, b.createContext)(null);
-function h_e(e, t) {
- let { validationBehavior: n } = oj(Ej) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(m_e), a = Hv((0, b.useMemo)(() => Mv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...lj(e),
+}), wj = /*#__PURE__*/ (0, b.createContext)(null), Tj = /*#__PURE__*/ (0, b.createContext)(null), Ej = /*#__PURE__*/ (0, b.createContext)(null), Dj = /*#__PURE__*/ (0, b.createContext)(null), h_e = /*#__PURE__*/ (0, b.createContext)(null), Oj = /*#__PURE__*/ (0, b.createContext)(null);
+function g_e(e, t) {
+ let { validationBehavior: n } = aj(Tj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(h_e), a = Hv((0, b.useMemo)(() => Mv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...cj(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? Woe(o, i, a) : Hb(o, qb(e), a), a];
}
-var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var __e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = sj(r, t, Dj);
- let [i, a] = h_e(e, n);
- return /*#__PURE__*/ b.createElement(kj.Provider, { value: {
+ [e, t] = oj(r, t, Ej);
+ let [i, a] = g_e(e, n);
+ return /*#__PURE__*/ b.createElement(Oj.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ b.createElement(__e, {
+ } }, /*#__PURE__*/ b.createElement(v_e, {
...e,
ref: t
}));
-}), __e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(kj), { isFocused: p, isFocusVisible: m, focusProps: h } = pS(), g = a || o, { hoverProps: _, isHovered: v } = _S({
+}), v_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(Oj), { isFocused: p, isFocusVisible: m, focusProps: h } = pS(), g = a || o, { hoverProps: _, isHovered: v } = _S({
...e,
isDisabled: g
- }), y = aj({
+ }), y = ij({
...e,
defaultClassName: u,
values: {
@@ -36480,7 +36480,7 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), x = Fy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(dj.label, {
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(uj.label, {
...Iv(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -36498,8 +36498,8 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
...Iv(r, h),
ref: l
})), y.children);
-}), Aj = /*#__PURE__*/ (0, b.createContext)({}), v_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, Aj);
+}), kj = /*#__PURE__*/ (0, b.createContext)({}), y_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, kj);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
let { hoverProps: l, isHovered: u } = _S({
@@ -36507,7 +36507,7 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = pS({ within: !0 }), m = aj({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = pS({ within: !0 }), m = ij({
...e,
values: {
isHovered: u,
@@ -36518,7 +36518,7 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(uj.div, {
...Iv(c, p, l),
...m,
ref: t,
@@ -36531,18 +36531,18 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), jj = /*#__PURE__*/ (0, b.createContext)({}), y_e = (e) => {
+}), Aj = /*#__PURE__*/ (0, b.createContext)({}), b_e = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, b_e = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, jj);
+}, x_e = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, Aj);
let { hoverProps: n, isHovered: r } = _S({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = pS({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = aj({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ij({
...e,
values: {
isHovered: r,
@@ -36553,8 +36553,8 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ b.createElement(dj.input, {
- ...Iv(y_e(e), o, n),
+ return /*#__PURE__*/ b.createElement(uj.input, {
+ ...Iv(b_e(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -36563,8 +36563,8 @@ var g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Mj = {};
-Mj = {
+}), jj = {};
+jj = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -36572,8 +36572,8 @@ Mj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var Nj = {};
-Nj = {
+var Mj = {};
+Mj = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -36581,8 +36581,8 @@ Nj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var Pj = {};
-Pj = {
+var Nj = {};
+Nj = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -36590,8 +36590,8 @@ Pj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var Fj = {};
-Fj = {
+var Pj = {};
+Pj = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -36599,8 +36599,8 @@ Fj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var Ij = {};
-Ij = {
+var Fj = {};
+Fj = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -36608,8 +36608,8 @@ Ij = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var Lj = {};
-Lj = {
+var Ij = {};
+Ij = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -36617,8 +36617,8 @@ Lj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var Rj = {};
-Rj = {
+var Lj = {};
+Lj = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -36626,8 +36626,8 @@ Rj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var zj = {};
-zj = {
+var Rj = {};
+Rj = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -36635,8 +36635,8 @@ zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var Bj = {};
-Bj = {
+var zj = {};
+zj = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -36644,8 +36644,8 @@ Bj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var Vj = {};
-Vj = {
+var Bj = {};
+Bj = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -36653,8 +36653,8 @@ Vj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var Hj = {};
-Hj = {
+var Vj = {};
+Vj = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -36662,8 +36662,8 @@ Hj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var Uj = {};
-Uj = {
+var Hj = {};
+Hj = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -36671,8 +36671,8 @@ Uj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var Wj = {};
-Wj = {
+var Uj = {};
+Uj = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -36680,8 +36680,8 @@ Wj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var Gj = {};
-Gj = {
+var Wj = {};
+Wj = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -36689,8 +36689,8 @@ Gj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var Kj = {};
-Kj = {
+var Gj = {};
+Gj = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -36698,8 +36698,8 @@ Kj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var qj = {};
-qj = {
+var Kj = {};
+Kj = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -36707,8 +36707,8 @@ qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Jj = {};
-Jj = {
+var qj = {};
+qj = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -36716,8 +36716,8 @@ Jj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var Yj = {};
-Yj = {
+var Jj = {};
+Jj = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -36725,8 +36725,8 @@ Yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var Xj = {};
-Xj = {
+var Yj = {};
+Yj = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -36734,8 +36734,8 @@ Xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var Zj = {};
-Zj = {
+var Xj = {};
+Xj = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -36743,8 +36743,8 @@ Zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var Qj = {};
-Qj = {
+var Zj = {};
+Zj = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -36752,8 +36752,8 @@ Qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var $j = {};
-$j = {
+var Qj = {};
+Qj = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -36761,8 +36761,8 @@ $j = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var eM = {};
-eM = {
+var $j = {};
+$j = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -36770,8 +36770,8 @@ eM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var tM = {};
-tM = {
+var eM = {};
+eM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -36779,8 +36779,8 @@ tM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var nM = {};
-nM = {
+var tM = {};
+tM = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -36788,8 +36788,8 @@ nM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var rM = {};
-rM = {
+var nM = {};
+nM = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -36797,8 +36797,8 @@ rM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var iM = {};
-iM = {
+var rM = {};
+rM = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -36806,8 +36806,8 @@ iM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var aM = {};
-aM = {
+var iM = {};
+iM = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -36815,8 +36815,8 @@ aM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var oM = {};
-oM = {
+var aM = {};
+aM = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -36824,8 +36824,8 @@ oM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var sM = {};
-sM = {
+var oM = {};
+oM = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -36833,8 +36833,8 @@ sM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var cM = {};
-cM = {
+var sM = {};
+sM = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -36842,8 +36842,8 @@ cM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var lM = {};
-lM = {
+var cM = {};
+cM = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -36851,8 +36851,8 @@ lM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var uM = {};
-uM = {
+var lM = {};
+lM = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -36860,8 +36860,8 @@ uM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var dM = {};
-dM = {
+var uM = {};
+uM = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -36869,52 +36869,52 @@ dM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var fM = {};
-fM = {
- "ar-AE": Mj,
- "bg-BG": Nj,
- "cs-CZ": Pj,
- "da-DK": Fj,
- "de-DE": Ij,
- "el-GR": Lj,
- "en-US": Rj,
- "es-ES": zj,
- "et-EE": Bj,
- "fi-FI": Vj,
- "fr-FR": Hj,
- "he-IL": Uj,
- "hr-HR": Wj,
- "hu-HU": Gj,
- "it-IT": Kj,
- "ja-JP": qj,
- "ko-KR": Jj,
- "lt-LT": Yj,
- "lv-LV": Xj,
- "nb-NO": Zj,
- "nl-NL": Qj,
- "pl-PL": $j,
- "pt-BR": eM,
- "pt-PT": tM,
- "ro-RO": nM,
- "ru-RU": rM,
- "sk-SK": iM,
- "sl-SI": aM,
- "sr-SP": oM,
- "sv-SE": sM,
- "tr-TR": cM,
- "uk-UA": lM,
- "zh-CN": uM,
- "zh-TW": dM
+var dM = {};
+dM = {
+ "ar-AE": jj,
+ "bg-BG": Mj,
+ "cs-CZ": Nj,
+ "da-DK": Pj,
+ "de-DE": Fj,
+ "el-GR": Ij,
+ "en-US": Lj,
+ "es-ES": Rj,
+ "et-EE": zj,
+ "fi-FI": Bj,
+ "fr-FR": Vj,
+ "he-IL": Hj,
+ "hr-HR": Uj,
+ "hu-HU": Wj,
+ "it-IT": Gj,
+ "ja-JP": Kj,
+ "ko-KR": qj,
+ "lt-LT": Jj,
+ "lv-LV": Yj,
+ "nb-NO": Xj,
+ "nl-NL": Zj,
+ "pl-PL": Qj,
+ "pt-BR": $j,
+ "pt-PT": eM,
+ "ro-RO": tM,
+ "ru-RU": nM,
+ "sk-SK": rM,
+ "sl-SI": iM,
+ "sr-SP": aM,
+ "sv-SE": oM,
+ "tr-TR": sM,
+ "uk-UA": cM,
+ "zh-CN": lM,
+ "zh-TW": uM
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var pM = /*#__PURE__*/ (0, b.createContext)({}), mM = /*#__PURE__*/ (0, b.createContext)(null), x_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { render: n } = (0, b.useContext)(mM);
+var fM = /*#__PURE__*/ (0, b.createContext)({}), pM = /*#__PURE__*/ (0, b.createContext)(null), S_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { render: n } = (0, b.useContext)(pM);
return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));
});
-function hM(e, t) {
+function mM(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, b.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(x_e, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(S_e, { target: e });
}, [
t?.target,
r,
@@ -36922,7 +36922,7 @@ function hM(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function gM(e, t, n) {
+function hM(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -36944,14 +36944,14 @@ function gM(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var _M = /*#__PURE__*/ (0, b.createContext)({}), S_e = /*#__PURE__*/ (0, b.createContext)(null);
-function vM(e) {
+var gM = /*#__PURE__*/ (0, b.createContext)({}), C_e = /*#__PURE__*/ (0, b.createContext)(null);
+function _M(e) {
let t = (0, b.useRef)({});
- return /*#__PURE__*/ b.createElement(S_e.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ b.createElement(C_e.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var yM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), bM = /*#__PURE__*/ (0, b.createContext)({}), C_e = /*#__PURE__*/ ty(class extends O_ {
+var vM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), yM = /*#__PURE__*/ (0, b.createContext)({}), w_e = /*#__PURE__*/ ty(class extends O_ {
static {
this.type = "separator";
}
@@ -36964,10 +36964,10 @@ var yM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), bM = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = sj(e, t, bM);
+ [e, t] = oj(e, t, yM);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = dj[c], { separatorProps: u } = Xse({
+ let l = uj[c], { separatorProps: u } = Xse({
...s,
elementType: n,
orientation: r
@@ -36983,13 +36983,13 @@ var yM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), bM = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function xM(e) {
+function bM(e) {
let t = b.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var SM = class {
+var xM = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -37033,20 +37033,20 @@ var SM = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, CM = class e extends Set {
+}, SM = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function w_e(e, t) {
+function T_e(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function wM(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = Kb((0, b.useMemo)(() => TM(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => TM(e.defaultSelectedKeys, new CM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);
+function CM(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = Kb((0, b.useMemo)(() => wM(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => wM(e.defaultSelectedKeys, new SM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
@@ -37073,18 +37073,18 @@ function wM(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !w_e(e, d)) && f(e);
+ (r || !T_e(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function TM(e, t) {
- return e ? e === "all" ? "all" : new CM(e) : t;
+function wM(e, t) {
+ return e ? e === "all" ? "all" : new SM(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var EM = class e {
+var TM = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -37167,10 +37167,10 @@ var EM = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new CM([t], t, t);
+ if (this.state.selectedKeys === "all") n = new SM([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new CM(e, r, t);
+ n = new SM(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -37204,19 +37204,19 @@ var EM = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new CM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new SM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new CM([t], t, t) : new CM();
+ let n = this.canSelectItem(t) ? new SM([t], t, t) : new SM();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new CM();
+ let t = new SM();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -37239,7 +37239,7 @@ var EM = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new CM());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new SM());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -37280,9 +37280,9 @@ var EM = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, T_e = class {
+}, E_e = class {
build(e, t) {
- return this.context = t, DM(() => this.iterateCollection(e));
+ return this.context = t, EM(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -37364,10 +37364,10 @@ var EM = class e {
...a,
key: l,
index: s,
- wrapper: E_e(e.wrapper, a.wrapper)
+ wrapper: D_e(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${OM(t.type)}> in <${OM(r?.type ?? "unknown parent type")}>. Only <${OM(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${DM(t.type)}> in <${DM(r?.type ?? "unknown parent type")}>. Only <${DM(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -37389,7 +37389,7 @@ var EM = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: DM(function* () {
+ childNodes: EM(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -37408,7 +37408,7 @@ var EM = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function DM(e) {
+function EM(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -37416,18 +37416,18 @@ function DM(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function E_e(e, t) {
+function D_e(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function OM(e) {
+function DM(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function kM(e, t, n) {
- let r = (0, b.useMemo)(() => new T_e(), []), { children: i, items: a, collection: o } = e;
+function OM(e, t, n) {
+ let r = (0, b.useMemo)(() => new E_e(), []), { children: i, items: a, collection: o } = e;
return (0, b.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -37442,27 +37442,27 @@ function kM(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function AM(e) {
- let { filter: t, layoutDelegate: n } = e, r = wM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = kM(e, (0, b.useCallback)((e) => t ? new SM(t(e)) : new SM(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new EM(a, r, { layoutDelegate: n }), [
+function kM(e) {
+ let { filter: t, layoutDelegate: n } = e, r = CM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = OM(e, (0, b.useCallback)((e) => t ? new xM(t(e)) : new xM(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new TM(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return jM(a, o), {
+ return AM(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function D_e(e, t) {
+function O_e(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return jM(n, r), {
+ return AM(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function jM(e, t) {
+function AM(e, t) {
let n = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -37490,7 +37490,7 @@ function jM(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function MM(e, t) {
+function jM(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = yy((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -37514,42 +37514,42 @@ function MM(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.createContext)(null), O_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, NM);
- let n = (0, b.useContext)(PM);
- return n ? /*#__PURE__*/ b.createElement(FM, {
+var MM = /*#__PURE__*/ (0, b.createContext)(null), NM = /*#__PURE__*/ (0, b.createContext)(null), k_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, MM);
+ let n = (0, b.useContext)(NM);
+ return n ? /*#__PURE__*/ b.createElement(PM, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ b.createElement(Qv, { content: /*#__PURE__*/ b.createElement(ay, e) }, (n) => /*#__PURE__*/ b.createElement(k_e, {
+ }) : /*#__PURE__*/ b.createElement(Qv, { content: /*#__PURE__*/ b.createElement(ay, e) }, (n) => /*#__PURE__*/ b.createElement(A_e, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function k_e({ props: e, listBoxRef: t, collection: n }) {
+function A_e({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, b.useContext)(_j), i = AM({
+ let { layoutDelegate: r } = (0, b.useContext)(gj), i = kM({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ b.createElement(FM, {
+ return /*#__PURE__*/ b.createElement(PM, {
state: i,
props: e,
listBoxRef: t
});
}
-function FM({ state: e, props: t, listBoxRef: n }) {
- [t, n] = sj(t, n, fj);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = D_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Dy(), { disabledBehavior: p, disabledKeys: m } = l, h = oS({
+function PM({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = oj(t, n, dj);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = O_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Dy(), { disabledBehavior: p, disabledKeys: m } = l, h = oS({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(_j), x = (0, b.useMemo)(() => t.keyboardDelegate || new cx({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(gj), x = (0, b.useMemo)(() => t.keyboardDelegate || new cx({
collection: c,
collator: h,
ref: n,
@@ -37610,7 +37610,7 @@ function FM({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = aj({
+ }, P = ij({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -37621,7 +37621,7 @@ function FM({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(N)));
let F = Fy(t, { global: !0 });
- return /*#__PURE__*/ b.createElement(ib, null, /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(ib, null, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(F, P, S, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -37632,52 +37632,52 @@ function FM({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [NM, t],
- [PM, s],
- [pM, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [MM, t],
+ [NM, s],
+ [fM, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [bM, { elementType: "div" }],
- [mM, { render: M_e }],
- [mj, {
+ [yM, { elementType: "div" }],
+ [pM, { render: N_e }],
+ [pj, {
name: "ListBoxSection",
- render: A_e
+ render: j_e
}]
- ] }, /*#__PURE__*/ b.createElement(vM, null, /*#__PURE__*/ b.createElement(y, {
+ ] }, /*#__PURE__*/ b.createElement(_M, null, /*#__PURE__*/ b.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: gM(l, r, w),
- renderDropIndicator: hM(r, w)
+ persistedKeys: hM(l, r, w),
+ renderDropIndicator: mM(r, w)
}))), ee, D));
}
-function A_e(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, b.useContext)(PM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(pM), { CollectionBranch: s } = (0, b.useContext)(_j), [c, l] = cj(), { headingProps: u, groupProps: d } = _se({
+function j_e(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, b.useContext)(NM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(fM), { CollectionBranch: s } = (0, b.useContext)(gj), [c, l] = sj(), { headingProps: u, groupProps: d } = _se({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = aj({
+ }), f = ij({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = Fy(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ b.createElement(dj.section, {
+ return delete p.id, /*#__PURE__*/ b.createElement(uj.section, {
...Iv(p, f, d),
ref: t
- }, /*#__PURE__*/ b.createElement(_M.Provider, { value: {
+ }, /*#__PURE__*/ b.createElement(gM.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ b.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: hM(a, o)
+ renderDropIndicator: mM(a, o)
})));
}
-var j_e = /*#__PURE__*/ ty(hie, function(e, t, n) {
- let r = Hv(t), i = (0, b.useContext)(PM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(pM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = vse({
+var M_e = /*#__PURE__*/ ty(hie, function(e, t, n) {
+ let r = Hv(t), i = (0, b.useContext)(NM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(fM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = vse({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = _S({
@@ -37696,7 +37696,7 @@ var j_e = /*#__PURE__*/ ty(hie, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), x = aj({
+ let y = o && o.isDragging(n.key), x = ij({
...e,
id: void 0,
children: e.children,
@@ -37714,7 +37714,7 @@ var j_e = /*#__PURE__*/ ty(hie, function(e, t, n) {
(0, b.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let S = e.href ? dj.a : dj.div, C = Fy(e, { global: !0 });
+ let S = e.href ? uj.a : uj.div, C = Fy(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {
...Iv(C, x, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -37728,29 +37728,29 @@ var j_e = /*#__PURE__*/ ty(hie, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ b.createElement(ij, { values: [[wj, { slots: {
- [rj]: u,
+ }, /*#__PURE__*/ b.createElement(rj, { values: [[Cj, { slots: {
+ [nj]: u,
label: u,
description: d
- } }], [yM, { isSelected: f.isSelected }]] }, x.children));
+ } }], [vM, { isSelected: f.isSelected }]] }, x.children));
});
-function M_e(e, t) {
+function N_e(e, t) {
t = Hv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(pM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ b.createElement(P_e, {
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(fM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ b.createElement(F_e, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function N_e(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = aj({
+function P_e(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ij({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(uj.div, {
...n,
...a,
role: "option",
@@ -37758,10 +37758,10 @@ function N_e(e, t) {
"data-drop-target": r || void 0
}));
}
-var P_e = /*#__PURE__*/ (0, b.forwardRef)(N_e);
+var F_e = /*#__PURE__*/ (0, b.forwardRef)(P_e);
ty(A_, function(e, t, n) {
- let r = (0, b.useContext)(PM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- MM((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(NM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ jM((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -37771,7 +37771,7 @@ ty(A_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = aj({
+ let l = ij({
...s,
id: void 0,
children: n.rendered,
@@ -37784,7 +37784,7 @@ ty(A_, function(e, t, n) {
width: 0,
height: 0
},
- inert: xM(!0)
+ inert: bM(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -37793,7 +37793,7 @@ ty(A_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(dj.div, {
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(Fy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -37802,10 +37802,10 @@ ty(A_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var F_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
+var I_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function IM(e) {
+function FM(e) {
let [t, n] = Kb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
return {
isOpen: t,
@@ -37825,15 +37825,15 @@ function IM(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function LM(e, t = !0, n) {
+function IM(e, t = !0, n) {
let [r, i] = (0, b.useState)(!0), a = r && t;
return Y_(() => {
if (!t && e.current) return Ev(z_(e.current, "opacity", "0"), z_(e.current, "clip", "rect(0 0 0 0)"), z_(e.current, "clip-path", "inset(50%)"), z_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
}, [e, t]), Y_(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), zM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), RM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
}
-function RM(e, t, n) {
+function LM(e, t, n) {
let [r, i] = (0, b.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -37843,11 +37843,11 @@ function RM(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return zM(e, a, n, (0, b.useCallback)(() => {
+ return RM(e, a, n, (0, b.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function zM(e, t, n, r) {
+function RM(e, t, n, r) {
let i = (0, b.useRef)(null), a = yy(n);
Y_(() => {
if (t && e.current && i.current !== t) {
@@ -37875,9 +37875,9 @@ function zM(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.createContext)(null), HM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, BM);
- let n = (0, b.useContext)($M), r = IM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = RM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Jv(), { direction: c } = Dy();
+var zM = /*#__PURE__*/ (0, b.createContext)(null), BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, zM);
+ let n = (0, b.useContext)(QM), r = FM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = LM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Jv(), { direction: c } = Dy();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -37888,7 +37888,7 @@ var BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.crea
defaultChildren: null
})), /*#__PURE__*/ b.createElement(b.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(I_e, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(L_e, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -37897,13 +37897,13 @@ var BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.crea
dir: c
});
});
-function I_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(VM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Wse({
+function L_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(BM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Wse({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = LM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = aj({
+ }, e), g = i.popoverRef, _ = IM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = ij({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -37924,7 +37924,7 @@ function I_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, b.useMemo)(() => {
let e = y.children;
- for (let t of [BM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
+ for (let t of [zM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, b.useState)(null), D = (0, b.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
@@ -37940,7 +37940,7 @@ function I_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-width": y.style?.["--trigger-width"] || T
};
Y_(() => XC(() => u(!0)), []);
- let k = /*#__PURE__*/ b.createElement(dj.div, {
+ let k = /*#__PURE__*/ b.createElement(uj.div, {
...Iv(Fy(i, { global: !0 }), d),
...y,
id: S ? i.id : void 0,
@@ -37956,7 +37956,7 @@ function I_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ b.createElement(UC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(F_e.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ b.createElement(UC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(I_e.Provider, { value: {
...p,
placement: m,
ref: a
@@ -37981,15 +37981,15 @@ function I_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ b.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ b.createElement(VM.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ b.createElement(BM.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var L_e = /*#__PURE__*/ (0, b.createContext)({});
+var R_e = /*#__PURE__*/ (0, b.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function UM(e) {
- let t = IM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
+function HM(e) {
+ let t = FM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -38015,7 +38015,7 @@ function UM(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var R_e = class {
+var z_e = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -38059,8 +38059,8 @@ var R_e = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function z_e(e) {
- let { onExpandedChange: t } = e, [n, r] = Kb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = wM(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = kM(e, (0, b.useCallback)((e) => new R_e(e, { expandedKeys: n }), [n]), null);
+function B_e(e) {
+ let { onExpandedChange: t } = e, [n, r] = Kb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = CM(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = OM(e, (0, b.useCallback)((e) => new z_e(e, { expandedKeys: n }), [n]), null);
return (0, b.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38068,32 +38068,32 @@ function z_e(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(B_e(n, e));
+ r(V_e(n, e));
},
setExpandedKeys: r,
- selectionManager: new EM(o, i)
+ selectionManager: new TM(o, i)
};
}
-function B_e(e, t) {
+function V_e(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var WM = /*#__PURE__*/ (0, b.createContext)(null), GM = /*#__PURE__*/ (0, b.createContext)(null), KM = /*#__PURE__*/ (0, b.createContext)(null), qM = /*#__PURE__*/ (0, b.createContext)(null);
-function V_e(e) {
- let t = UM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Kx({
+var UM = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.createContext)(null), GM = /*#__PURE__*/ (0, b.createContext)(null), KM = /*#__PURE__*/ (0, b.createContext)(null);
+function H_e(e) {
+ let t = HM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Kx({
...e,
type: "menu"
}, t, n), a = (0, b.useRef)(null);
- return Jv() ? null : /*#__PURE__*/ b.createElement(ij, { values: [
- [WM, {
+ return Jv() ? null : /*#__PURE__*/ b.createElement(rj, { values: [
+ [UM, {
...i,
ref: a
}],
- [$M, t],
- [KM, t],
- [BM, {
+ [QM, t],
+ [GM, t],
+ [zM, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -38107,7 +38107,7 @@ function V_e(e) {
isPressed: t.isOpen
}, e.children));
}
-var H_e = /*#__PURE__*/ (0, b.createContext)(null);
+var U_e = /*#__PURE__*/ (0, b.createContext)(null);
(class extends O_ {
static {
this.type = "submenutrigger";
@@ -38121,24 +38121,24 @@ var H_e = /*#__PURE__*/ (0, b.createContext)(null);
return null;
}
});
-var U_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return [e, t] = sj(e, t, WM), /*#__PURE__*/ b.createElement(Qv, { content: /*#__PURE__*/ b.createElement(ay, e) }, (n) => /*#__PURE__*/ b.createElement(W_e, {
+var W_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return [e, t] = oj(e, t, UM), /*#__PURE__*/ b.createElement(Qv, { content: /*#__PURE__*/ b.createElement(ay, e) }, (n) => /*#__PURE__*/ b.createElement(G_e, {
props: e,
collection: n,
menuRef: t
}));
});
-function W_e({ props: e, collection: t, menuRef: n }) {
- [e, n] = sj(e, n, fj);
- let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = z_e({
+function G_e({ props: e, collection: t, menuRef: n }) {
+ [e, n] = oj(e, n, dj);
+ let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = B_e({
...e,
collection: a,
children: void 0
- }), s = (0, b.useContext)(KM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(_j), { menuProps: u } = yse({
+ }), s = (0, b.useContext)(GM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(gj), { menuProps: u } = yse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = aj({
+ }, o, n), d = ij({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -38149,35 +38149,35 @@ function W_e({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ib, null, /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(ib, null, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [GM, o],
- [bM, { elementType: "div" }],
- [mj, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [WM, o],
+ [yM, { elementType: "div" }],
+ [pj, {
name: "MenuSection",
- render: JM
+ render: qM
}],
- [H_e, {
+ [U_e, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [XM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [YM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [dj, null],
[fj, null],
- [pj, null],
- [qM, o.selectionManager],
- [KM, s ?? UM({})]
- ] }, /*#__PURE__*/ b.createElement(vM, null, /*#__PURE__*/ b.createElement(l, {
+ [KM, o.selectionManager],
+ [GM, s ?? HM({})]
+ ] }, /*#__PURE__*/ b.createElement(_M, null, /*#__PURE__*/ b.createElement(l, {
collection: o.collection,
- persistedKeys: vj(o.selectionManager.focusedKey),
+ persistedKeys: _j(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var G_e = class extends EM {
+var K_e = class extends TM {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -38197,11 +38197,11 @@ var G_e = class extends EM {
return this.parent.childFocusStrategy;
}
};
-function JM(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, b.useContext)(GM), { CollectionBranch: a } = (0, b.useContext)(_j), [o, s] = cj(), { headingProps: c, groupProps: l } = xse({
+function qM(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, b.useContext)(WM), { CollectionBranch: a } = (0, b.useContext)(gj), [o, s] = sj(), { headingProps: c, groupProps: l } = xse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = aj({
+ }), u = ij({
...e,
id: void 0,
children: void 0,
@@ -38209,31 +38209,31 @@ function JM(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, b.useContext)(qM), f = wM(e), p = e.selectionMode == null ? d : new G_e(d, f), m = oj(XM)?.shouldCloseOnSelect, h = Fy(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ b.createElement(dj.section, {
+ }), d = (0, b.useContext)(KM), f = CM(e), p = e.selectionMode == null ? d : new K_e(d, f), m = aj(YM)?.shouldCloseOnSelect, h = Fy(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ b.createElement(uj.section, {
...Iv(h, u, l),
ref: t
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [_M, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [gM, {
...c,
ref: o
}],
- [qM, p],
- [XM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [KM, p],
+ [YM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ b.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var YM = /*#__PURE__*/ ny(gie, JM), XM = /*#__PURE__*/ (0, b.createContext)(null), ZM = /*#__PURE__*/ ty(hie, function(e, t, n) {
- [e, t] = sj(e, t, XM);
- let r = oj(XM)?.id, i = (0, b.useContext)(GM), a = Hv(t), o = (0, b.useContext)(qM), { isVirtualized: s } = (0, b.useContext)(_j), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = bse({
+var JM = /*#__PURE__*/ ny(gie, qM), YM = /*#__PURE__*/ (0, b.createContext)(null), XM = /*#__PURE__*/ ty(hie, function(e, t, n) {
+ [e, t] = oj(e, t, YM);
+ let r = aj(YM)?.id, i = (0, b.useContext)(WM), a = Hv(t), o = (0, b.useContext)(KM), { isVirtualized: s } = (0, b.useContext)(gj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = bse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = _S({ isDisabled: f.isDisabled }), h = aj({
+ }, i, a), { hoverProps: p, isHovered: m } = _S({ isDisabled: f.isDisabled }), h = ij({
...e,
id: void 0,
children: n.rendered,
@@ -38247,7 +38247,7 @@ var YM = /*#__PURE__*/ ny(gie, JM), XM = /*#__PURE__*/ (0, b.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? dj.a : dj.div, _ = Fy(e, { global: !0 });
+ }), g = e.href ? uj.a : uj.div, _ = Fy(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {
...Iv(_, h, c, p),
ref: a,
@@ -38260,19 +38260,19 @@ var YM = /*#__PURE__*/ ny(gie, JM), XM = /*#__PURE__*/ (0, b.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [wj, { slots: {
- [rj]: l,
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [Cj, { slots: {
+ [nj]: l,
label: l,
description: u
} }],
- [L_e, d],
- [yM, { isSelected: f.isSelected }]
+ [R_e, d],
+ [vM, { isSelected: f.isSelected }]
] }, h.children));
});
ty(A_, function(e, t, n) {
- let r = (0, b.useContext)(GM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- MM((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(WM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ jM((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -38282,7 +38282,7 @@ ty(A_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = aj({
+ let l = ij({
...s,
id: void 0,
children: n.rendered,
@@ -38295,7 +38295,7 @@ ty(A_, function(e, t, n) {
width: 0,
height: 0
},
- inert: xM(!0)
+ inert: bM(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -38304,7 +38304,7 @@ ty(A_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(dj.div, {
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(Fy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -38313,82 +38313,82 @@ ty(A_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var QM = /*#__PURE__*/ (0, b.createContext)(null), $M = /*#__PURE__*/ (0, b.createContext)(null), eN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var ZM = /*#__PURE__*/ (0, b.createContext)(null), QM = /*#__PURE__*/ (0, b.createContext)(null), $M = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = sj(e, t, QM);
+ [e, t] = oj(e, t, ZM);
let { dialogProps: r, titleProps: i, contentProps: a } = ase({
...e,
"aria-labelledby": n
- }, t), o = (0, b.useContext)($M);
+ }, t), o = (0, b.useContext)(QM);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = aj({
+ let s = ij({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(dj.section, {
+ return /*#__PURE__*/ b.createElement(uj.section, {
...Iv(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [Sj, { slots: {
- [rj]: {},
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [xj, { slots: {
+ [nj]: {},
title: {
...i,
level: 2
}
} }],
- [wj, { slots: {
- [rj]: {},
+ [Cj, { slots: {
+ [nj]: {},
description: a
} }],
- [bj, { slots: {
- [rj]: {},
+ [yj, { slots: {
+ [nj]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), tN = typeof document < "u" && window.visualViewport;
-function K_e() {
+}), eN = typeof document < "u" && window.visualViewport;
+function q_e() {
let e = lv(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {
width: 0,
height: 0
- } : nN());
+ } : tN());
return (0, b.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- tN && tN.scale > 1 || e(nN());
+ eN && eN.scale > 1 || e(tN());
}, i = (n) => {
- tN && tN.scale > 1 || gy(U_(n)) && (t.current = XC((t) => {
+ eN && eN.scale > 1 || gy(U_(n)) && (t.current = XC((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(nN()), nv() && rv() && window.addEventListener("blur", i, !0), tN ? tN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), nv() && rv() && window.removeEventListener("blur", i, !0), tN ? tN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(tN()), nv() && rv() && window.addEventListener("blur", i, !0), eN ? eN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), nv() && rv() && window.removeEventListener("blur", i, !0), eN ? eN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function nN() {
+function tN() {
return {
- width: tN ? Math.min(tN.width * tN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: tN ? tN.height * tN.scale : document.documentElement.clientHeight
+ width: eN ? Math.min(eN.width * eN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: eN ? eN.height * eN.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var q_e = /*#__PURE__*/ (0, b.createContext)(null), rN = /*#__PURE__*/ (0, b.createContext)(null), J_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- if ((0, b.useContext)(rN)) return /*#__PURE__*/ b.createElement(aN, {
+var J_e = /*#__PURE__*/ (0, b.createContext)(null), nN = /*#__PURE__*/ (0, b.createContext)(null), Y_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ if ((0, b.useContext)(nN)) return /*#__PURE__*/ b.createElement(iN, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ b.createElement(iN, {
+ return /*#__PURE__*/ b.createElement(rN, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -38398,15 +38398,15 @@ var q_e = /*#__PURE__*/ (0, b.createContext)(null), rN = /*#__PURE__*/ (0, b.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ b.createElement(aN, {
+ }, /*#__PURE__*/ b.createElement(iN, {
...f,
modalRef: t
}, s));
});
-function Y_e(e, t) {
- [e, t] = sj(e, t, q_e);
- let n = (0, b.useContext)($M), r = IM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Hv(t), o = (0, b.useRef)(null), s = RM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = RM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = lv();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(X_e, {
+function X_e(e, t) {
+ [e, t] = oj(e, t, J_e);
+ let n = (0, b.useContext)(QM), r = FM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Hv(t), o = (0, b.useRef)(null), s = LM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = LM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = lv();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(Z_e, {
...e,
state: i,
isExiting: u,
@@ -38415,12 +38415,12 @@ function Y_e(e, t) {
onExitRef: c
});
}
-var iN = /*#__PURE__*/ (0, b.forwardRef)(Y_e);
-function X_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = LM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Mse({
+var rN = /*#__PURE__*/ (0, b.forwardRef)(X_e);
+function Z_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = IM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Mse({
...n,
isEntering: c
- }, i, r), d = (0, b.useContext)(QM), f = t ? Z_e(d, { isEntering: c }) : d, p = aj({
+ }, i, r), d = (0, b.useContext)(ZM), f = t ? Q_e(d, { isEntering: c }) : d, p = ij({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -38428,7 +38428,7 @@ function X_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = K_e(), h, g;
+ }), m = q_e(), h, g;
if (typeof document < "u") {
let e = Cb(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
@@ -38443,15 +38443,15 @@ function X_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
return Y_(() => XC(() => o(!0)), []), /*#__PURE__*/ b.createElement(dS, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ b.createElement(dj.div, {
+ }, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(Fy(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [rN, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [nN, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -38459,11 +38459,11 @@ function X_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [$M, i],
- [QM, f]
+ [QM, i],
+ [ZM, f]
] }, p.children)));
}
-function Z_e(e, t) {
+function Q_e(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -38480,8 +38480,8 @@ function Z_e(e, t) {
...t
};
}
-function aN(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(rN), s = (0, b.useContext)($M), c = Hv((0, b.useMemo)(() => Mv(e.modalRef, n), [e.modalRef, n])), l = LM(c, o, e.onEnter), u = aj({
+function iN(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(nN), s = (0, b.useContext)(QM), c = Hv((0, b.useMemo)(() => Mv(e.modalRef, n), [e.modalRef, n])), l = IM(c, o, e.onEnter), u = ij({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -38492,7 +38492,7 @@ function aN(e) {
});
return Y_(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ b.createElement(dj.div, {
+ }), /*#__PURE__*/ b.createElement(uj.div, {
...Iv(Fy(e, { global: !0 }), t),
...u,
ref: c,
@@ -38502,9 +38502,9 @@ function aN(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Q_e = Math.round(Math.random() * 1e10), $_e = 0;
-function eve(e) {
- let t = (0, b.useMemo)(() => e.name || `radio-group-${Q_e}-${++$_e}`, [e.name]), [n, r] = Kb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = Lb({
+var $_e = Math.round(Math.random() * 1e10), eve = 0;
+function tve(e) {
+ let t = (0, b.useMemo)(() => e.name || `radio-group-${$_e}-${++eve}`, [e.name]), [n, r] = Kb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = Lb({
...e,
value: n
}), c = (t) => {
@@ -38527,16 +38527,16 @@ function eve(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var tve = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ (0, b.createContext)(null), oN = /*#__PURE__*/ (0, b.createContext)(null), sN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, tve);
- let { validationBehavior: n } = oj(Ej) || {}, r = e.validationBehavior ?? n ?? "native", i = eve({
+var nve = /*#__PURE__*/ (0, b.createContext)(null), rve = /*#__PURE__*/ (0, b.createContext)(null), aN = /*#__PURE__*/ (0, b.createContext)(null), oN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, nve);
+ let { validationBehavior: n } = aj(Tj) || {}, r = e.validationBehavior ?? n ?? "native", i = tve({
...e,
validationBehavior: r
- }), [a, o] = cj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Kse({
+ }), [a, o] = sj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Kse({
...e,
label: o,
validationBehavior: r
- }, i), f = aj({
+ }, i), f = ij({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -38548,7 +38548,7 @@ var tve = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ (0, b.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(uj.div, {
...Iv(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -38557,39 +38557,39 @@ var tve = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ (0, b.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [oN, i],
- [yj, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [aN, i],
+ [vj, {
...c,
ref: a,
elementType: "span"
}],
- [wj, { slots: {
+ [Cj, { slots: {
description: l,
errorMessage: u
} }],
- [Tj, d]
- ] }, /*#__PURE__*/ b.createElement(vM, null, f.children)));
-}), cN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [wj, d]
+ ] }, /*#__PURE__*/ b.createElement(_M, null, f.children)));
+}), sN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = sj(r, t, nve);
- let i = b.useContext(oN), a = Hv((0, b.useMemo)(() => Mv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Gse({
- ...lj(e),
+ [e, t] = oj(r, t, rve);
+ let i = b.useContext(aN), a = Hv((0, b.useMemo)(() => Mv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Gse({
+ ...cj(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ b.createElement(lN.Provider, { value: {
+ return /*#__PURE__*/ b.createElement(cN.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ b.createElement(rve, {
+ } }, /*#__PURE__*/ b.createElement(ive, {
...e,
ref: t
}));
-}), lN = /*#__PURE__*/ (0, b.createContext)(null), rve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(lN), l = b.useContext(oN), { isFocused: u, isFocusVisible: d, focusProps: f } = pS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = _S({
+}), cN = /*#__PURE__*/ (0, b.createContext)(null), ive = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(cN), l = b.useContext(aN), { isFocused: u, isFocusVisible: d, focusProps: f } = pS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = _S({
...e,
isDisabled: p
- }), g = aj({
+ }), g = ij({
...e,
defaultClassName: s,
values: {
@@ -38604,7 +38604,7 @@ var tve = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ (0, b.cr
isRequired: l.isRequired
}
}), _ = Fy(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(dj.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(uj.label, {
...Iv(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -38623,8 +38623,8 @@ var tve = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ (0, b.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function ive(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = IM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function ave(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = FM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -38640,12 +38640,12 @@ function ive(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = AM({
+ }, d = kM({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, b.useMemo)(() => ave(l), [l]),
+ selectedKeys: (0, b.useMemo)(() => ove(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -38682,16 +38682,16 @@ function ive(e) {
setFocused: g
};
}
-function ave(e) {
+function ove(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function ove(e) {
+function sve(e) {
return e && e.__esModule ? e.default : e;
}
-var uN = /*#__PURE__*/ (0, b.createContext)(null), dN = /*#__PURE__*/ (0, b.createContext)(null), sve = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, uN);
+var lN = /*#__PURE__*/ (0, b.createContext)(null), uN = /*#__PURE__*/ (0, b.createContext)(null), cve = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, lN);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, b.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -38706,24 +38706,24 @@ var uN = /*#__PURE__*/ (0, b.createContext)(null), dN = /*#__PURE__*/ (0, b.crea
i,
a
]);
- return /*#__PURE__*/ b.createElement(Qv, { content: o }, (n) => /*#__PURE__*/ b.createElement(lve, {
+ return /*#__PURE__*/ b.createElement(Qv, { content: o }, (n) => /*#__PURE__*/ b.createElement(uve, {
props: e,
collection: n,
selectRef: t
}));
-}), cve = [
+}), lve = [
+ vj,
yj,
- bj,
- wj
+ Cj
];
-function lve({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = oj(Ej) || {}, i = e.validationBehavior ?? r ?? "native", a = ive({
+function uve({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = aj(Tj) || {}, i = e.validationBehavior ?? r ?? "native", a = ave({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = pS({ within: !0 }), c = (0, b.useRef)(null), [l, u] = cj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = qse({
- ...lj(e),
+ }), { isFocusVisible: o, focusProps: s } = pS({ within: !0 }), c = (0, b.useRef)(null), [l, u] = sj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = qse({
+ ...cj(e),
label: u,
validationBehavior: i
}, a, c), y = (0, b.useMemo)(() => ({
@@ -38740,48 +38740,48 @@ function lve({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), x = aj({
+ ]), x = ij({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), S = Fy(e, { global: !0 });
delete S.id;
let C = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(ij, { values: [
- [uN, e],
- [dN, a],
- [fN, p],
- [yj, {
+ return /*#__PURE__*/ b.createElement(rj, { values: [
+ [lN, e],
+ [uN, a],
+ [dN, p],
+ [vj, {
...d,
ref: l,
elementType: "span"
}],
- [bj, {
+ [yj, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [$M, a],
- [BM, {
+ [QM, a],
+ [zM, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: cve
+ clearContexts: lve
}],
- [NM, {
+ [MM, {
...m,
ref: C
}],
- [PM, a],
- [wj, { slots: {
+ [NM, a],
+ [Cj, { slots: {
description: h,
errorMessage: g
} }],
- [Tj, v]
- ] }, /*#__PURE__*/ b.createElement(dj.div, {
+ [wj, v]
+ ] }, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(S, x, s),
ref: t,
slot: e.slot || void 0,
@@ -38796,9 +38796,9 @@ function lve({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, fN);
- let n = (0, b.useContext)(dN), { placeholder: r } = oj(uN), i = n.selectedItems.map((e) => {
+for (var dN = /*#__PURE__*/ (0, b.createContext)(null), dve = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, dN);
+ let n = (0, b.useContext)(uN), { placeholder: r } = aj(lN), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -38825,7 +38825,7 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
a,
o,
i
- ]), u = Ny(ove(fM), "react-aria-components"), d = aj({
+ ]), u = Ny(sve(dM), "react-aria-components"), d = ij({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -38837,32 +38837,32 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
state: n
}
}), f = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(dj.span, {
+ return /*#__PURE__*/ b.createElement(uj.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ b.createElement(wj.Provider, { value: void 0 }, d.children));
-}), dve = /*#__PURE__*/ (0, b.createContext)(null), pN = /*#__PURE__*/ (0, b.createContext)(null), fve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ b.createElement(Cj.Provider, { value: void 0 }, d.children));
+}), fve = /*#__PURE__*/ (0, b.createContext)(null), fN = /*#__PURE__*/ (0, b.createContext)(null), pve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = sj(r, t, dve);
+ [e, t] = oj(r, t, fve);
let i = Hv((0, b.useMemo)(() => Mv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = qb(e), o = Zse({
- ...lj(e),
+ ...cj(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ b.createElement(ij, { values: [[pN, a], [mN, {
+ return /*#__PURE__*/ b.createElement(rj, { values: [[fN, a], [pN, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ b.createElement(pve, {
+ }]] }, /*#__PURE__*/ b.createElement(mve, {
...e,
ref: t
}));
-}), mN = /*#__PURE__*/ (0, b.createContext)(null), pve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(mN), { isFocused: f, isFocusVisible: p, focusProps: m } = pS(), h = a || o, g = (0, b.useContext)(pN), { hoverProps: _, isHovered: v } = _S({
+}), pN = /*#__PURE__*/ (0, b.createContext)(null), mve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(pN), { isFocused: f, isFocusVisible: p, focusProps: m } = pS(), h = a || o, g = (0, b.useContext)(fN), { hoverProps: _, isHovered: v } = _S({
...e,
isDisabled: h
- }), y = aj({
+ }), y = ij({
...e,
defaultClassName: u,
values: {
@@ -38878,7 +38878,7 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
state: g
}
}), x = Fy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(dj.label, {
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(uj.label, {
...Iv(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38895,7 +38895,7 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
...Iv(r, m),
ref: l
})), y.children);
-}), hN = 10, gN = 5, mve = class {
+}), mN = 10, hN = 5, hve = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -38905,7 +38905,7 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > gN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > hN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > hN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > mN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -38984,11 +38984,11 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > gN && i) {
+ if (Math.abs(r - c.lastSwitchY) > hN && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > hN && a) {
+ if (l > mN && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -39003,7 +39003,7 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
boundaryContext: null
};
}
-}, hve = class {
+}, gve = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -39073,8 +39073,8 @@ for (var fN = /*#__PURE__*/ (0, b.createContext)(null), uve = /*#__PURE__*/ qv(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, _N = "row-header-column-" + Math.random().toString(36).slice(2), vN = "row-header-column-" + Math.random().toString(36).slice(2); _N === vN;) vN = "row-header-column-" + Math.random().toString(36).slice(2);
-function yN(e, t) {
+}, gN = "row-header-column-" + Math.random().toString(36).slice(2), _N = "row-header-column-" + Math.random().toString(36).slice(2); gN === _N;) _N = "row-header-column-" + Math.random().toString(36).slice(2);
+function vN(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -39158,13 +39158,13 @@ function yN(e, t) {
textValue: ""
}));
}
-var gve = class extends hve {
+var _ve = class extends gve {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: _N,
+ key: gN,
value: null,
textValue: "",
level: 0,
@@ -39179,7 +39179,7 @@ var gve = class extends hve {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: vN,
+ key: _N,
value: null,
textValue: "",
level: 0,
@@ -39206,7 +39206,7 @@ var gve = class extends hve {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = yN(s, a);
+ let l = vN(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -39267,8 +39267,8 @@ var gve = class extends hve {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function _ve(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || wM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function vve(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || CM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
@@ -39279,7 +39279,7 @@ function _ve(e) {
}
a(e, r);
};
- let o = (0, b.useMemo)(() => new EM(t, r), [t, r]), s = (0, b.useRef)(null);
+ let o = (0, b.useMemo)(() => new TM(t, r), [t, r]), s = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -39318,11 +39318,11 @@ function _ve(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var vve = {
+var yve = {
ascending: "descending",
descending: "ascending"
};
-function yve(e) {
+function bve(e) {
let [t, n] = (0, b.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, b.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -39333,7 +39333,7 @@ function yve(e) {
i,
r,
a
- ]), c = kM(e, (0, b.useCallback)((e) => new gve(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = _ve({
+ ]), c = OM(e, (0, b.useCallback)((e) => new _ve(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = vve({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -39349,7 +39349,7 @@ function yve(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? vve[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? yve[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -39362,7 +39362,7 @@ function yve(e) {
treeColumn: o
};
}
-function bve(e, t) {
+function xve(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -39372,7 +39372,7 @@ function bve(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var xve = class extends _ie {
+var Sve = class extends _ie {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -39387,7 +39387,7 @@ var xve = class extends _ie {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new EN(-2);
+ return new TN(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -39413,7 +39413,7 @@ var xve = class extends _ie {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = yN(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = vN(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -39494,11 +39494,11 @@ var xve = class extends _ie {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new CN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new SN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Sve = /*#__PURE__*/ (0, b.createContext)(null), Cve = /*#__PURE__*/ (0, b.createContext)(null), bN = /*#__PURE__*/ (0, b.createContext)(null), xN = /*#__PURE__*/ (0, b.createContext)(null), wve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, Cve);
- let n = wM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
+}, Cve = /*#__PURE__*/ (0, b.createContext)(null), wve = /*#__PURE__*/ (0, b.createContext)(null), yN = /*#__PURE__*/ (0, b.createContext)(null), bN = /*#__PURE__*/ (0, b.createContext)(null), Tve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, wve);
+ let n = CM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -39508,26 +39508,26 @@ var xve = class extends _ie {
i,
a,
o
- ]), c = /*#__PURE__*/ b.createElement(Dve.Provider, { value: s }, /*#__PURE__*/ b.createElement(ay, e));
+ ]), c = /*#__PURE__*/ b.createElement(Ove.Provider, { value: s }, /*#__PURE__*/ b.createElement(ay, e));
return /*#__PURE__*/ b.createElement(Qv, {
content: c,
- createCollection: () => new xve()
- }, (r) => /*#__PURE__*/ b.createElement(Eve, {
+ createCollection: () => new Sve()
+ }, (r) => /*#__PURE__*/ b.createElement(Dve, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Tve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}), Eve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.table, {
+ }) : /*#__PURE__*/ b.createElement(uj.table, {
...e,
ref: t
});
-}), SN = {
+}), xN = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -39537,26 +39537,26 @@ var xve = class extends _ie {
rtl: "ArrowRight"
}
};
-function Eve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = sj(e, t, fj);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Sve);
+function Dve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = oj(e, t, dj);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Cve);
t = Hv((0, b.useMemo)(() => Mv(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = Kb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, b.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = yve({
+ let d = bve({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = bve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(_j), { dragAndDropHooks: _ } = e, { gridProps: v } = rce({
+ }), f = xve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(gj), { dragAndDropHooks: _ } = e, { gridProps: v } = rce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, x = !!_?.useDraggableCollectionState, S = !!_?.useDroppableCollectionState;
(0, b.useRef)(x), (0, b.useRef)(S), (0, b.useEffect)(() => {}, [x, S]);
- let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = Dy(), [A] = (0, b.useState)(() => new mve());
+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = Dy(), [A] = (0, b.useState)(() => new hve());
if (x && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -39591,12 +39591,12 @@ function Eve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === SN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === SN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === xN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === xN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = pS(), P = aj({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = pS(), P = ij({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -39613,18 +39613,18 @@ function Eve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let I = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ij, { values: [
- [bN, f],
- [xN, te],
- [pM, {
+ return /*#__PURE__*/ b.createElement(rj, { values: [
+ [yN, f],
+ [bN, te],
+ [fM, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [mM, { render: Lve }],
- [fj, null],
- [pj, null]
- ] }, /*#__PURE__*/ b.createElement(ib, null, /*#__PURE__*/ b.createElement(Tve, {
+ [pM, { render: Rve }],
+ [dj, null],
+ [fj, null]
+ ] }, /*#__PURE__*/ b.createElement(ib, null, /*#__PURE__*/ b.createElement(Eve, {
...Iv(I, P, v, j, T?.collectionProps),
style: F,
ref: t,
@@ -39634,31 +39634,31 @@ function Eve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ b.createElement(vM, null, /*#__PURE__*/ b.createElement(g, {
+ }, /*#__PURE__*/ b.createElement(_M, null, /*#__PURE__*/ b.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: gM(y, _, w)
+ persistedKeys: hM(y, _, w)
})))), D);
}
-var Dve = /*#__PURE__*/ (0, b.createContext)(null), CN = class extends O_ {
+var Ove = /*#__PURE__*/ (0, b.createContext)(null), SN = class extends O_ {
static {
this.type = "tableheader";
}
-}, Ove = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}, kve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.thead, {
+ }) : /*#__PURE__*/ b.createElement(uj.thead, {
...e,
ref: t
});
-}), wN = /*#__PURE__*/ ny(CN, (e, t) => {
- let n = (0, b.useContext)(bN).collection, r = M_({
+}), CN = /*#__PURE__*/ ny(SN, (e, t) => {
+ let n = (0, b.useContext)(yN).collection, r = M_({
items: n.headerRows,
children: (0, b.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ b.createElement(Ave, { item: e });
+ case "headerrow": return /*#__PURE__*/ b.createElement(jve, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -39666,13 +39666,13 @@ var Dve = /*#__PURE__*/ (0, b.createContext)(null), CN = class extends O_ {
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = aj({
+ }), s = ij({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ b.createElement(Ove, {
+ return /*#__PURE__*/ b.createElement(kve, {
...Iv(Fy(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -39681,8 +39681,8 @@ var Dve = /*#__PURE__*/ (0, b.createContext)(null), CN = class extends O_ {
}, (e) => /*#__PURE__*/ b.createElement(ay, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), kve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
+}, e.children)), Ave = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
return n ? /*#__PURE__*/ b.createElement("div", {
...e,
ref: t
@@ -39691,41 +39691,41 @@ var Dve = /*#__PURE__*/ (0, b.createContext)(null), CN = class extends O_ {
ref: t
});
});
-function Ave({ item: e }) {
- let t = (0, b.useRef)(null), n = (0, b.useContext)(bN), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(_j), { rowProps: a } = sce({
+function jve({ item: e }) {
+ let t = (0, b.useRef)(null), n = (0, b.useContext)(yN), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(gj), { rowProps: a } = sce({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = mce(n);
- return /*#__PURE__*/ b.createElement(kve, {
+ return /*#__PURE__*/ b.createElement(Ave, {
...a,
ref: t
- }, /*#__PURE__*/ b.createElement(ij, { values: [[Dj, { slots: { selection: o } }], [Oj, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [[Ej, { slots: { selection: o } }], [Dj, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var jve = class extends O_ {
+var Mve = class extends O_ {
static {
this.type = "column";
}
-}, Mve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}, Nve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.th, {
+ }) : /*#__PURE__*/ b.createElement(uj.th, {
...e,
ref: t
});
-}), TN = /*#__PURE__*/ ty(jve, (e, t, n) => {
- let r = Hv(t), i = (0, b.useContext)(bN), { isVirtualized: a } = (0, b.useContext)(_j), { columnHeaderProps: o, isPressed: s } = oce({
+}), wN = /*#__PURE__*/ ty(Mve, (e, t, n) => {
+ let r = Hv(t), i = (0, b.useContext)(yN), { isVirtualized: a } = (0, b.useContext)(gj), { columnHeaderProps: o, isPressed: s } = oce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = pS(), d = (0, b.useContext)(xN), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = pS(), d = (0, b.useContext)(bN), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = _S({ isDisabled: !e.allowsSorting }), h = aj({
+ let { hoverProps: p, isHovered: m } = _S({ isDisabled: !e.allowsSorting }), h = ij({
...e,
id: void 0,
children: n.rendered,
@@ -39752,7 +39752,7 @@ var jve = class extends O_ {
width: d.getColumnWidth(n.key)
});
let _ = Fy(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ b.createElement(Mve, {
+ return delete _.id, /*#__PURE__*/ b.createElement(Nve, {
...Iv(_, o, u, p),
...h,
style: g,
@@ -39764,28 +39764,28 @@ var jve = class extends O_ {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [[Nve, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [[Pve, {
column: n,
triggerRef: r
- }], [_j, hj]] }, h.children));
-}), Nve = /*#__PURE__*/ (0, b.createContext)(null), EN = class extends k_ {
+ }], [gj, mj]] }, h.children));
+}), Pve = /*#__PURE__*/ (0, b.createContext)(null), TN = class extends k_ {
static {
this.type = "tablebody";
}
-}, Pve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}, Fve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.tbody, {
+ }) : /*#__PURE__*/ b.createElement(uj.tbody, {
...e,
ref: t
});
-}), DN = /*#__PURE__*/ ny(EN, (e, t, n) => {
- let r = (0, b.useContext)(bN), { isVirtualized: i } = (0, b.useContext)(_j), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(_j), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(pM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), EN = /*#__PURE__*/ ny(TN, (e, t, n) => {
+ let r = (0, b.useContext)(yN), { isVirtualized: i } = (0, b.useContext)(gj), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(gj), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(fM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = aj({
+ }, p = ij({
...e,
id: void 0,
children: void 0,
@@ -39794,25 +39794,25 @@ var jve = class extends O_ {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(kN, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(ON, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ b.createElement(jN, {
+ }, /*#__PURE__*/ b.createElement(AN, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = dT(), _ = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(Pve, {
+ return /*#__PURE__*/ b.createElement(Fve, {
...Iv(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ b.createElement(Hve, null), /*#__PURE__*/ b.createElement(o, {
+ }, l && /*#__PURE__*/ b.createElement(Uve, null), /*#__PURE__*/ b.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: hM(s, c)
+ renderDropIndicator: mM(s, c)
}), m);
});
(class extends k_ {
@@ -39820,7 +39820,7 @@ var jve = class extends O_ {
this.type = "tablefooter";
}
});
-var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fve = class extends O_ {
+var DN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Ive = class extends O_ {
static {
this.type = "item";
}
@@ -39832,17 +39832,17 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
}
return null;
}
-}, kN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}, ON = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.tr, {
+ }) : /*#__PURE__*/ b.createElement(uj.tr, {
...e,
ref: t
});
-}), AN = /*#__PURE__*/ ny(Fve, (e, t, n) => {
- let r = Hv(t), i = (0, b.useContext)(bN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(pM), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(_j), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = uce({
+}), kN = /*#__PURE__*/ ny(Ive, (e, t, n) => {
+ let r = Hv(t), i = (0, b.useContext)(yN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(fM), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(gj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = uce({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -39866,7 +39866,7 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
(0, b.useEffect)(() => {
o && D.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = aj({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = ij({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -39888,10 +39888,10 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
level: n.level + 1
}
}), P = Fy(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(kN, {
+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(ON, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(jN, {
+ }, /*#__PURE__*/ b.createElement(AN, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -39900,7 +39900,7 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ b.createElement(kN, {
+ }))), /*#__PURE__*/ b.createElement(ON, {
...Iv(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -39916,17 +39916,17 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [Dj, { slots: {
- [rj]: {},
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [Ej, { slots: {
+ [nj]: {},
selection: S
} }],
- [Oj, { slots: {
- [rj]: {},
+ [Dj, { slots: {
+ [nj]: {},
selection: S
} }],
- [bj, { slots: {
- [rj]: {},
+ [yj, { slots: {
+ [nj]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -39934,8 +39934,8 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
style: { pointerEvents: "none" }
}
} }],
- [yM, { isSelected: p.isSelected }],
- [ON, { isFocusVisibleWithinRow: _ }]
+ [vM, { isSelected: p.isSelected }],
+ [DN, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ b.createElement(l, {
collection: i.collection,
parent: n
@@ -39948,21 +39948,21 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
items: e.columns,
idScope: e.id
}, e.children);
-}), Ive = class extends O_ {
+}), Lve = class extends O_ {
static {
this.type = "cell";
}
-}, jN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}, AN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.td, {
+ }) : /*#__PURE__*/ b.createElement(uj.td, {
...e,
ref: t
});
-}), MN = /*#__PURE__*/ ty(Ive, (e, t, n) => {
- let r = Hv(t), i = (0, b.useContext)(bN), { dragState: a } = (0, b.useContext)(pM), { isVirtualized: o } = (0, b.useContext)(_j);
+}), jN = /*#__PURE__*/ ty(Lve, (e, t, n) => {
+ let r = Hv(t), i = (0, b.useContext)(yN), { dragState: a } = (0, b.useContext)(fM), { isVirtualized: o } = (0, b.useContext)(gj);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = ice({
node: n,
@@ -39970,7 +39970,7 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = pS(), { hoverProps: f, isHovered: p } = _S({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(ON), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = aj({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = pS(), { hoverProps: f, isHovered: p } = _S({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(DN), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = ij({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -39990,7 +39990,7 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
isTreeColumn: n.column.key === i.treeColumn
}
}), C = Fy(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ b.createElement(jN, {
+ return delete C.id, /*#__PURE__*/ b.createElement(AN, {
...Iv(C, S, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -40004,14 +40004,14 @@ var ON = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Fv
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": x || void 0
- }, /*#__PURE__*/ b.createElement(_j.Provider, { value: hj }, S.children));
+ }, /*#__PURE__*/ b.createElement(gj.Provider, { value: mj }, S.children));
});
-function Lve(e, t) {
+function Rve(e, t) {
t = Hv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(pM), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(fM), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ b.createElement(Vve, {
+ return /*#__PURE__*/ b.createElement(Hve, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -40020,40 +40020,40 @@ function Lve(e, t) {
ref: t
});
}
-var Rve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+var zve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.tr, {
+ }) : /*#__PURE__*/ b.createElement(uj.tr, {
...e,
ref: t
});
-}), zve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(_j);
- return n ? /*#__PURE__*/ b.createElement(dj.div, {
+}), Bve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(gj);
+ return n ? /*#__PURE__*/ b.createElement(uj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(dj.td, {
+ }) : /*#__PURE__*/ b.createElement(uj.td, {
...e,
ref: t
});
});
-function Bve(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(bN), { visuallyHiddenProps: c } = Xb(), l = aj({
+function Vve(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(yN), { visuallyHiddenProps: c } = Xb(), l = ij({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(Rve, {
+ return /*#__PURE__*/ b.createElement(zve, {
...Fy(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ b.createElement(zve, {
+ }, /*#__PURE__*/ b.createElement(Bve, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -40064,14 +40064,14 @@ function Bve(e, t) {
ref: i
}), l.children));
}
-var Vve = /*#__PURE__*/ (0, b.forwardRef)(Bve);
-function Hve() {
- let e = (0, b.useContext)(bN), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(pM), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Xb();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(kN, {
+var Hve = /*#__PURE__*/ (0, b.forwardRef)(Vve);
+function Uve() {
+ let e = (0, b.useContext)(yN), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(fM), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Xb();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(ON, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(jN, {
+ }, /*#__PURE__*/ b.createElement(AN, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -40083,8 +40083,8 @@ function Hve() {
})));
}
ty(A_, function(e, t, n) {
- let r = (0, b.useContext)(bN), { isVirtualized: i } = (0, b.useContext)(_j), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
- MM((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(yN), { isVirtualized: i } = (0, b.useContext)(gj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
+ jM((0, b.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -40094,7 +40094,7 @@ ty(A_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = aj({
+ let d = ij({
...c,
id: void 0,
children: n.rendered,
@@ -40102,10 +40102,10 @@ ty(A_, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(kN, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ON, {
style: { height: 0 },
- inert: xM(!0)
- }, /*#__PURE__*/ b.createElement(jN, { style: {
+ inert: bM(!0)
+ }, /*#__PURE__*/ b.createElement(AN, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ b.createElement("div", {
@@ -40116,14 +40116,14 @@ ty(A_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ b.createElement(kN, {
+ }))), a && d.children && /*#__PURE__*/ b.createElement(ON, {
...Iv(Fy(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(jN, {
+ }, /*#__PURE__*/ b.createElement(AN, {
role: "rowheader",
...p,
style: m
@@ -40131,8 +40131,8 @@ ty(A_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Uve(e) {
- let [t, n] = Kb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = AM({
+function Wve(e) {
+ let [t, n] = Kb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = kM({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40155,24 +40155,24 @@ function Uve(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Wve(e) {
- let t = Uve({
+function Gve(e) {
+ let t = Wve({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? NN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? MN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = NN(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 = MN(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 NN(e, t) {
+function MN(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);
@@ -40182,20 +40182,20 @@ function NN(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var PN = /*#__PURE__*/ (0, b.createContext)(null), FN = /*#__PURE__*/ (0, b.createContext)(null), IN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = sj(e, t, PN);
+var NN = /*#__PURE__*/ (0, b.createContext)(null), PN = /*#__PURE__*/ (0, b.createContext)(null), FN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = oj(e, t, NN);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, b.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ b.createElement(Qv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Gve, {
+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(Qv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Kve, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Gve({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Wve({
+function Kve({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Gve({
...e,
collection: n,
children: void 0
@@ -40207,12 +40207,12 @@ function Gve({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = aj({
+ ]), l = ij({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = Fy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(uj.div, {
...Iv(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -40220,20 +40220,20 @@ function Gve({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [[PN, e], [FN, i]] }, l.children));
+ }, /*#__PURE__*/ b.createElement(rj, { values: [[NN, e], [PN, i]] }, l.children));
}
-var LN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return (0, b.useContext)(FN) ? /*#__PURE__*/ b.createElement(Kve, {
+var IN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return (0, b.useContext)(PN) ? /*#__PURE__*/ b.createElement(qve, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ b.createElement(ay, e);
});
-function Kve({ props: e, forwardedRef: t }) {
- let n = (0, b.useContext)(FN), { CollectionRoot: r } = (0, b.useContext)(_j), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = oj(PN), o = Hv(t), { tabListProps: s } = _ce({
+function qve({ props: e, forwardedRef: t }) {
+ let n = (0, b.useContext)(PN), { CollectionRoot: r } = (0, b.useContext)(gj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = aj(NN), o = Hv(t), { tabListProps: s } = _ce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = aj({
+ }, n, o), c = ij({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -40242,21 +40242,21 @@ function Kve({ props: e, forwardedRef: t }) {
state: n
}
}), l = Fy(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ b.createElement(dj.div, {
+ return delete l.id, /*#__PURE__*/ b.createElement(uj.div, {
...Iv(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ b.createElement(vM, null, /*#__PURE__*/ b.createElement(r, {
+ }, /*#__PURE__*/ b.createElement(_M, null, /*#__PURE__*/ b.createElement(r, {
collection: n.collection,
- persistedKeys: vj(n.selectionManager.focusedKey)
+ persistedKeys: _j(n.selectionManager.focusedKey)
})));
}
-var RN = /*#__PURE__*/ ty(class extends O_ {
+var LN = /*#__PURE__*/ ty(class extends O_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, b.useContext)(FN), i = Hv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = hce({
+ let r = (0, b.useContext)(PN), i = Hv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = hce({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = pS(), { hoverProps: f, isHovered: p } = _S({
@@ -40264,7 +40264,7 @@ var RN = /*#__PURE__*/ ty(class extends O_ {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = aj({
+ }), m = ij({
...e,
id: void 0,
children: n.rendered,
@@ -40277,7 +40277,7 @@ var RN = /*#__PURE__*/ ty(class extends O_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? dj.a : dj.div, g = Fy(e, { global: !0 });
+ }), h = n.props.href ? uj.a : uj.div, g = Fy(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {
...Iv(g, m, a, l, f),
ref: i,
@@ -40287,26 +40287,26 @@ var RN = /*#__PURE__*/ ty(class extends O_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ b.createElement(yM.Provider, { value: { isSelected: o } }, m.children));
-}), zN = /*#__PURE__*/ qv(function(e, t) {
- let n = (0, b.useContext)(FN), r = Hv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ b.createElement(vM.Provider, { value: { isSelected: o } }, m.children));
+}), RN = /*#__PURE__*/ qv(function(e, t) {
+ let n = (0, b.useContext)(PN), r = Hv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = RM(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(qve, {
+ let s = LM(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Jve, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function qve(e) {
- let t = (0, b.useContext)(FN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = vce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = pS(), d = t.selectedKey === e.id, f = LM(r) && !i, p = aj({
+function Jve(e) {
+ let t = (0, b.useContext)(PN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = vce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = pS(), d = t.selectedKey === e.id, f = IM(r) && !i, p = ij({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: xM(!d),
+ isInert: bM(!d),
isEntering: f,
isExiting: a,
state: t
@@ -40314,31 +40314,31 @@ function qve(e) {
}), m = Fy(o, { global: !0 });
delete m.id;
let h = d ? Iv(m, s, c, p) : Iv(m, p);
- return /*#__PURE__*/ b.createElement(dj.div, {
+ return /*#__PURE__*/ b.createElement(uj.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: xM(!d || e.inert),
+ inert: bM(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [[PN, null], [FN, null]] }, /*#__PURE__*/ b.createElement(_j.Provider, { value: hj }, p.children)));
+ }, /*#__PURE__*/ b.createElement(rj, { values: [[NN, null], [PN, null]] }, /*#__PURE__*/ b.createElement(gj.Provider, { value: mj }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Jve = /*#__PURE__*/ (0, b.createContext)({}), Yve = /*#__PURE__*/ (0, b.createContext)(null), Xve = /*#__PURE__*/ qv(function(e, t) {
- [e, t] = sj(e, t, Yve);
- let { validationBehavior: n } = oj(Ej) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
- [e, i] = sj(e, i, pj);
- let [a, o] = cj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Goe({
- ...lj(e),
+var Yve = /*#__PURE__*/ (0, b.createContext)({}), Xve = /*#__PURE__*/ (0, b.createContext)(null), Zve = /*#__PURE__*/ qv(function(e, t) {
+ [e, t] = oj(e, t, Xve);
+ let { validationBehavior: n } = aj(Tj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
+ [e, i] = oj(e, i, fj);
+ let [a, o] = sj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Goe({
+ ...cj(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, b.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = aj({
+ }, [i]), h = ij({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -40348,7 +40348,7 @@ var Jve = /*#__PURE__*/ (0, b.createContext)({}), Yve = /*#__PURE__*/ (0, b.crea
},
defaultClassName: "react-aria-TextField"
}), g = Fy(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ b.createElement(dj.div, {
+ return delete g.id, /*#__PURE__*/ b.createElement(uj.div, {
...g,
...h,
ref: t,
@@ -40357,38 +40357,38 @@ var Jve = /*#__PURE__*/ (0, b.createContext)({}), Yve = /*#__PURE__*/ (0, b.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(ij, { values: [
- [yj, {
+ }, /*#__PURE__*/ b.createElement(rj, { values: [
+ [vj, {
...l,
ref: a
}],
- [jj, {
+ [Aj, {
...u,
ref: m
}],
- [Jve, {
+ [Yve, {
...u,
ref: m
}],
- [Aj, {
+ [kj, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [wj, { slots: {
+ [Cj, { slots: {
description: d,
errorMessage: f
} }],
- [Tj, p]
+ [wj, p]
] }, h.children));
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Zve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsxs)(l_e, {
+function Qve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsxs)(u_e, {
"data-label": "true",
...a,
- className: Qk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: Zk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, x.jsx)("span", {
@@ -40396,7 +40396,7 @@ function Zve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, x.jsx)(qme, {
+ n && /* @__PURE__ */ (0, x.jsx)(Jme, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -40405,33 +40405,33 @@ function Zve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Qve({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, x.jsx)(p_e, {
+function $ve({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, x.jsx)(m_e, {
slot: e ? "errorMessage" : "description",
...n,
- className: Qk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: Zk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var BN = (0, b.createContext)({});
-function VN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(BN.Provider, {
+var zN = (0, b.createContext)({});
+function BN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(zN.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, x.jsx)(Xve, {
+ children: /* @__PURE__ */ (0, x.jsx)(Zve, {
...a,
"data-input-size": e,
- className: Qk("group flex h-max w-full flex-col items-start gap-1", r),
+ className: Zk("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-VN.displayName = "TextField";
-var HN = $k({
+BN.displayName = "TextField";
+var VN = Qk({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -40460,44 +40460,44 @@ var HN = $k({
].join(" "),
icon: "size-5 shrink-0"
});
-function UN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, b.useContext)(BN), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, x.jsx)(v_e, {
+function HN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, b.useContext)(zN), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, x.jsx)(y_e, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Qk(HN.field, d ? HN.fieldWithAddonSize[u] : HN.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 }) => Zk(VN.field, d ? VN.fieldWithAddonSize[u] : VN.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, x.jsxs)("div", {
- className: HN.content,
+ className: VN.content,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
- className: HN.leftSection,
+ className: VN.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
- className: HN.icon,
+ className: VN.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, x.jsx)(b_e, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(x_e, {
ref: o,
...c,
- className: Qk(HN.input, l.inputClassName, a)
+ className: Zk(VN.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: HN.icon,
+ className: VN.icon,
"aria-hidden": !0
}) : null]
})
});
}
-UN.displayName = "InputBase";
-function WN({ 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, x.jsx)(VN, {
+HN.displayName = "InputBase";
+function UN({ 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, x.jsx)(BN, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- e && /* @__PURE__ */ (0, x.jsx)(Zve, {
+ e && /* @__PURE__ */ (0, x.jsx)(Qve, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(UN, {
+ /* @__PURE__ */ (0, x.jsx)(HN, {
ref: c,
groupRef: l,
placeholder: r,
@@ -40506,25 +40506,25 @@ function WN({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, x.jsx)(Qve, {
+ t && /* @__PURE__ */ (0, x.jsx)($ve, {
isInvalid: d,
children: t
})
] })
});
}
-WN.displayName = "Input";
+UN.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
-var $ve = {
+var eye = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function GN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function WN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = mae();
- return /* @__PURE__ */ (0, x.jsx)(iN, {
+ return /* @__PURE__ */ (0, x.jsx)(rN, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -40532,11 +40532,11 @@ function GN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"data-modal-kind": n,
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, x.jsx)(J_e, {
+ children: /* @__PURE__ */ (0, x.jsx)(Y_e, {
"data-modal-surface": "",
"data-modal-width": n,
- className: `flex max-h-full w-full ${$ve[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, x.jsx)(eN, {
+ className: `flex max-h-full w-full ${eye[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, x.jsx)($M, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -40544,7 +40544,7 @@ function GN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function KN({ children: e }) {
+function GN({ children: e }) {
return /* @__PURE__ */ (0, x.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",
@@ -40553,11 +40553,11 @@ function KN({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var eye = { "text-aa": 1.435 }, qN = /* @__PURE__ */ new Map();
-function JN(e) {
- let t = qN.get(e);
+var tye = { "text-aa": 1.435 }, KN = /* @__PURE__ */ new Map();
+function qN(e) {
+ let t = KN.get(e);
if (t) return t;
- let n = eye[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ let n = tye[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -40571,11 +40571,11 @@ function JN(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, qN.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, KN.set(e, r), r;
}
//#endregion
//#region src/react/components/settings-dialog-close.tsx
-function YN({ label: e, id: t, onPress: n }) {
+function JN({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
id: t,
@@ -40591,33 +40591,33 @@ function YN({ label: e, id: t, onPress: n }) {
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var XN = ["library-shortcuts"], ZN = "/api/library-shortcuts";
-function QN(e = !0) {
+var YN = ["library-shortcuts"], XN = "/api/library-shortcuts";
+function ZN(e = !0) {
return dt({
- queryKey: XN,
- queryFn: ({ signal: e }) => V(ZN, e),
+ queryKey: YN,
+ queryFn: ({ signal: e }) => V(XN, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function $N() {
+function QN() {
return ft({
- mutationKey: XN,
- mutationFn: (e) => H(ZN, e),
+ mutationKey: YN,
+ mutationFn: (e) => H(XN, e),
onSuccess: (e) => {
- U.setQueryData(XN, e);
+ U.setQueryData(YN, e);
}
});
}
-function eP(e, t) {
+function $N(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
-function tye(e) {
+function nye(e) {
return It(e.kind, e.name, e.entity_id);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var tP = JN("star"), nye = JN("bookmark-plus"), nP = {
+var eP = qN("star"), rye = qN("bookmark-plus"), tP = qN("chevron-right"), nP = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
@@ -40625,24 +40625,24 @@ var tP = JN("star"), nye = JN("bookmark-plus"), nP = {
agency: "事务所",
tag: "标签"
}, rP = {
- all: JN("star"),
- performer: JN("user-round"),
- creator: JN("user-round"),
- studio: JN("clapperboard"),
- series: JN("film"),
- agency: JN("briefcase"),
- tag: JN("tags"),
- filters: JN("list-filter")
+ all: qN("star"),
+ performer: qN("user-round"),
+ creator: qN("user-round"),
+ studio: qN("clapperboard"),
+ series: qN("film"),
+ agency: qN("briefcase"),
+ tag: qN("tags"),
+ filters: qN("list-filter")
}, iP = [
["all", "全部"],
...Object.entries(nP),
["filters", "保存的筛选"]
];
function aP({ item: e }) {
- return /* @__PURE__ */ (0, x.jsx)(rye, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+ return /* @__PURE__ */ (0, x.jsx)(iye, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
-function rye({ item: e }) {
- let t = QN(!1), n = (0, b.useRef)(t.data), r = $N(), i = t.data && t.data !== n.current ? eP(t.data.favorites || [], e) : e.favorite ?? (t.data ? eP(t.data.favorites || [], e) : !1);
+function iye({ item: e }) {
+ let t = ZN(!1), n = (0, b.useRef)(t.data), r = QN(), i = t.data && t.data !== n.current ? $N(t.data.favorites || [], e) : e.favorite ?? (t.data ? $N(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
@@ -40663,7 +40663,7 @@ function rye({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: vo("") }
- }) : /* @__PURE__ */ (0, x.jsx)(tP, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(eP, {})
}),
r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -40690,27 +40690,27 @@ function oP({ currentHref: e, kind: t }) {
"aria-haspopup": "dialog",
"aria-expanded": n,
onClick: () => r(!0),
- children: /* @__PURE__ */ (0, x.jsx)(tP, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(eP, { "aria-hidden": !0 })
})
- }), /* @__PURE__ */ (0, x.jsx)(GN, {
+ }), /* @__PURE__ */ (0, x.jsx)(WN, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, x.jsx)(iye, {
+ children: n ? /* @__PURE__ */ (0, x.jsx)(aye, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function iye({ currentHref: e, kind: t, close: n }) {
- let r = QN(), i = $N(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (0, b.useId)(), [m, h] = (0, b.useState)(() => matchMedia("(max-width: 760px)").matches);
+function aye({ currentHref: e, kind: t, close: n }) {
+ let r = ZN(), i = QN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (0, b.useId)(), [m, h] = (0, b.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(s), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = nj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(s), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = tj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, b.useLayoutEffect)(() => {
S.current && (C.current = va(S.current) || null);
}, []), (0, b.useLayoutEffect)(() => {
@@ -40746,7 +40746,7 @@ function iye({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: T
- }), /* @__PURE__ */ (0, x.jsx)(YN, {
+ }), /* @__PURE__ */ (0, x.jsx)(JN, {
label: "关闭我的收藏",
onPress: n
})]
@@ -40777,7 +40777,7 @@ function iye({ currentHref: e, kind: t, close: n }) {
children: "我的收藏"
}),
iP.map(([e, t]) => {
- let n = rP[e] || tP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ let n = rP[e] || eP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
@@ -40808,11 +40808,19 @@ function iye({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, x.jsxs)("a", {
href: "/flagged",
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(tP, { "aria-hidden": !0 }), "已标记"]
+ children: [
+ /* @__PURE__ */ (0, x.jsx)(eP, { "aria-hidden": !0 }),
+ "已标记",
+ /* @__PURE__ */ (0, x.jsx)(tP, { "aria-hidden": !0 })
+ ]
}), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "/watch-later",
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(nye, { "aria-hidden": !0 }), "稍后看"]
+ children: [
+ /* @__PURE__ */ (0, x.jsx)(rye, { "aria-hidden": !0 }),
+ "稍后看",
+ /* @__PURE__ */ (0, x.jsx)(tP, { "aria-hidden": !0 })
+ ]
})]
})]
}),
@@ -40844,9 +40852,9 @@ function iye({ currentHref: e, kind: t, close: n }) {
children: B(i.error)
}) : null,
O ? s === "filters" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- O.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(aA, {
+ O.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: JN("list-filter"),
+ icon: qN("list-filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
@@ -40877,7 +40885,7 @@ function iye({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "筛选名称",
value: a,
onChange: o,
@@ -40897,16 +40905,16 @@ function iye({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: JN("search"),
+ leadingIcon: qN("search"),
value: l,
onChange: u
}),
- k.length ? null : /* @__PURE__ */ (0, x.jsx)(aA, {
+ k.length ? null : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: tP,
+ icon: eP,
title: l ? "没有匹配的收藏" : O.favorites.length ? "还没有此类收藏" : "还没有收藏",
children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"
}),
@@ -40916,11 +40924,11 @@ function iye({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, x.jsxs)("a", {
- href: tye(e),
+ href: nye(e),
"aria-label": e.name,
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, x.jsx)(aye, { item: e }, e.image_url), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(oye, { item: e }, e.image_url), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "truncate",
@@ -40952,8 +40960,8 @@ function iye({ currentHref: e, kind: t, close: n }) {
]
});
}
-function aye({ item: e }) {
- let t = rP[e.kind] || tP;
+function oye({ item: e }) {
+ let t = rP[e.kind] || eP;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -40972,7 +40980,7 @@ function aye({ item: e }) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var oye = {
+var sye = {
selection: {
type: Ad,
duration: .16,
@@ -41005,7 +41013,7 @@ function sP(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 = mie(n, { transform: [r, E] }, oye[e]);
+ l = mie(n, { transform: [r, E] }, sye[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -41044,19 +41052,19 @@ function sP(e) {
//#region src/react/components/segmented.tsx
function cP(e) {
let t = sP("selection");
- return /* @__PURE__ */ (0, x.jsx)(LN, {
+ return /* @__PURE__ */ (0, x.jsx)(IN, {
...e,
ref: t
});
}
function lP(e) {
let t = sP("selection");
- return /* @__PURE__ */ (0, x.jsx)(sN, {
+ return /* @__PURE__ */ (0, x.jsx)(oN, {
...e,
ref: t
});
}
-var uP = "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", dP = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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", sye = "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", fP = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", pP = "relative 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)", mP = (e) => typeof e == "string" ? e : "", hP = (e) => e.aliases;
+var uP = "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", dP = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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", cye = "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", fP = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", pP = "relative 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)", mP = (e) => typeof e == "string" ? e : "", hP = (e) => e.aliases;
function gP(e, t = "") {
let n = Br(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
@@ -41119,9 +41127,9 @@ function TP(e, t) {
let n = mP(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var cye = 864e5, lye = (e, t) => {
+var lye = 864e5, uye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > cye;
+ return Number.isFinite(n) && n - t > lye;
};
function EP(e, t) {
let n = mP(e.published_at);
@@ -41130,14 +41138,14 @@ function EP(e, t) {
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: lye(n, t) ? " · 晚于现在" : ""
+ suffix: uye(n, t) ? " · 晚于现在" : ""
};
}
function DP(e, t = Date.now()) {
let n = EP(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function uye(e, t = Date.now()) {
+function dye(e, t = Date.now()) {
let n = EP(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
@@ -41153,7 +41161,7 @@ function jP() {
body: JSON.stringify({ entries: e })
}).catch(() => {}), kP.length && (AP = setTimeout(jP, 800));
}
-function dye(e, t, n, r) {
+function fye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
OP.has(i) || (OP.add(i), kP.push(t === null ? {
item: e,
@@ -41168,22 +41176,22 @@ function dye(e, t, n, r) {
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var fye = (e) => e === "videos", MP = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var pye = (e) => e === "videos", MP = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function pye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = fye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function mye(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = pye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = nj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = nj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = nj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
+ })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = tj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = tj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = tj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, b.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);
}, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(NP, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, x.jsx)(ZA, {
+ }), /* @__PURE__ */ (0, x.jsx)(XA, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -41212,14 +41220,14 @@ function pye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(_ye, {
+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(vye, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
}), d ? /* @__PURE__ */ (0, x.jsx)(MP, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hye, {
+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(gye, {
head: D,
row: E,
glide: O,
@@ -41249,7 +41257,7 @@ function pye(e) {
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(QA, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -41258,17 +41266,17 @@ function pye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(gye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(_ye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, x.jsx)(vye, { ...e })
+ bottom: /* @__PURE__ */ (0, x.jsx)(yye, { ...e })
})] });
}
-var mye = [[
+var hye = [[
"videos",
"视频",
"play",
@@ -41279,7 +41287,7 @@ var mye = [[
"pics",
"image"
]];
-function hye({ head: e, row: t, glide: n, onMedia: r }) {
+function gye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
ref: t,
role: "group",
@@ -41287,7 +41295,7 @@ function hye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: mye.map(([t, i, a, o]) => {
+ children: hye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41305,7 +41313,7 @@ function hye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function gye({ head: e, actions: t }) {
+function _ye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41318,7 +41326,7 @@ function gye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: gP(n) }
}, n)),
e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(MP, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(QA, {
+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -41331,7 +41339,7 @@ function gye({ head: e, actions: t }) {
}, e.k))
] });
}
-function _ye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function vye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -41399,7 +41407,7 @@ function NP({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function vye(e) {
+function yye(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -41411,27 +41419,27 @@ function vye(e) {
dangerouslySetInnerHTML: { __html: R("chevron-left") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(yye, {
+ /* @__PURE__ */ (0, x.jsx)(bye, {
text: n,
busy: r
}),
/* @__PURE__ */ (0, x.jsx)(oP, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(bye, {
+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(xye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(Sye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(Cye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(xye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(Sye, {
head: e.online,
actions: o
}) : null
] });
}
-function yye({ text: e, busy: t }) {
+function bye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -41442,7 +41450,7 @@ function yye({ text: e, busy: t }) {
});
}
function PP({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, x.jsx)(sN, {
+ return /* @__PURE__ */ (0, x.jsx)(oN, {
name: e,
"aria-label": t,
orientation: "horizontal",
@@ -41451,8 +41459,8 @@ function PP({ name: e, label: t, value: n, options: r, onChange: i }) {
"data-entity-layout": "",
className: fP,
children: r.map(([e, t, n]) => {
- let r = JN(n);
- return /* @__PURE__ */ (0, x.jsx)(cN, {
+ let r = qN(n);
+ return /* @__PURE__ */ (0, x.jsx)(sN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -41480,7 +41488,7 @@ function FP({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? vo("正在换一批") : R("shuffle") }
});
}
-function bye({ head: e, actions: t }) {
+function xye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -41500,7 +41508,7 @@ function bye({ head: e, actions: t }) {
}
function IP({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {
- let n = JN(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = qN(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -41512,7 +41520,7 @@ function IP({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function xye({ head: e, actions: t }) {
+function Sye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -41544,7 +41552,7 @@ function xye({ head: e, actions: t }) {
]
});
}
-function Sye({ head: e, actions: t, helpers: n }) {
+function Cye({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, b.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
@@ -41574,8 +41582,8 @@ function Sye({ head: e, actions: t, helpers: n }) {
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
var LP = "";
-function Cye(e) {
- let t = !e.tiers, n = Aye(e.comboHost);
+function wye(e) {
+ let t = !e.tiers, n = jye(e.comboHost);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
@@ -41587,20 +41595,20 @@ function Cye(e) {
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, x.jsx)(Eye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(wye, { ...e })
+ /* @__PURE__ */ (0, x.jsx)(Dye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(Tye, { ...e })
]
});
}
-function wye(e) {
- let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = nj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Tye(e) {
+ let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = tj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, b.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
let l = !e.tiers, u = zP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, b.useLayoutEffect)(() => {
ko(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, x.jsx)(ZA, {
+ }, [u]), /* @__PURE__ */ (0, x.jsx)(XA, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -41643,17 +41651,17 @@ function wye(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(RP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Tye, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(RP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Eye, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Oye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(kye, { ...e })
});
}
-function Tye({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, x.jsxs)(QA, {
+function Eye({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, x.jsxs)(ZA, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -41664,7 +41672,7 @@ function Tye({ tag: e, onPress: t }) {
})]
});
}
-function Eye(e) {
+function Dye(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
@@ -41705,12 +41713,12 @@ function Eye(e) {
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, x.jsx)(Dye, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(Oye, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function Dye({ studio: e }) {
+function Oye({ studio: e }) {
let [t, n] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tier-mark": "",
@@ -41740,11 +41748,11 @@ function RP({ kind: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Oye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function kye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, x.jsx)(kye, { count: e }), /* @__PURE__ */ (0, x.jsx)(oP, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Aye, { count: e }), /* @__PURE__ */ (0, x.jsx)(oP, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -41768,7 +41776,7 @@ function Oye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
]
})] });
}
-function kye({ count: e }) {
+function Aye({ count: e }) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, b.useLayoutEffect)(() => {
if (e === !1) return;
@@ -41793,7 +41801,7 @@ function kye({ count: e }) {
})
}, "skeleton");
}
-function Aye(e) {
+function jye(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -41903,7 +41911,7 @@ function HP({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var jye = [
+var Mye = [
"a",
"button",
"input",
@@ -41919,7 +41927,7 @@ var jye = [
function UP(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(jye);
+ let r = n.closest(Mye);
return !r || !t.contains(r) || r === t;
}
function WP(e) {
@@ -41927,7 +41935,7 @@ function WP(e) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var Mye = 9 / 16, GP = "未命名视频";
+var Nye = 9 / 16, GP = "未命名视频";
function KP({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -41935,12 +41943,12 @@ function KP({ name: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var Nye = {
+var Pye = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Pye = {
+}, Fye = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
@@ -41948,7 +41956,7 @@ var Nye = {
};
function qP({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && Pye[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && Fye[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
@@ -41975,9 +41983,9 @@ function JP({ item: e, actions: t }) {
}) : null] });
}
function YP(e, t, n) {
- return t === "short" ? Mye : mE(n);
+ return t === "short" ? Nye : mE(n);
}
-function Fye(e) {
+function Iye(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ha(e), s = i[0] || "", c = na(e);
return {
avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -42024,7 +42032,7 @@ function Fye(e) {
})
};
}
-function Iye() {
+function Lye() {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -42043,7 +42051,7 @@ function Iye() {
})]
});
}
-function Lye({ item: e, actions: t }) {
+function Rye({ item: e, actions: t }) {
let [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-later": "",
@@ -42069,13 +42077,13 @@ function XP(e, t) {
let n = e?.querySelector("video.hv");
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function Rye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function zye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(e);
u.current = e;
let d = (0, b.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && lc(l.current), l.current = e, e && (!t.medium || t.medium === "video") && dc(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = fa(e, h, !1, n.javImage), _ = h === "small" ? g.html : fa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || GP, S = o.titleHtml(e, v).trim() || z(GP), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Fye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = fa(e, h, !1, n.javImage), _ = h === "small" ? g.html : fa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || GP, S = o.titleHtml(e, v).trim() || z(GP), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Iye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.watch_later && "later"
@@ -42155,8 +42163,8 @@ function Rye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, x.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, x.jsx)(Iye, {}),
- /* @__PURE__ */ (0, x.jsx)(Lye, {
+ /* @__PURE__ */ (0, x.jsx)(Lye, {}),
+ /* @__PURE__ */ (0, x.jsx)(Rye, {
item: e,
actions: s
}),
@@ -42274,8 +42282,8 @@ function Rye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, b.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Nye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function Bye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, b.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Pye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, x.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -42357,17 +42365,17 @@ function zye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function Bye(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(zye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Rye, { ...e });
+function Vye(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Bye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(zye, { ...e });
}
-var ZP = (0, b.memo)(Bye), Vye = 1100, Hye = 340, Uye = 5e3;
-function Wye(e, t, n) {
+var ZP = (0, b.memo)(Vye), Hye = 1100, Uye = 340, Wye = 5e3;
+function Gye(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, Uye);
+ }, s = () => o(!1), c = setTimeout(s, Wye);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
@@ -42415,11 +42423,11 @@ function QP({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Wye(t, e, n)));
+ let s = await Promise.all(a.map((t) => Gye(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, Vye);
+ p(), e.cycle = setInterval(p, Hye);
}));
};
return (0, b.useEffect)(() => d, [d]), {
@@ -42428,7 +42436,7 @@ function QP({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Hye, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Uye, () => {
e.armed = null, m();
});
},
@@ -42439,8 +42447,8 @@ function QP({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var $P = JN("play");
-function Gye({ src: e }) {
+var $P = qN("play");
+function Kye({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
"data-mix-poster": "",
@@ -42454,7 +42462,7 @@ function Gye({ src: e }) {
});
}
var eF = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function Kye({ faces: e, fallback: t, onOpenEntity: n }) {
+function qye({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("button", {
@@ -42504,7 +42512,7 @@ function tF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, x.jsx)(Gye, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, x.jsx)(Kye, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -42548,7 +42556,7 @@ function tF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
"data-mix-glyph": "",
"aria-hidden": !0,
children: /* @__PURE__ */ (0, x.jsx)($P, {})
- }) : /* @__PURE__ */ (0, x.jsx)(Kye, {
+ }) : /* @__PURE__ */ (0, x.jsx)(qye, {
faces: o,
fallback: tn(e),
onOpenEntity: s
@@ -42572,7 +42580,7 @@ function tF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/video-wall/folia/blockReflows.ts
-var qye = [
+var Jye = [
[
[
{
@@ -46441,15 +46449,15 @@ var qye = [
rF,
iF,
(e) => rF(iF(e))
-], oF = nF.flatMap((e) => aF.map((t) => t(e))), Jye = qye.flatMap((e) => aF.map((t) => e.map(t)));
+], oF = nF.flatMap((e) => aF.map((t) => t(e))), Yye = Jye.flatMap((e) => aF.map((t) => e.map(t)));
oF.length;
-var Yye = (e, t) => {
+var Xye = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
}, sF = (e, t) => {
let n = nF.length;
- return ((e + t * 2) % n + n) % n * aF.length + Yye(e, t) % aF.length;
-}, Xye = (e, t) => oF[sF(e, t)], Zye = (e, t, n) => n < 0 || n >= 12 ? null : Jye[sF(e, t)][n], cF = 103.36, lF = 6.08, uF = 12 * cF, dF = 8 * cF, fF = 12, pF = (e, t) => (e % t + t) % t, Qye = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
+ return ((e + t * 2) % n + n) % n * aF.length + Xye(e, t) % aF.length;
+}, Zye = (e, t) => oF[sF(e, t)], Qye = (e, t, n) => n < 0 || n >= 12 ? null : Yye[sF(e, t)][n], cF = 103.36, lF = 6.08, uF = 12 * cF, dF = 8 * cF, fF = 12, pF = (e, t) => (e % t + t) % t, $ye = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
function mF(e, t) {
let n = Math.max(1, Math.ceil(e / fF)), r = t ? 3 : Math.min(3, n);
return {
@@ -46459,7 +46467,7 @@ function mF(e, t) {
};
}
function hF(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = Xye(e, t)[n];
+ let { x: r, y: i, cols: a, rows: o } = Zye(e, t)[n];
return {
x: e * uF + r * cF,
y: t * dF + i * cF,
@@ -46467,7 +46475,7 @@ function hF(e, t, n) {
height: o * cF - lF
};
}
-function $ye(e) {
+function ebe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
function gF(e, t, n) {
@@ -46487,13 +46495,13 @@ function gF(e, t, n) {
key: n
};
}
-function ebe(e, t) {
+function tbe(e, t) {
if (t < 0 || t >= e) return null;
let n = Math.floor(t / fF);
return gF(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % fF}`);
}
function _F(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = Zye(r, i, a);
+ let [r, i, a] = n.key.split(":").map(Number), o = Qye(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
x: r * uF + e.x * cF,
y: i * dF + e.y * cF,
@@ -46501,7 +46509,7 @@ function _F(e, t, n) {
height: e.rows * cF - lF
}]));
}
-function tbe(e) {
+function nbe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
let e = Math.floor(r / fF), i = hF(e % 3, Math.floor(e / 3), r % fF);
@@ -46512,7 +46520,7 @@ function tbe(e) {
height: n
};
}
-function nbe(e, t, n, r) {
+function rbe(e, t, n, r) {
if (!r) return e;
let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));
return {
@@ -46521,7 +46529,7 @@ function nbe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function rbe(e, t, n, r) {
+function ibe(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
@@ -46536,7 +46544,7 @@ function rbe(e, t, n, r) {
let u = (l * o.columns + i) * fF + s;
if (t && u >= e) continue;
let d = hF(r, n, s);
- Qye(d, a) && c.push({
+ $ye(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -46545,7 +46553,7 @@ function rbe(e, t, n, r) {
}
return c;
}
-var ibe = class {
+var abe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -46618,7 +46626,7 @@ var ibe = class {
"dur_max",
"region"
];
-function abe(e = {}) {
+function obe(e = {}) {
return vF.some((t) => !!e[t]);
}
//#endregion
@@ -46628,7 +46636,7 @@ var yF = {
y: 16,
scale: 1
};
-function obe(e, t, n = yF, r = !1) {
+function sbe(e, t, n = yF, r = !1) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)({
width: 0,
height: 0
@@ -46648,7 +46656,7 @@ function obe(e, t, n = yF, r = !1) {
let f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, b.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = nbe(e, o.current, tbe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = rbe(e, o.current, nbe(r), c && !f && !n);
s.current = p;
let m = window.devicePixelRatio || 1;
a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));
@@ -46810,17 +46818,17 @@ function obe(e, t, n = yF, r = !1) {
}
//#endregion
//#region src/react/video-wall/wall-motion.ts
-var sbe = {
+var cbe = {
type: "spring",
stiffness: 300,
damping: 34
-}, cbe = {
+}, lbe = {
delay: .14,
duration: .24
};
//#endregion
//#region src/react/video-wall/use-wall-playback.ts
-function lbe(e, t, n) {
+function ube(e, t, n) {
let [r, i] = (0, b.useState)({
paused: !0,
time: 0,
@@ -46862,8 +46870,8 @@ function lbe(e, t, n) {
}
//#endregion
//#region src/react/video-wall/wall-controls.tsx
-function ube({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
- let b = T_(), S = lbe(t, n, v), C = S.duration || Number(e.duration) || 0, w = r || i, T = !t || S.paused, E = async () => {
+function dbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
+ let b = T_(), S = ube(t, n, v), C = S.duration || Number(e.duration) || 0, w = r || i, T = !t || S.paused, E = async () => {
if (!(w || a && !s)) try {
t === e.id ? await S.toggle() : await f();
} catch (e) {
@@ -46880,7 +46888,7 @@ function ube({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : cbe,
+ transition: b ? { duration: 0 } : lbe,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -47044,7 +47052,7 @@ function xF({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var dbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
+var fbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -47054,7 +47062,7 @@ var dbe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
});
//#endregion
//#region src/react/video-wall/wall-queue.tsx
-function fbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function pbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
@@ -47068,14 +47076,14 @@ function fbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? xD(e.part_label) : "",
+ e.part_label ? bD(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
pic: /* @__PURE__ */ (0, x.jsx)(HP, { artwork: fa(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, x.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, x.jsx)("span", { children: [
e.edition_label,
- e.part_label ? xD(e.part_label) : "",
+ e.part_label ? bD(e.part_label) : "",
Yt(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -47084,7 +47092,7 @@ function fbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
}
//#endregion
//#region src/react/video-wall/wall-route.ts
-function pbe(e = `${location.pathname}${location.search}`, t = {}) {
+function mbe(e = `${location.pathname}${location.search}`, t = {}) {
let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {
performers: "performer",
creators: "creator",
@@ -47099,14 +47107,14 @@ function pbe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function mbe(e = `${location.pathname}${location.search}`) {
+function hbe(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
for (let e of vF) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
function SF() {
- let e = new URLSearchParams(dk.navigation.location.search).get("returnTo") || "/";
- dk.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
+ let e = new URLSearchParams(uk.navigation.location.search).get("returnTo") || "/";
+ uk.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
@@ -47131,27 +47139,27 @@ var CF = /* @__PURE__ */ new Map(), wF = (0, b.memo)(function({ item: e, image:
})
});
});
-function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
+function gbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, b.useState)(() => {
let e = CF.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, b.useState)(() => m?.exploration || new ibe()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {
+ }), [h] = (0, b.useState)(() => m?.exploration || new abe()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {
kind: "editions",
seedId: E.edition_group.seed_id
} : E?.part_group ? {
kind: "parts",
seedId: E.part_group.seed_id
} : null, ee = dt({
- queryKey: fD(P || {
+ queryKey: dD(P || {
kind: "parts",
seedId: 0
}),
enabled: !!P,
- queryFn: ({ signal: e }) => _D(P, {
+ queryFn: ({ signal: e }) => gD(P, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === vD(F, A || E?.id || null)) || E, I = obe(e.length, t && !!e.length, m?.camera || {
+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === _D(F, A || E?.id || null)) || E, I = sbe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
@@ -47172,7 +47180,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
(0, b.useLayoutEffect)(() => {
document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });
}, [Se]), (0, b.useEffect)(() => () => Se.remove(), [Se]);
- let [Ce, we] = (0, b.useState)(() => LO(dk.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);
+ let [Ce, we] = (0, b.useState)(() => IO(uk.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);
ke.current = !!e.length;
let Ae = (0, b.useRef)({
selectedId: E?.id || null,
@@ -47196,7 +47204,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), CF.size > 8 && CF.delete(CF.keys().next().value));
};
(0, b.useLayoutEffect)(je);
- let Me = rbe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({
+ let Me = ibe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({
...e,
index: -1
})) : t ? Me : h.assign(Me, e.length, n), Pe = E && (t ? gF(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? _F(e.length, t, Pe) : /* @__PURE__ */ new Map();
@@ -47216,8 +47224,8 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
t,
p,
i
- ]), (0, b.useEffect)(() => dk.listen((e) => {
- let t = LO(e.location.pathname);
+ ]), (0, b.useEffect)(() => uk.listen((e) => {
+ let t = IO(e.location.pathname);
t && (T.current?.abort(), w.current?.(!0), w.current = null, se(null), de(!1)), we(t);
}), []), (0, b.useEffect)(() => () => {
T.current?.abort(), w.current?.(!0), je();
@@ -47260,7 +47268,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
T.current === t && de(!1);
}
}, Ve = () => {
- let e = Gue(F || null, oe || 0);
+ let e = Kue(F || null, oe || 0);
e && (j(e.id), Be(e));
};
(0, b.useEffect)(() => {
@@ -47282,7 +47290,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (I.view.size.width / 2 - r.x) / r.scale,
y: (I.view.size.height / 2 - r.y) / r.scale
- }, o = t ? ebe(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? tbe(e.length, i) : h.nearest(e.length, i, a);
o && (Re(n, o), le(n.id));
}, Ge = async () => {
if (!(r || g.current)) {
@@ -47411,7 +47419,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Xe.code ? /* @__PURE__ */ (0, x.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,
/* @__PURE__ */ (0, x.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),
- F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? xD(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? bD(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -47438,7 +47446,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(ube, {
+ /* @__PURE__ */ (0, x.jsx)(dbe, {
item: Xe,
playing: oe,
frame: S,
@@ -47460,7 +47468,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ve,
error: pe
}),
- M ? /* @__PURE__ */ (0, x.jsx)(fbe, {
+ M ? /* @__PURE__ */ (0, x.jsx)(pbe, {
items: He,
activeId: Xe.id,
kind: F?.kind || "wall",
@@ -47502,7 +47510,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, x.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
variant: "ghost",
- onClick: () => dk.push(mbe()),
+ onClick: () => uk.push(hbe()),
children: "清除筛选"
})]
}) : null,
@@ -47514,7 +47522,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
onSubmit: (e) => {
e.preventDefault();
let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();
- n ? t.set("q", n) : t.delete("q"), je(), dk.push(`/wall?${t}`), xe(!1);
+ n ? t.set("q", n) : t.delete("q"), je(), uk.push(`/wall?${t}`), xe(!1);
},
children: [/* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -47533,11 +47541,11 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
value: Te,
onChange: Ee,
className: uP,
- children: [/* @__PURE__ */ (0, x.jsx)(cN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(sN, {
value: "cover",
className: dP,
children: "封面"
- }), /* @__PURE__ */ (0, x.jsx)(cN, {
+ }), /* @__PURE__ */ (0, x.jsx)(sN, {
value: "thumbnail",
className: dP,
children: "缩略图"
@@ -47631,7 +47639,7 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: ne ? { duration: 0 } : {
- layout: sbe,
+ layout: cbe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -47766,18 +47774,18 @@ function hbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
function TF(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(_be, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${cD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, x.jsx)(vbe, { ...e }, t);
+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(vbe, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${sD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, x.jsx)(ybe, { ...e }, t);
}
-function gbe({ name: e }) {
+function _be({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function _be(e) {
+function vbe(e) {
let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(ZP, {
item: i,
variant: r,
@@ -47798,8 +47806,8 @@ function _be(e) {
children: i
});
}
-function vbe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Tue(e) : wue(e), [s] = (0, b.useState)(() => e.wall ? Due(o.queryKey) : void 0), c = s || (i && e.initial ? {
+function ybe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Eue(e) : Tue(e), [s] = (0, b.useState)(() => e.wall ? Oue(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -47820,7 +47828,7 @@ function vbe(e) {
(0, b.useEffect)(() => {
l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));
}, [l.isPending]);
- let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => Aue(l.data?.pages || [], {
+ let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => jue(l.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -47830,7 +47838,7 @@ function vbe(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || abe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && $ye(e.item) ? [e.item] : []), v = BP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = ybe(e, l.data, d, f, y);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || obe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && ebe(e.item) ? [e.item] : []), v = BP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = bbe(e, l.data, d, f, y);
(0, b.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -47857,7 +47865,7 @@ function vbe(e) {
let w = (0, b.useCallback)((e, t) => n.open(e, t), [n]), T = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), E = (0, b.useCallback)((e) => n.openShort(e), [n]), D = (0, b.useCallback)(async () => {
let e = await l.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), O = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(xbe, {
+ }, [l.fetchNextPage]), O = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(Sbe, {
seed: i.seed,
layout: r,
helpers: t,
@@ -47878,8 +47886,8 @@ function vbe(e) {
"data-media-body": "",
"data-grid-reveal": v.fading ? "" : void 0,
children: [!e.wall && v.layer, (() => {
- if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(hbe, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${cD(e.filters || {}, !!e.excludeVertical)}`,
+ if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(gbe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${sD(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
hasMore: !!l.hasNextPage,
@@ -47914,10 +47922,10 @@ function vbe(e) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Nue(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
+ children: Pue(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(O)
- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(bbe, {
+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(xbe, {
cut: t.strip,
props: e,
onOpen: E
@@ -47997,7 +48005,7 @@ function EF({ entity: e, load: t, enabled: n, children: r }) {
onRetry: () => void u(!0)
}) : null] });
}
-function ybe(e, t, n, r, i) {
+function bbe(e, t, n, r, i) {
let [a, o] = (0, b.useState)([]), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(0), u = (0, b.useRef)(0), d = (0, b.useRef)([]);
return (0, b.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, b.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -48006,7 +48014,7 @@ function ybe(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- V(`/api/items?${Mue(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ V(`/api/items?${Nue(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -48018,7 +48026,7 @@ function ybe(e, t, n, r, i) {
}, [t]), (0, b.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = jue(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Mue(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -48028,7 +48036,7 @@ function ybe(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function bbe({ cut: e, props: t, onOpen: n }) {
+function xbe({ cut: e, props: t, onOpen: n }) {
let r = (0, b.useRef)(null), { wireDrag: i } = t;
return (0, b.useEffect)(() => {
r.current && i(r.current);
@@ -48044,7 +48052,7 @@ function bbe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, x.jsx)(gbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(_be, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
@@ -48066,11 +48074,11 @@ function bbe({ cut: e, props: t, onOpen: n }) {
function DF(e, t, n) {
return pa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function xbe({ seed: e, layout: t, helpers: n, actions: r }) {
+function Sbe({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, b.useRef)(/* @__PURE__ */ new Map()), a = (0, b.useRef)(t);
a.current = t;
let o = _a(e, n.tagLabel), s = (0, b.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => lD(e, t.javImage)).slice(0, 9);
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => cD(e, t.javImage)).slice(0, 9);
return i.current = new Map(n.map((e) => [String(e.id), DF(e, t, !0).html])), n.map((e) => String(e.id));
}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = DF(e, t, !1);
return /* @__PURE__ */ (0, x.jsx)(tF, {
@@ -48106,22 +48114,22 @@ async function OF(e) {
queryFn: () => xn(e)
});
}
-var Sbe = [
+var Cbe = [
"local",
"115",
"pikpak"
-], Cbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), wbe = "/api/duplicates?limit=120", kF = ["duplicates"], AF = "/api/batch", jF = (e) => V(wbe, e), Tbe = /[\s\-_.()[\]【】/\\]/;
-function Ebe(e) {
+], wbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Tbe = "/api/duplicates?limit=120", kF = ["duplicates"], AF = "/api/batch", jF = (e) => V(Tbe, e), Ebe = /[\s\-_.()[\]【】/\\]/;
+function Dbe(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !Tbe.test(n[r - 1]);) --r;
+ for (; r > 0 && !Ebe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var Dbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function Obe(e) {
+var Obe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function kbe(e) {
await Promise.all([U.fetchQuery({
queryKey: kF,
queryFn: () => jF(e)
@@ -48133,8 +48141,8 @@ var MF = {
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, kbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), NF = (e, t) => kbe(e, t).filter((t) => e.some((e) => e.location !== t)), Abe = (e, t) => t.filter((t) => e.some((e) => NF(e.files, [t]).length));
-function jbe(e, t) {
+}, Abe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), NF = (e, t) => Abe(e, t).filter((t) => e.some((e) => e.location !== t)), jbe = (e, t) => t.filter((t) => e.some((e) => NF(e.files, [t]).length));
+function Mbe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -48153,7 +48161,7 @@ function jbe(e, t) {
}
return n;
}
-function Mbe(e, t) {
+function Nbe(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
@@ -48173,11 +48181,11 @@ async function RF(e) {
queryFn: () => LF(e)
});
}
-var Nbe = 2e3, Pbe = 1e4, zF = "连接中断,正在重新读取处理进度";
-function Fbe(e, t) {
- return e?.status === "running" ? Nbe : t ? Pbe : !1;
+var Pbe = 2e3, Fbe = 1e4, zF = "连接中断,正在重新读取处理进度";
+function Ibe(e, t) {
+ return e?.status === "running" ? Pbe : t ? Fbe : !1;
}
-var Ibe = {
+var Lbe = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
@@ -48186,15 +48194,15 @@ var Ibe = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Lbe(e) {
+function Rbe(e) {
let t = Object.entries(e).filter(([e, t]) => BF[e] && t > 0).map(([e, t]) => `${BF[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
function VF(e) {
- let t = Ibe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${NA(e.waited_seconds)}` : "";
+ let t = Lbe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${MA(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function Rbe(e) {
+function zbe(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -48208,10 +48216,10 @@ function Rbe(e) {
log: e.issues_log || ""
} : null;
}
-var HF = "peach.library-processing.announced", zbe = 120;
-function Bbe(e, t, n) {
+var HF = "peach.library-processing.announced", Bbe = 120;
+function Vbe(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < zbe;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Bbe;
if (n || r) {
try {
if (e.job_id && localStorage.getItem(HF) === e.job_id) return;
@@ -48222,7 +48230,7 @@ function Bbe(e, t, n) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var UF = "/api/media-repair", WF = ["media-repair"], GF = ["media-repair", "libraries"], Vbe = {
+var UF = "/api/media-repair", WF = ["media-repair"], GF = ["media-repair", "libraries"], Hbe = {
status: "idle",
library: "",
stage: "",
@@ -48235,7 +48243,7 @@ var UF = "/api/media-repair", WF = ["media-repair"], GF = ["media-repair", "libr
skipped: 0,
message: ""
}, KF = (e) => V(UF, e), qF = async (e) => (await V("/api/libraries", e)).libraries || [];
-async function Hbe(e) {
+async function Ube(e) {
await Promise.all([U.fetchQuery({
queryKey: WF,
queryFn: () => KF(e)
@@ -48245,15 +48253,15 @@ async function Hbe(e) {
})]);
}
var JF = (e) => Number(e).toLocaleString();
-function Ube(e) {
+function Wbe(e) {
if (e.status === "running") {
let t = e.total ? `${JF(Math.min(e.checked || 0, e.total))} / ${JF(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${JF(e.repaired)} 部,${JF(e.failed)} 部修不了` : `修好 ${JF(e.repaired)} 部` : "";
}
-var Wbe = (e) => `${JF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Gbe = "/api/quality-goals?limit=200", YF = ["quality-goals"], XF = (e) => V(Gbe, e);
-async function Kbe(e) {
+var Gbe = (e) => `${JF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Kbe = "/api/quality-goals?limit=200", YF = ["quality-goals"], XF = (e) => V(Kbe, e);
+async function qbe(e) {
await U.fetchQuery({
queryKey: YF,
queryFn: () => XF(e)
@@ -48268,7 +48276,7 @@ function QF(e, t, n, r, i, a = i || !e.has(r)) {
}
//#endregion
//#region src/react/review/review.ts
-var qbe = "/api/review", Jbe = "/api/review/decision", Ybe = "/api/review/genre", $F = ["review"], eI = {
+var Jbe = "/api/review", Ybe = "/api/review/decision", Xbe = "/api/review/genre", $F = ["review"], eI = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -48278,11 +48286,11 @@ var qbe = "/api/review", Jbe = "/api/review/decision", Ybe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Xbe = Object.keys(eI), Zbe = "metadata_fields", tI = (e) => typeof e == "string" && Object.hasOwn(eI, e), Qbe = {
+}, Zbe = Object.keys(eI), Qbe = "metadata_fields", tI = (e) => typeof e == "string" && Object.hasOwn(eI, e), $be = {
creator_tags: "creator",
western_identity: "creator"
};
-function $be(e, t) {
+function exe(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
@@ -48303,10 +48311,10 @@ function nI(e, t) {
}
return [...n.values()];
}
-function exe(e, t, n) {
+function txe(e, t, n) {
return n && nI(e, t).find((e) => e.key === n)?.rows || e;
}
-function txe(e, t) {
+function nxe(e, t) {
let n = _n(e.length, 20), r = vn(t, n);
return {
page: r,
@@ -48314,10 +48322,10 @@ function txe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function nxe(e) {
+function rxe(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function rxe(e, t, n, r, i, a) {
+function ixe(e, t, n, r, i, a) {
return QF(e, t, n, r, i, a);
}
function rI(e, t) {
@@ -48327,12 +48335,12 @@ function iI(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
var aI = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function ixe(e, t) {
+function axe(e, t) {
let n = iI(e, t), r = aI(e, t);
return r ? `${n} · ${r}` : n;
}
-var axe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", oxe = (e) => String(e.tags || "").split("|").filter(Boolean), sxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function cxe(e) {
+var oxe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", sxe = (e) => String(e.tags || "").split("|").filter(Boolean), cxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function lxe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
@@ -48355,11 +48363,11 @@ function oI(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var lxe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", sI = (e) => V(qbe, e), cI = (e) => H(Jbe, e), uxe = (e, t) => H(Ybe, {
+var uxe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", sI = (e) => V(Jbe, e), cI = (e) => H(Ybe, e), dxe = (e, t) => H(Xbe, {
genre: e,
tag: t
});
-async function dxe(e) {
+async function fxe(e) {
await U.fetchQuery({
queryKey: $F,
queryFn: () => sI(e)
@@ -48383,16 +48391,16 @@ function lI(e, t) {
};
});
}
-var fxe = () => U.invalidateQueries({
+var pxe = () => U.invalidateQueries({
queryKey: $F,
exact: !0
});
-function pxe(e, t) {
+function mxe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${wn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var mxe = "/api/links", uI = "/api/links/check", dI = "/api/links/prune", fI = ["links"], pI = ["links", "check"], mI = ["links", "prune"], hI = {
+var hxe = "/api/links", uI = "/api/links/check", dI = "/api/links/prune", fI = ["links"], pI = ["links", "check"], mI = ["links", "prune"], hI = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
@@ -48403,22 +48411,22 @@ async function gI(e) {
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var _I = (e) => V(mxe, e), vI = (e) => H(uI, { status_only: !0 }, "POST", e), hxe = ({ retry: e, checkId: t }) => gI(H(uI, e ? {
+var _I = (e) => V(hxe, e), vI = (e) => H(uI, { status_only: !0 }, "POST", e), gxe = ({ retry: e, checkId: t }) => gI(H(uI, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), yI = (e) => V(dI, e), gxe = (e) => gI(H(dI, {
+} : { restart: !0 })), yI = (e) => V(dI, e), _xe = (e) => gI(H(dI, {
confirm: !0,
check_id: e,
background: !0
-})), bI = (e) => Number(e || 0).toLocaleString(), _xe = (e) => `已删除 ${bI(e.removed)} 条;${e.marked ? `已隐退女优的 ${bI(e.marked)} 条留作不可点的记录;` : ""}保留 ${bI(e.recovered)} 条未确认失效的链接。`;
-function vxe(e) {
+})), bI = (e) => Number(e || 0).toLocaleString(), vxe = (e) => `已删除 ${bI(e.removed)} 条;${e.marked ? `已隐退女优的 ${bI(e.marked)} 条留作不可点的记录;` : ""}保留 ${bI(e.recovered)} 条未确认失效的链接。`;
+function yxe(e) {
let t = e.scope === "retry";
return e.total ? `${t ? "已重验" : "已检查"} ${bI(e.checked)} / ${bI(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var xI = "/api/settings", SI = "/api/follow/schedule", CI = "/api/thumbnail-jobs", wI = ["settings"], TI = ["follow-schedule"], EI = ["thumbnail-jobs"], DI = (e) => V(xI, e), yxe = (e) => V(SI, e), bxe = (e) => V(CI, e);
-function xxe(e = U) {
+var xI = "/api/settings", SI = "/api/follow/schedule", CI = "/api/thumbnail-jobs", wI = ["settings"], TI = ["follow-schedule"], EI = ["thumbnail-jobs"], DI = (e) => V(xI, e), bxe = (e) => V(SI, e), xxe = (e) => V(CI, e);
+function Sxe(e = U) {
return e.fetchQuery({
queryKey: wI,
queryFn: ({ signal: e }) => DI(e),
@@ -48431,7 +48439,7 @@ function OI() {
onSuccess: (e) => U.setQueryData(wI, e)
});
}
-function Sxe() {
+function Cxe() {
return ft({
mutationFn: (e) => H(SI, {
enabled: e > 0,
@@ -48440,7 +48448,7 @@ function Sxe() {
onSuccess: (e) => U.setQueryData(TI, e)
});
}
-function Cxe() {
+function wxe() {
return ft({
mutationFn: (e) => H(CI, { mode: e }),
onSuccess: (e) => U.setQueryData(EI, e)
@@ -48448,18 +48456,18 @@ function Cxe() {
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var wxe = "/api/organize", Txe = "/api/organize/preview", Exe = "/api/organize/apply", Dxe = "/api/organize/rollback", kI = ["organize"], AI = (e) => V(wxe, e);
-async function Oxe(e) {
+var Txe = "/api/organize", Exe = "/api/organize/preview", Dxe = "/api/organize/apply", Oxe = "/api/organize/rollback", kI = ["organize"], AI = (e) => V(Txe, e);
+async function kxe(e) {
await U.fetchQuery({
queryKey: kI,
queryFn: () => AI(e)
});
}
-var kxe = (e) => H(Txe, e), Axe = (e) => e.kind === "apply" ? H(Exe, {
+var Axe = (e) => H(Exe, e), jxe = (e) => e.kind === "apply" ? H(Dxe, {
...e.request,
confirm: !0
-}) : H(Dxe, { confirm: !0 });
-async function jxe(e) {
+}) : H(Oxe, { confirm: !0 });
+async function Mxe(e) {
U.setQueryData(kI, (t) => t && {
...t,
templates: e
@@ -48468,16 +48476,16 @@ async function jxe(e) {
await H(xI, { organizeTemplates: e });
} catch {}
}
-var Mxe = (e, t) => e && {
+var Nxe = (e, t) => e && {
...e,
...t
-}, Nxe = /目录模板|分隔符|盘符|`\.`/;
+}, Pxe = /目录模板|分隔符|盘符|`\.`/;
function jI(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
var MI = (e) => Number(e || 0).toLocaleString();
-function Pxe(e) {
+function Fxe(e) {
let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${MI(t)}`).join(" · ");
return Number(e.counts?.change || 0) ? `${MI(e.counts.change)} 个文件会改名或移动,${MI(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
@@ -48494,16 +48502,16 @@ function NI(e) {
var PI = "/api/resource-sync/scan", FI = "/api/resource-sync/apply", II = ["resource-sync", "scan"], LI = ["resource-sync", "apply"], RI = (e) => H(PI, {
background: !0,
status_only: !0
-}, "POST", e), Fxe = () => H(PI, {
+}, "POST", e), Ixe = () => H(PI, {
background: !0,
restart: !0
-}), zI = (e) => V(FI, e), Ixe = (e) => H(FI, {
+}), zI = (e) => V(FI, e), Lxe = (e) => H(FI, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), BI = (e) => (e?.sources ?? []).some((e) => Sbe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Lxe(e) {
+}), BI = (e) => (e?.sources ?? []).some((e) => Cbe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Rxe(e) {
BI(U.getQueryData(bn)) && await Promise.all([U.fetchQuery({
queryKey: II,
queryFn: () => RI(e)
@@ -48512,11 +48520,11 @@ async function Lxe(e) {
queryFn: () => zI(e)
})]);
}
-var Rxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), zxe = {
+var zxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Bxe = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, VI = (e) => Number(e || 0).toLocaleString(), Bxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", HI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), UI = (e) => e.vanish ? `${VI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", WI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Vxe = (e) => `将永久删除文件已不在盘上的 ${VI(HI(e))} 条记录和 ${VI(e.empty)} 个空文件夹,并清理 ${VI(e.cache?.files)} 个闲置缓存。${WI(e)}${UI(e)}`, Hxe = (e) => `将永久删除文件已不在盘上的 ${VI(HI(e))} 条记录(含回收站里的)、${VI(e.empty)} 个空文件夹,并清理 ${VI(e.cache?.files)} 个闲置缓存。来源根目录保留。${WI(e)}${UI(e)}`, Uxe = (e) => e.online ? [
+}, VI = (e) => Number(e || 0).toLocaleString(), Vxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", HI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), UI = (e) => e.vanish ? `${VI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", WI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Hxe = (e) => `将永久删除文件已不在盘上的 ${VI(HI(e))} 条记录和 ${VI(e.empty)} 个空文件夹,并清理 ${VI(e.cache?.files)} 个闲置缓存。${WI(e)}${UI(e)}`, Uxe = (e) => `将永久删除文件已不在盘上的 ${VI(HI(e))} 条记录(含回收站里的)、${VI(e.empty)} 个空文件夹,并清理 ${VI(e.cache?.files)} 个闲置缓存。来源根目录保留。${WI(e)}${UI(e)}`, Wxe = (e) => e.online ? [
`找不到文件 · 共 ${VI(e.total)} 项`,
e.vanish ? `${VI(e.vanish)} 项带个人记录` : "",
e.empty ? `空文件夹 ${VI(e.empty)} 个` : "",
@@ -48534,33 +48542,33 @@ function GI(e) {
].filter(Boolean).join(",")
};
}
-var Wxe = (e, t) => {
+var Gxe = (e, t) => {
let { rest: n } = GI(e), r = `已永久删除 ${VI(e.purged)} 条失效记录和 ${VI(e.dirs_removed)} 个空文件夹,清理 ${VI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${VI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${VI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Gxe = "/api/review?counts=1", KI = ["review", "counts"], Kxe = "/api/ads?limit=1", qI = ["junk-summary"], JI = "/api/items?state=trash&limit=1", YI = ["trash-summary"], qxe = [
+}, Kxe = "/api/review?counts=1", KI = ["review", "counts"], qxe = "/api/ads?limit=1", qI = ["junk-summary"], JI = "/api/items?state=trash&limit=1", YI = ["trash-summary"], Jxe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], XI = (e) => V(Gxe, e), ZI = (e) => V(Kxe, e), QI = (e) => {
+], XI = (e) => V(Kxe, e), ZI = (e) => V(qxe, e), QI = (e) => {
let t = sessionStorage.getItem("peach.library");
return V(t ? `${JI}&library=${encodeURIComponent(t)}` : JI, e);
}, $I = (e) => Number(e || 0).toLocaleString();
-function Jxe(e) {
+function Yxe(e) {
let t = eI, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function Yxe(e) {
+function Xxe(e) {
if (!e) return "";
- let t = qxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${$I(e.counts[t])}`);
+ let t = Jxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${$I(e.counts[t])}`);
return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${$I(e.dismissed_total)}`), t.join(" · ");
}
-var Xxe = [
+var Zxe = [
[KI, ({ signal: e }) => XI(e)],
[YF, ({ signal: e }) => XF(e)],
[YI, ({ signal: e }) => QI(e)],
@@ -48568,8 +48576,8 @@ var Xxe = [
[pI, ({ signal: e }) => vI(e)],
[mI, ({ signal: e }) => yI(e)]
];
-async function Zxe(e) {
- let t = location.hash === "#resource-sync", n = Xxe.map(([n, r]) => {
+async function Qxe(e) {
+ let t = location.hash === "#resource-sync", n = Zxe.map(([n, r]) => {
if (t) return U.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -48589,41 +48597,41 @@ async function Zxe(e) {
queryKey: kF,
queryFn: () => jF(e)
}),
- OF(e).then(() => Lxe(e)),
+ OF(e).then(() => Rxe(e)),
RF(e),
- Hbe(e),
- Oxe(e)
+ Ube(e),
+ kxe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var Qxe = [
+var $xe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], $xe = [
+], eSe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
function eL(e = {}) {
- return `${iA({
+ return `${rA({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var tL = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", eSe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+var tL = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", tSe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
function nL({ interactive: e = !1 } = {}) {
- return iA({
+ return rA({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var tSe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+var nSe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
function rL({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -48663,7 +48671,7 @@ function iL({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, x.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Qxe[n % 4]} ${$xe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${$xe[n % 4]} ${eSe[n % 4]}`,
children: /* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -48687,7 +48695,7 @@ function iL({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
//#region src/react/components/menu-dialog.tsx
function aL(e) {
let t = sP("hover");
- return /* @__PURE__ */ (0, x.jsx)(eN, {
+ return /* @__PURE__ */ (0, x.jsx)($M, {
...e,
ref: t
});
@@ -48702,10 +48710,10 @@ var oL = [
"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(" "), nSe = "w-[266px]", rSe = "flex w-full flex-col gap-1 outline-none", sL = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), cL = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", lL = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", uL = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", dL = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", fL = "type=\"button\" disabled data-skeleton-action", pL = "disabled data-skeleton-action", iSe = "aria-disabled=\"true\"", mL = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, hL = (e, t) => `<div data-geist-fieldset-content>
+].join(" "), rSe = "w-[266px]", iSe = "flex w-full flex-col gap-1 outline-none", sL = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), cL = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", lL = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", uL = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", dL = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", fL = "type=\"button\" disabled data-skeleton-action", pL = "disabled data-skeleton-action", aSe = "aria-disabled=\"true\"", mL = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, hL = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function aSe() {
+function oSe() {
return mL(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
${hL("扫描与采集", lL)}
<footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${to("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${io({
@@ -48718,12 +48726,12 @@ function aSe() {
})}</span></footer>
</section>`);
}
-function oSe() {
+function sSe() {
return mL(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
${hL("媒体修复", uL)}
<footer data-geist-fieldset-footer>${oo(dL, {
className: "w-48",
- attrs: iSe
+ attrs: aSe
})}${io({
label: "开始修复",
attrs: pL
@@ -48745,8 +48753,8 @@ function gL() {
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${R(t)}</span>${e}</span>
<strong>${dL}</strong><span class="cleanupmeta">${dL}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${aSe()}</div>
- <div class="cleanupmediarepair">${oSe()}</div>
+ <div class="cleanupscraping">${oSe()}</div>
+ <div class="cleanupmediarepair">${sSe()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
@@ -48781,20 +48789,20 @@ function gL() {
}
//#endregion
//#region src/react/components/fieldset.tsx
-var sSe = iA({
+var cSe = rA({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), cSe = {
+}), lSe = {
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"
-}, lSe = {
+}, uSe = {
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"
-}, uSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", dSe = {
+}, dSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", fSe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, fSe = iA({
+}, pSe = rA({
padding: "none",
radius: "surface",
bordered: "line",
@@ -48802,7 +48810,7 @@ var sSe = iA({
}), _L = "border-t border-border-button-default p-4 first:border-t-0";
function vL({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${uSe} ${dSe[e]}`,
+ className: `${dSe} ${fSe[e]}`,
children: [t ? /* @__PURE__ */ (0, x.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
@@ -48829,12 +48837,12 @@ function xL({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${sSe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${cSe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: cSe[e],
+ className: lSe[e],
children: a
}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {
- className: lSe[e],
+ className: uSe[e],
children: i
}) : null]
});
@@ -48849,7 +48857,7 @@ function SL() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var CL = $k({
+var CL = Qk({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -48874,7 +48882,7 @@ function wL({ icon: e, size: t = "medium", className: n, type: r = "button", ref
return /* @__PURE__ */ (0, x.jsx)("button", {
ref: i,
type: r,
- className: Qk(CL.base, CL.size[t], n),
+ className: Zk(CL.base, CL.size[t], n),
...a,
children: /* @__PURE__ */ (0, x.jsx)(e, {
className: CL.icon[t],
@@ -48884,7 +48892,7 @@ function wL({ icon: e, size: t = "medium", className: n, type: r = "button", ref
}
//#endregion
//#region src/react/components/path-line.tsx
-function pSe({ className: e }) {
+function mSe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -48897,7 +48905,7 @@ function pSe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })
});
}
-var mSe = "打开文件管理器失败,请重试";
+var hSe = "打开文件管理器失败,请重试";
function TL({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(""), c = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
@@ -48909,7 +48917,7 @@ function TL({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof ln ? e.message : mSe);
+ c.current && s(e instanceof ln ? e.message : hSe);
} finally {
c.current && a(!1);
}
@@ -48920,10 +48928,10 @@ function TL({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("p", {
- className: Qk("min-w-0 break-all", n),
+ className: Zk("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, x.jsx)(wL, {
- icon: pSe,
+ icon: mSe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -48941,19 +48949,19 @@ function TL({ path: e, prefix: t, className: n, onRevealed: r }) {
function EL({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : iA({
+ className: r ? "flex flex-col gap-1.5" : rA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(lA, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cA, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, x.jsx)(oA, { label: e })
+ })] }) : /* @__PURE__ */ (0, x.jsx)(aA, { label: e })
});
}
//#endregion
@@ -48962,14 +48970,14 @@ function DL({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = dt({
queryKey: IF,
queryFn: ({ signal: e }) => LF(e),
- refetchInterval: (e) => Fbe(e.state.data, r)
+ refetchInterval: (e) => Ibe(e.state.data, r)
}), [a, o] = (0, b.useState)(null), s = (0, b.useRef)(void 0), c = i.data;
return (0, b.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && Bbe(c, e, r);
+ r && o(c), (r || t === "notice") && Vbe(c, e, r);
}, [
c,
t,
@@ -48982,29 +48990,29 @@ function DL({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var hSe = [
+var gSe = [
{
label: "扫描并补全资料",
- icon: Sk,
+ icon: xk,
command: {}
},
{
label: "只扫描",
- icon: Tk,
+ icon: wk,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Gme,
+ icon: Kme,
command: { stage: "collect" }
}
-], gSe = Qk(sL, cL, "text-body-2-medium"), _Se = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", vSe = (e) => {
+], _Se = Zk(sL, cL, "text-body-2-medium"), vSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", ySe = (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(",")}。`;
-}, ySe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + vSe(e);
-function bSe({ busy: e, onRun: t }) {
+}, bSe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + ySe(e);
+function xSe({ busy: e, onRun: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -49013,14 +49021,14 @@ function bSe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: Sk,
+ leadingIcon: xk,
onClick: () => a({}),
...q(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: _k,
+ leadingIcon: gk,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -49029,7 +49037,7 @@ function bSe({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
@@ -49039,9 +49047,9 @@ function bSe({ busy: e, onRun: t }) {
children: /* @__PURE__ */ (0, x.jsx)(aL, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: hSe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: gSe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: gSe,
+ className: _Se,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
@@ -49051,8 +49059,8 @@ function bSe({ busy: e, onRun: t }) {
})
})] });
}
-function xSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Rbe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Lbe(e.notes || {}), c = SL();
+function SSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = zbe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Rbe(e.notes || {}), c = SL();
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -49060,7 +49068,7 @@ function xSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "处理较慢",
- children: _Se
+ children: vSe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49072,7 +49080,7 @@ function xSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {
summary: a.label,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -49117,7 +49125,7 @@ function xSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "处理完成",
- children: ySe(n)
+ children: bSe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -49154,19 +49162,19 @@ function OL(e) {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(mA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
href: "/sources",
size: "small",
- trailingIcon: vk,
+ trailingIcon: _k,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, x.jsx)(mA, {
+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(pA, {
href: "/review",
size: "small",
- trailingIcon: vk,
+ trailingIcon: _k,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bSe, {
+ /* @__PURE__ */ (0, x.jsx)(xSe, {
busy: l,
onRun: d
})
@@ -49187,7 +49195,7 @@ function OL(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(xSe, {
+ }), /* @__PURE__ */ (0, x.jsx)(SSe, {
state: s,
problem: c,
settled: i,
@@ -49203,7 +49211,7 @@ function OL(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function SSe(e) {
+function CSe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -49217,7 +49225,7 @@ function SSe(e) {
})
});
}
-function CSe(e) {
+function wSe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -49231,7 +49239,7 @@ function CSe(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function wSe(e, t, n) {
+function TSe(e, t, n) {
(0, b.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -49245,7 +49253,7 @@ function wSe(e, t, n) {
n
]);
}
-function TSe(e, t) {
+function ESe(e, t) {
let n = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
if (!e) return;
@@ -49262,29 +49270,29 @@ function TSe(e, t) {
var kL = (0, b.createContext)("md");
function AL({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(null), [d, f] = (0, b.useState)(!1);
- wSe(d, () => f(!1), [l, u]);
- let p = TSe(d, l);
- return /* @__PURE__ */ (0, x.jsx)(sve, {
+ TSe(d, () => f(!1), [l, u]);
+ let p = ESe(d, l);
+ return /* @__PURE__ */ (0, x.jsx)(cve, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: Qk("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(xj, {
+ className: Zk("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(bj, {
ref: l,
- className: Qk("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, x.jsx)(uve, {
- className: Qk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: Zk("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, x.jsx)(dve, {
+ className: Zk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, x.jsx)(SSe, { className: Qk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(CSe, { className: Zk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
ref: u,
isNonModal: !0,
offset: 4,
- className: Qk(nSe, oL, "p-2", n),
- children: /* @__PURE__ */ (0, x.jsx)(O_e, {
+ className: Zk(rSe, oL, "p-2", n),
+ children: /* @__PURE__ */ (0, x.jsx)(k_e, {
items: a,
- className: Qk(rSe, "max-h-[240px] overflow-auto"),
+ className: Zk(iSe, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, x.jsx)(kL.Provider, {
value: r,
children: i
@@ -49295,17 +49303,17 @@ function AL({ className: e, triggerClassName: t, popoverClassName: n, size: r =
}
function jL({ className: e, children: t, ...n }) {
let r = (0, b.useContext)(kL);
- return /* @__PURE__ */ (0, x.jsx)(j_e, {
+ return /* @__PURE__ */ (0, x.jsx)(M_e, {
...n,
- className: (t) => Qk(sL, 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) => Zk(sL, 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 ML = 2e3, ESe = (e) => e, DSe = (e, t) => t;
+var ML = 2e3, DSe = (e) => e, OSe = (e, t) => t;
function NL(e) {
- let { queryKey: t, jobOf: n = ESe, withJob: r = DSe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
+ let { queryKey: t, jobOf: n = DSe, withJob: r = OSe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
(0, b.useEffect)(() => {
l.current = e;
});
@@ -49339,8 +49347,8 @@ function NL(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var OSe = (e) => Ja[e] || e, PL = (e) => U.setQueryData(WF, e);
-function kSe() {
+var kSe = (e) => Ja[e] || e, PL = (e) => U.setQueryData(WF, e);
+function ASe() {
let e = dt({
queryKey: WF,
queryFn: ({ signal: e }) => KF(e),
@@ -49348,7 +49356,7 @@ function kSe() {
}), t = dt({
queryKey: GF,
queryFn: ({ signal: e }) => qF(e)
- }), [n, r] = (0, b.useState)(""), i = uA(), a = e.data ?? Vbe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ }), [n, r] = (0, b.useState)(""), i = lA(), a = e.data ?? Hbe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && Ts({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
@@ -49358,7 +49366,7 @@ function kSe() {
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => H(UF, { stop: !0 }, "POST", e), PL), d = Ube(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => H(UF, { stop: !0 }, "POST", e), PL), d = Wbe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
children: [/* @__PURE__ */ (0, x.jsx)(xL, {
@@ -49375,7 +49383,7 @@ function kSe() {
children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(jL, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: OSe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: kSe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, x.jsx)(G, {
onClick: u,
@@ -49394,7 +49402,7 @@ function kSe() {
className: "text-body-2-regular text-text-secondary",
children: uL
}),
- s && a.total ? /* @__PURE__ */ (0, x.jsx)(lA, {
+ s && a.total ? /* @__PURE__ */ (0, x.jsx)(cA, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -49418,7 +49426,7 @@ function kSe() {
f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "缺少 untrunc",
- children: Wbe(a)
+ children: Gbe(a)
}) : null,
p ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49448,7 +49456,7 @@ function IL({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = FL[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: Qk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Qk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Qk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: Zk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Zk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Zk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -49474,15 +49482,15 @@ function IL({ state: e, size: t = "md" }) {
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
function LL({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = FL[n];
- return /* @__PURE__ */ (0, x.jsx)(g_e, {
+ return /* @__PURE__ */ (0, x.jsx)(__e, {
ref: r,
...i,
- className: (t) => Qk("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => Zk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(IL, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Qk(a.label, "text-text-primary"),
+ className: Zk(a.label, "text-text-primary"),
children: t
})] })
});
@@ -49491,11 +49499,11 @@ function LL({ className: e, children: t, size: n = "md", ref: r, ...i }) {
//#region src/react/boardui/components/base/table/table.tsx
function RL({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: Qk("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, x.jsx)(wve, {
+ className: Zk("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, x.jsx)(Tve, {
ref: r,
...i,
- className: Qk("bui-table", e === "sm" && "bui-table-sm", t)
+ className: Zk("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
@@ -49516,7 +49524,7 @@ function zL({ children: e, follow: t = !1, onRowClick: n }) {
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var ASe = JN("unlink"), BL = JN("rotate-cw"), jSe = "站点返回 404 或 410,确认这个地址不存在。", MSe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", NSe = "删除前会逐条重验一次;此操作不可撤销。", PSe = "暂时无法读取进度,正在重新连接…", VL = (e) => Number(e || 0).toLocaleString();
+var jSe = qN("unlink"), BL = qN("rotate-cw"), MSe = "站点返回 404 或 410,确认这个地址不存在。", NSe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", PSe = "删除前会逐条重验一次;此操作不可撤销。", FSe = "暂时无法读取进度,正在重新连接…", VL = (e) => Number(e || 0).toLocaleString();
function HL({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
@@ -49557,8 +49565,8 @@ function UL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
/* @__PURE__ */ (0, x.jsx)(zL, { children: /* @__PURE__ */ (0, x.jsxs)(RL, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(wN, { children: [
- i ? /* @__PURE__ */ (0, x.jsx)(TN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(CN, { children: [
+ i ? /* @__PURE__ */ (0, x.jsx)(wN, {
id: "pick",
children: /* @__PURE__ */ (0, x.jsx)(LL, {
slot: null,
@@ -49568,53 +49576,53 @@ function UL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(DN, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(AN, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(EN, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(kN, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)(LL, {
+ i ? /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)(LL, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: c.includes(e.id),
onChange: (t) => i(t ? [...c, e.id] : c.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.entity
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: hI[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: hI[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.label || ""
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)("div", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 max-w-80",
- children: /* @__PURE__ */ (0, x.jsx)(WA, {
+ children: /* @__PURE__ */ (0, x.jsx)(UA, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -49624,7 +49632,7 @@ function UL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, x.jsx)(wk, {
+ }), /* @__PURE__ */ (0, x.jsx)(Ck, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -49646,14 +49654,14 @@ function UL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function FSe() {
+function ISe() {
let e = dt({
queryKey: fI,
queryFn: ({ signal: e }) => _I(e)
}), [t, n] = (0, b.useState)([]), r = NL({
queryKey: mI,
queryFn: ({ signal: e }) => yI(e),
- start: gxe,
+ start: _xe,
onFinish: () => {
U.invalidateQueries({
queryKey: fI,
@@ -49666,7 +49674,7 @@ function FSe() {
}), i = NL({
queryKey: pI,
queryFn: ({ signal: e }) => vI(e),
- start: hxe,
+ start: gxe,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -49696,7 +49704,7 @@ function FSe() {
else if (_) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "完成",
- children: _xe(_)
+ children: vxe(_)
});
else if (v) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49706,7 +49714,7 @@ function FSe() {
else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: PSe
+ children: FSe
});
else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49716,7 +49724,7 @@ function FSe() {
else if (a && a.status !== "idle") {
y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(EL, {
embedded: !0,
- label: vxe(a),
+ label: yxe(a),
value: Math.min(a.checked || 0, a.total || 0),
total: a.total
}) : null, c ? /* @__PURE__ */ (0, x.jsx)(EL, {
@@ -49727,17 +49735,17 @@ function FSe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: fSe,
+ className: pSe,
children: [
/* @__PURE__ */ (0, x.jsx)(UL, {
title: "地址已失效",
items: u,
- hint: jSe
+ hint: MSe
}),
/* @__PURE__ */ (0, x.jsx)(UL, {
title: "本次未访问成功",
items: d,
- hint: MSe,
+ hint: NSe,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -49758,7 +49766,7 @@ function FSe() {
}),
l && u.length ? /* @__PURE__ */ (0, x.jsx)(vL, {
tone: "error",
- status: NSe,
+ status: PSe,
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
...q(c),
@@ -49786,7 +49794,7 @@ function FSe() {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: ASe,
+ leadingIcon: jSe,
...q(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
@@ -49838,11 +49846,11 @@ function FSe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var ISe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, LSe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", RSe = 8;
-function zSe({ plan: e }) {
+var LSe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, RSe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", zSe = 8;
+function BSe({ plan: e }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, RSe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: e.rows.slice(0, zSe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -49868,7 +49876,7 @@ function zSe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function BSe({ toast: e, failure: t }) {
+function VSe({ toast: e, failure: t }) {
let n = dt({
queryKey: kI,
queryFn: ({ signal: e }) => AI(e)
@@ -49884,17 +49892,17 @@ function BSe({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = ft({
- mutationFn: kxe,
+ mutationFn: Axe,
onError: (e) => {
- let t = Nxe.test(B(e)) ? "dir" : "file";
+ let t = Pxe.test(B(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
}), y = NL({
queryKey: kI,
queryFn: ({ signal: e }) => AI(e),
- start: Axe,
+ start: jxe,
jobOf: (e) => e,
- withJob: Mxe,
+ withJob: Nxe,
onStarted: () => v.reset(),
onFinish: (n) => {
if (U.invalidateQueries({
@@ -49908,14 +49916,14 @@ function BSe({ toast: e, failure: t }) {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void Ts({
title: "按模板整理文件",
- body: ISe(T),
+ body: LSe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), jxe({
+ }), Mxe({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -49925,7 +49933,7 @@ function BSe({ toast: e, failure: t }) {
}
}), k = () => void Ts({
title: "回滚上一批整理",
- body: LSe,
+ body: RSe,
confirmLabel: "回滚整理",
onConfirm: () => y.start.mutateAsync({ kind: "rollback" })
}), A = null, j = y.job, M = y.outcome;
@@ -49963,8 +49971,8 @@ function BSe({ toast: e, failure: t }) {
}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "预览结果",
- children: Pxe(C)
- }), w ? /* @__PURE__ */ (0, x.jsx)(zSe, { plan: C }) : null] }));
+ children: Fxe(C)
+ }), w ? /* @__PURE__ */ (0, x.jsx)(BSe, { plan: C }) : null] }));
return /* @__PURE__ */ (0, x.jsxs)(xL, {
layout: "stack",
id: "organize",
@@ -50019,10 +50027,10 @@ function BSe({ toast: e, failure: t }) {
children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(jL, {
id: e.location,
textValue: rn[e.location] || e.location,
- children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: Ja[e.location] || "database" }), rn[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: Ja[e.location] || "database" }), rn[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -50033,7 +50041,7 @@ function BSe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -50078,36 +50086,36 @@ function BSe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var VSe = "/api/orphan-records", HSe = "/api/orphan-records/attach", WL = ["orphan-records"], USe = [
+var HSe = "/api/orphan-records", USe = "/api/orphan-records/attach", WL = ["orphan-records"], WSe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], WSe = (e) => V(VSe, e), GSe = (e, t) => H(HSe, {
+], GSe = (e) => V(HSe, e), KSe = (e, t) => H(USe, {
id: e,
target: t
-}), KSe = (e) => H(AF, {
+}), qSe = (e) => H(AF, {
ids: [e],
operation: "delete"
-}), qSe = (e) => [
+}), JSe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], GL = (e) => [...USe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...qSe(e)].filter(Boolean).join(" · "), JSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", KL = (e) => [e.name, JSe(e.duration)].filter(Boolean).join(" · "), YSe = JN("play"), qL = () => U.invalidateQueries({
+], GL = (e) => [...WSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...JSe(e)].filter(Boolean).join(" · "), YSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", KL = (e) => [e.name, YSe(e.duration)].filter(Boolean).join(" · "), XSe = qN("play"), qL = () => U.invalidateQueries({
queryKey: WL,
exact: !0
});
-function XSe({ item: e, toast: t }) {
+function ZSe({ item: e, toast: t }) {
let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = ft({
- mutationFn: () => GSe(e.id, Number(n)),
+ mutationFn: () => KSe(e.id, Number(n)),
onSuccess: (e) => {
t(`记录已接到新文件,批次 ${e.batch}`), qL();
},
onError: (e) => t(B(e))
}), a = ft({
- mutationFn: () => KSe(e.id),
+ mutationFn: () => qSe(e.id),
onSuccess: (n) => {
t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), qL();
}
@@ -50120,14 +50128,14 @@ function XSe({ item: e, toast: t }) {
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, x.jsxs)(AN, {
+ return /* @__PURE__ */ (0, x.jsxs)(kN, {
id: e.id,
children: [
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, x.jsx)(YSe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(XSe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -50149,11 +50157,11 @@ function XSe({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-28",
children: GL(e.records)
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(AL, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
@@ -50169,7 +50177,7 @@ function XSe({ item: e, toast: t }) {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -50189,10 +50197,10 @@ function XSe({ item: e, toast: t }) {
]
});
}
-function ZSe({ toast: e }) {
+function QSe({ toast: e }) {
let t = dt({
queryKey: WL,
- queryFn: ({ signal: e }) => WSe(e)
+ queryFn: ({ signal: e }) => GSe(e)
}), n = t.data?.items ?? [], r = t.data?.total ?? n.length;
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
id: "orphan-records",
@@ -50221,25 +50229,25 @@ function ZSe({ toast: e }) {
}) : /* @__PURE__ */ (0, x.jsx)(zL, { children: /* @__PURE__ */ (0, x.jsxs)(RL, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(wN, { children: [
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(CN, { children: [
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(DN, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(XSe, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(EN, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(ZSe, {
item: t,
toast: e
}, t.id)) })]
@@ -50254,8 +50262,8 @@ function ZSe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var QSe = JN("git-compare"), $Se = JN("rotate-cw"), eCe = "暂时无法读取进度,正在重新连接…", JL = "清理失效条目", YL = "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", XL = (e) => Number(e || 0).toLocaleString();
-function tCe({ scan: e }) {
+var $Se = qN("git-compare"), eCe = qN("rotate-cw"), tCe = "暂时无法读取进度,正在重新连接…", JL = "清理失效条目", YL = "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", XL = (e) => Number(e || 0).toLocaleString();
+function nCe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
@@ -50265,14 +50273,14 @@ function tCe({ scan: e }) {
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {
className: nL(),
children: /* @__PURE__ */ (0, x.jsx)(rL, {
- label: zxe[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, x.jsx)(EA, { mark: Ja[e.location] ?? "database" }),
+ label: Bxe[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, x.jsx)(TA, { mark: Ja[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, x.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
figure: e.online ? `${XL(e.missing)} 项` : "—",
- meta: Uxe(e),
+ meta: Wxe(e),
wrapMeta: !0
})
}, e.location))
@@ -50314,11 +50322,11 @@ function tCe({ scan: e }) {
]
})] });
}
-function nCe({ toast: e }) {
+function rCe({ toast: e }) {
let t = NL({
queryKey: LI,
queryFn: ({ signal: e }) => zI(e),
- start: Ixe,
+ start: Lxe,
onFinish: (t) => {
if (U.invalidateQueries({
queryKey: YI,
@@ -50333,11 +50341,11 @@ function nCe({ toast: e }) {
}), n = NL({
queryKey: II,
queryFn: ({ signal: e }) => RI(e),
- start: Fxe,
+ start: Ixe,
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", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Ts({
title: JL,
- body: Hxe(e),
+ body: Uxe(e),
confirmLabel: JL,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
@@ -50346,7 +50354,7 @@ function nCe({ toast: e }) {
return /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Wxe(e, Zt)
+ children: Gxe(e, Zt)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -50367,10 +50375,10 @@ function nCe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: eCe
+ children: tCe
});
else if (r?.status === "running") {
- let e = Bxe(r);
+ let e = Vxe(r);
d = /* @__PURE__ */ (0, x.jsx)(EL, {
embedded: !0,
label: e,
@@ -50388,13 +50396,13 @@ function nCe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Rxe(r);
+ let e = zxe(r);
f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(tCe, { scan: r }),
+ /* @__PURE__ */ (0, x.jsx)(nCe, { scan: r }),
e ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "清理内容",
- children: Vxe(r)
+ children: Hxe(r)
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -50428,7 +50436,7 @@ function nCe({ toast: e }) {
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? $Se : QSe,
+ leadingIcon: o && !i ? eCe : $Se,
...q(i),
onClick: () => {
i || n.start.mutate();
@@ -50479,17 +50487,17 @@ function QL({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var rCe = JN("square-check-big"), iCe = JN("sparkles"), aCe = JN("file-stack"), oCe = JN("file-archive"), sCe = JN("trash"), cCe = [
+var iCe = qN("square-check-big"), aCe = qN("sparkles"), oCe = qN("file-stack"), sCe = qN("file-archive"), cCe = qN("trash"), lCe = [
KI,
YF,
kF
-], lCe = () => {
- for (let e of cCe) U.invalidateQueries({
+], uCe = () => {
+ for (let e of lCe) U.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function uCe({ toast: e, failure: t, open: n }) {
+function dCe({ toast: e, failure: t, open: n }) {
let r = dt({
queryKey: KI,
queryFn: ({ signal: e }) => XI(e)
@@ -50509,28 +50517,28 @@ function uCe({ toast: e, failure: t, open: n }) {
queryKey: bn,
queryFn: ({ signal: e }) => xn(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: tSe,
+ className: nSe,
children: [
/* @__PURE__ */ (0, x.jsx)(QL, {
section: "review",
label: "人工复核",
- icon: rCe,
+ icon: iCe,
open: n,
- value: ZL(r, Jxe)
+ value: ZL(r, Yxe)
}),
/* @__PURE__ */ (0, x.jsx)(QL, {
section: "quality",
label: "高清版",
- icon: iCe,
+ icon: aCe,
open: n,
value: ZL(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
/* @__PURE__ */ (0, x.jsx)(QL, {
section: "duplicates",
label: "重复文件",
- icon: aCe,
+ icon: oCe,
open: n,
value: ZL(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
@@ -50540,17 +50548,17 @@ function uCe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, x.jsx)(QL, {
section: "ads",
label: "垃圾文件",
- icon: oCe,
+ icon: sCe,
open: n,
value: ZL(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Yxe(e)
+ meta: Xxe(e)
}))
}),
/* @__PURE__ */ (0, x.jsx)(QL, {
section: "trash",
label: "回收站",
- icon: sCe,
+ icon: cCe,
open: n,
value: ZL(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
@@ -50568,28 +50576,28 @@ function uCe({ toast: e, failure: t, open: n }) {
children: /* @__PURE__ */ (0, x.jsx)(OL, {
toast: l,
monitor: !0,
- onComplete: lCe
+ onComplete: uCe
})
}),
/* @__PURE__ */ (0, x.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, x.jsx)(kSe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(ASe, {})
}),
- /* @__PURE__ */ (0, x.jsx)(BSe, {
+ /* @__PURE__ */ (0, x.jsx)(VSe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(FSe, {}),
- /* @__PURE__ */ (0, x.jsx)(ZSe, { toast: l }),
- BI(c.data) ? /* @__PURE__ */ (0, x.jsx)(nCe, { toast: e }) : null
+ /* @__PURE__ */ (0, x.jsx)(ISe, {}),
+ /* @__PURE__ */ (0, x.jsx)(QSe, { toast: l }),
+ BI(c.data) ? /* @__PURE__ */ (0, x.jsx)(rCe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var $L = (e) => ["feed-new", e ?? "home"], dCe = 8, fCe = 1500;
-function pCe(e, t, n) {
+var $L = (e) => ["feed-new", e ?? "home"], fCe = 8, pCe = 1500;
+function mCe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -50600,18 +50608,18 @@ function pCe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function mCe(e, t, n) {
+async function hCe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await Dt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await pCe(s, dCe, fCe), {
+ return n && o.length && await mCe(s, fCe, pCe), {
items: o,
html: s
};
}
var eR = (e, t, n = !1) => ({
queryKey: $L(e),
- queryFn: () => mCe(e, t, n),
+ queryFn: () => hCe(e, t, n),
staleTime: Infinity
}), tR = (e, t) => Dt("/api/feeds/discovery", {
method: "POST",
@@ -50620,7 +50628,7 @@ var eR = (e, t, n = !1) => ({
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function hCe(e) {
+async function gCe(e) {
U.removeQueries({ queryKey: $L(null) }), await U.fetchQuery(eR(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
@@ -50642,7 +50650,7 @@ var nR = [
"entity",
e,
t
-], gCe = (e, t, n, r) => [
+], _Ce = (e, t, n, r) => [
"entity-items",
e,
t,
@@ -50654,7 +50662,7 @@ var nR = [
t,
n,
r
-], oR = (e) => String(e || "").split(",").filter(Boolean), _Ce = (e, t) => oR(e).includes(t);
+], oR = (e) => String(e || "").split(",").filter(Boolean), vCe = (e, t) => oR(e).includes(t);
function sR(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...oR(n.tag)])].join(",")), a.set("tag_match", "all")), 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");
@@ -50670,7 +50678,7 @@ var lR = (e) => {
seed: e.seed
}, n = sR(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: gCe(e.kind, e.name, n, e.revision),
+ queryKey: _Ce(e.kind, e.name, n, e.revision),
queryFn: ({ signal: n }) => cR(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
@@ -50679,7 +50687,7 @@ var lR = (e) => {
queryFn: ({ signal: n }) => Dt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function vCe(e, t, n, r, i, a) {
+function yCe(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)}` : ""}`;
@@ -50691,7 +50699,7 @@ function vCe(e, t, n, r, i, a) {
var dR = (e, t, n, r) => ({
queryKey: aR(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Dt(vCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Dt(yCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -50705,7 +50713,7 @@ var dR = (e, t, n, r) => ({
} : void 0,
staleTime: Infinity
}), fR = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function yCe(e) {
+async function bCe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -50733,7 +50741,7 @@ var pR = [
["blogger", "网黄博主"],
["animation", "动画作者"]
], mR = "mb-4 flex flex-wrap gap-2";
-function bCe(e) {
+function xCe(e) {
let t = pR.some(([t]) => t === e) ? e : "all";
return `<div class="peach-react"><div aria-label="身份分类" class="${mR}">${pR.map(([e, n]) => io({
variant: e === t ? "primary" : "secondary",
@@ -50744,38 +50752,38 @@ function bCe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var xCe = "/api/follow/authors", SCe = "/api/follow/tags", CCe = (e) => [
+var SCe = "/api/follow/authors", CCe = "/api/follow/tags", wCe = (e) => [
"follow",
"authors",
e
-], wCe = (e, t) => [
+], TCe = (e, t) => [
"follow",
"tags",
e,
t
];
-function TCe(e, t, n) {
+function ECe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${xCe}?${r}`;
+ return e && r.set("q", e), `${SCe}?${r}`;
}
-function ECe(e, t, n, r) {
+function DCe(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), `${SCe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${CCe}?${i}`;
}
-var DCe = (e, t, n, r) => V(TCe(e, t, n), r), OCe = (e, t, n, r, i) => V(ECe(e, t, n, r), i), kCe = "/api/index", hR = {
+var OCe = (e, t, n, r) => V(ECe(e, t, n), r), kCe = (e, t, n, r, i) => V(DCe(e, t, n, r), i), ACe = "/api/index", hR = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, ACe = {
+}, jCe = {
performers: "performer",
creators: "creator",
studios: "studio",
@@ -50846,7 +50854,7 @@ function wR(e, t, n, r, i) {
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${kCe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${ACe}?${a}`;
}
function TR(e) {
let t = e.what === "people" || e.what === "online-authors" ? vR.people : vR.tags, n = {
@@ -50866,17 +50874,17 @@ function TR(e) {
};
case "online-authors": return {
...n,
- queryKey: CCe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => DCe(e.q, t, n, r)
+ queryKey: wCe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => OCe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: wCe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => OCe(e.q, e.category, t, n, r)
+ queryKey: TCe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => kCe(e.q, e.category, t, n, r)
};
}
}
-async function jCe(e, t) {
+async function MCe(e, t) {
let n = TR(SR(xR(e)));
U.removeQueries({
queryKey: n.queryKey,
@@ -50891,13 +50899,13 @@ async function jCe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var MCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], NCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, ER = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", PCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, FCe = {
+var NCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], PCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, ER = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", FCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, ICe = {
numeric: !0,
sensitivity: "base"
};
-function ICe(e, t) {
+function LCe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", FCe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", ICe))) {
let e = tn(t(r.k).normalize("NFKC"), "").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]);
}
@@ -50917,18 +50925,18 @@ function DR({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var LCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", RCe = JN("rss");
+var RCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", zCe = qN("rss");
function OR({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: iA({
+ className: rA({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${LCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${RCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -50937,10 +50945,10 @@ function OR({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, x.jsx)(RCe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(zCe, {})
})
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -50964,12 +50972,12 @@ function kR({ kind: e, items: t, layout: n, props: r }) {
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || ACe[e], o = r.personAvatar(t, n, a);
+ let n = t.entity_kind || jCe[e], o = r.personAvatar(t, n, a);
return /* @__PURE__ */ (0, x.jsx)(OR, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${PCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${FCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
@@ -50983,7 +50991,7 @@ function kR({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function zCe({ items: e, layout: t, props: n }) {
+function BCe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
@@ -51014,11 +51022,11 @@ function AR(e) {
e.style.setProperty("--board-range-value", `${i}%`);
}
var jR = /* @__PURE__ */ new WeakSet();
-function BCe() {
+function VCe() {
if (jR.has(document)) return;
jR.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(AR), HCe(e), VCe(e);
+ e.querySelectorAll("input[type=range]").forEach(AR), UCe(e), HCe(e);
};
e(document), new MutationObserver((t) => {
for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && AR(t), e(t));
@@ -51051,7 +51059,7 @@ function BCe() {
n.matches(":focus-visible") && r.bottom > 0 && r.top < innerHeight ? t.matches(":popover-open") && o(n) : s();
}, !0), window.addEventListener("resize", s);
}
-function VCe(e) {
+function HCe(e) {
let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -51076,7 +51084,7 @@ function VCe(e) {
});
}
var MR = /* @__PURE__ */ new Map();
-function HCe(e) {
+function UCe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
@@ -51109,7 +51117,7 @@ function HCe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var NR = "/vendor/swiper/14.3.0/", PR = null, UCe = () => PR ??= Promise.all([new Promise((e, t) => {
+var NR = "/vendor/swiper/14.3.0/", PR = null, WCe = () => PR ??= Promise.all([new Promise((e, t) => {
let n = `${NR}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
@@ -51128,7 +51136,7 @@ var NR = "/vendor/swiper/14.3.0/", PR = null, UCe = () => PR ??= Promise.all([ne
})]).then(([, e]) => e).catch((e) => {
throw PR = null, e;
});
-function WCe(e, t, n) {
+function GCe(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);
@@ -51152,8 +51160,8 @@ function WCe(e, t, n) {
var FR = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Zt(t)).replace(" ", "\xA0") : "大小未知";
-}, GCe = (e) => e.asset?.name || e.name || "未命名图片";
-function KCe(e, t) {
+}, KCe = (e) => e.asset?.name || e.name || "未命名图片";
+function qCe(e, t) {
let n = e.asset;
if (n) return [rn[n.location ?? ""] || n.location || "来源未知", FR(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
@@ -51165,31 +51173,31 @@ function KCe(e, t) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var IR = null, LR = null, qCe = 0;
-function JCe() {
+var IR = null, LR = null, JCe = 0;
+function YCe() {
return (!LR || !IR?.isConnected) && (LR?.unmount(), IR = document.createElement("div"), IR.className = "peach-react", IR.dataset.photoLightboxHost = "", document.body.append(IR), LR = (0, ht.createRoot)(IR)), LR;
}
async function RR(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await UCe();
+ r = await WCe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = JCe();
- (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(YCe, {
+ let i = YCe();
+ (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(XCe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++qCe)));
+ }, ++JCe)));
}
function zR() {
LR && (0, mt.flushSync)(() => LR.render(null));
}
-function YCe({ slides: e, index: t, Swiper: n, host: r }) {
+function XCe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), [_, v] = (0, b.useState)(t), [y, S] = (0, b.useState)(100), [C, w] = (0, b.useState)({}), [T, E] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, b.useState)(!1), [j, M] = (0, b.useState)({
at: t,
text: ""
@@ -51232,7 +51240,7 @@ function YCe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = WCe(e, a, S);
+ i(t, 0), h.current = GCe(e, a, S);
let m = bs(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -51433,10 +51441,10 @@ function YCe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: GCe(N)
+ children: KCe(N)
}, _), /* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-detail-meta": "",
- children: KCe(N, C[_])
+ children: qCe(N, C[_])
})]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -51475,17 +51483,17 @@ function YCe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function XCe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(ZCe, {
+function ZCe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(QCe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(QCe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(twe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)($Ce, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(nwe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
var BR = vR.people;
-function ZCe({ roster: e, props: t }) {
+function QCe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, b.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
@@ -51503,7 +51511,7 @@ function ZCe({ roster: e, props: t }) {
enabled: () => !0
}, a) : null] });
}
-function QCe(e) {
+function $Ce(e) {
let t = BP(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-grid": "",
@@ -51527,14 +51535,14 @@ function QCe(e) {
}) : null]
});
}
-var $Ce = (e) => Array.from({ length: e.n }, (t, n) => ({
+var ewe = (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 || "官方样张"
-})), VR = (e) => e.sample === !0, HR = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, UR = (e) => VR(e) ? `/sample-thumb?${HR(e)}` : `/photo-thumb?id=${e.id}`, ewe = (e) => VR(e) ? {
+})), VR = (e) => e.sample === !0, HR = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, UR = (e) => VR(e) ? `/sample-thumb?${HR(e)}` : `/photo-thumb?id=${e.id}`, twe = (e) => VR(e) ? {
src: `/sample-image?${HR(e)}`,
thumb: UR(e),
name: e.name,
@@ -51546,14 +51554,14 @@ var $Ce = (e) => Array.from({ length: e.n }, (t, n) => ({
name: e.name || "",
asset: e
};
-function twe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap($Ce), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
+function nwe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(ewe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, b.useCallback)((e) => {
- RR(e, o.map(ewe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(nwe, {
+ RR(e, o.map(twe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(rwe, {
item: e,
index: t,
lost: s.has(t),
@@ -51616,7 +51624,7 @@ function WR({ label: e, title: t, meta: n }) {
]
});
}
-function nwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function rwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -51636,7 +51644,7 @@ function nwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var rwe = (e) => Number(e) > 0;
+var iwe = (e) => Number(e) > 0;
function GR({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
...r,
@@ -51651,7 +51659,7 @@ var KR = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: _P(e) }
});
-function iwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function awe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);
return (0, b.useEffect)(() => {
c(!1);
@@ -51674,8 +51682,8 @@ function iwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function awe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = si(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => dye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? li(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = di({
+function owe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = si(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => fye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? li(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = di({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -51720,7 +51728,7 @@ function awe(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, x.jsx)(iwe, {
+ p ? /* @__PURE__ */ (0, x.jsx)(awe, {
src: p,
fallback: m,
width: _?.width,
@@ -51761,7 +51769,7 @@ function awe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- rwe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ iwe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
children: Yt(u.duration)
}) : null,
@@ -51871,7 +51879,7 @@ function awe(e) {
/* @__PURE__ */ (0, x.jsx)("time", {
dateTime: u.published_at || "",
title: DP(u),
- children: uye(u)
+ children: dye(u)
}),
O.credited ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-credit": "",
@@ -51906,10 +51914,10 @@ function awe(e) {
]
});
}
-var qR = (0, b.memo)(awe);
+var qR = (0, b.memo)(owe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function owe(e, t) {
+function swe(e, t) {
let n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let t = n.current;
@@ -51948,7 +51956,7 @@ function owe(e, t) {
var JR = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), swe = JN("settings"), YR = JN("chevron-down"), cwe = JN("history"), lwe = [[
+}), cwe = qN("settings"), YR = qN("chevron-down"), lwe = qN("history"), uwe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -51957,7 +51965,7 @@ var JR = () => /* @__PURE__ */ (0, x.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function uwe(e, t, n) {
+function dwe(e, t, n) {
return (0, b.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) => {
@@ -52005,7 +52013,7 @@ function uwe(e, t, n) {
n
]);
}
-function dwe(e) {
+function fwe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Yr(t, r), o = pt(a), s = dt({
queryKey: Xr,
queryFn: ({ signal: e }) => Zr(e)
@@ -52013,7 +52021,7 @@ function dwe(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = uwe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
+ }), [c, l]), d = dwe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
tags: Sc(d.visible.flatMap(ti).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -52039,7 +52047,7 @@ function dwe(e) {
m,
i
]);
- let h = pwe(e, !!c);
+ let h = mwe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-feed": "",
children: [/* @__PURE__ */ (0, x.jsx)(XR, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(VP, {
@@ -52087,20 +52095,20 @@ function dwe(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(mwe, {
+ /* @__PURE__ */ (0, x.jsx)(hwe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(hwe, {
+ /* @__PURE__ */ (0, x.jsx)(gwe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(gwe, {
+ /* @__PURE__ */ (0, x.jsx)(_we, {
facets: d,
view: t,
total: v,
@@ -52108,7 +52116,7 @@ function dwe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, x.jsx)(_we, {
+ /* @__PURE__ */ (0, x.jsx)(vwe, {
conditions: _,
onDrop: (e) => i.route(_i(t, e)),
onClear: () => g({
@@ -52120,11 +52128,11 @@ function dwe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(vwe, {
+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(ywe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, x.jsx)(ywe, {
+ /* @__PURE__ */ (0, x.jsx)(bwe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -52143,7 +52151,7 @@ function dwe(e) {
await o.fetchNextPage({ throwOnError: !0 });
},
children: [/* @__PURE__ */ (0, x.jsx)(YR, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(fwe, {
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(pwe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Et(o.error) : "",
load: () => {
@@ -52154,7 +52162,7 @@ function dwe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : cwe,
+ leadingIcon: h.olderBusy ? void 0 : lwe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -52182,7 +52190,7 @@ function XR({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: swe,
+ leadingIcon: cwe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -52190,7 +52198,7 @@ function XR({ onManage: e, children: t }) {
})]
});
}
-function fwe({ busy: e, error: t, load: n }) {
+function pwe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-more": "",
@@ -52203,7 +52211,7 @@ function fwe({ busy: e, error: t, load: n }) {
onRetry: n
}) : null] });
}
-function pwe(e, t) {
+function mwe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useRef)({
helpers: n,
actions: r
@@ -52265,7 +52273,7 @@ function pwe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function mwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function hwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -52302,7 +52310,7 @@ function mwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function hwe({ rows: e, pressed: t, props: n, onPick: r }) {
+function gwe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -52323,13 +52331,13 @@ function hwe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function gwe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = nj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = nj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function _we({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = tj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = tj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, b.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, x.jsx)(ZA, {
+ return /* @__PURE__ */ (0, x.jsx)(XA, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -52417,7 +52425,7 @@ function gwe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: _P(t, n) }
}, t)),
_.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(JR, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(QA, {
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${vi(e.groups, n)}`,
@@ -52448,7 +52456,7 @@ function gwe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PP, {
label: "图片布局",
value: i.photoLayout,
- options: lwe,
+ options: uwe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -52466,7 +52474,7 @@ function gwe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Wr.map(([e, n]) => {
- let r = t.sort === e, i = JN(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = qN(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -52486,7 +52494,7 @@ function gwe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function _we({ conditions: e, onDrop: t, onClear: n }) {
+function vwe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -52511,7 +52519,7 @@ function _we({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function vwe({ count: e, onManage: t }) {
+function ywe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -52520,12 +52528,12 @@ function vwe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function ywe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
+function bwe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
let { view: o, helpers: s } = i, c = o.media === "images", l = BP(e, () => s.listSkeletonHtml(o.media));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": l.fading ? "" : void 0,
- children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(bwe, {
+ children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(xwe, {
facets: t,
data: n,
context: r,
@@ -52535,12 +52543,12 @@ function ywe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function bwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
+function xwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
let { view: o, actions: s } = r, c = QR(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, u = owe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
+ } : {}, u = swe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
return d = 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, x.jsx)(qR, {
@@ -52557,7 +52565,7 @@ function bwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
onStatus: c.status,
onSave: c.save
}, `${u}:${o.media}`);
- }) : /* @__PURE__ */ (0, x.jsx)(xwe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Swe, {
data: t,
filtered: !!(o.status || e.author || e.provider || o.work || o.tags.length)
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -52571,7 +52579,7 @@ function bwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
function ZR(e, t) {
return si(e, t.media).id;
}
-function xwe({ data: e, filtered: t }) {
+function Swe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? xo("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? xo("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : xo("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : xo("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/subscriptions?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -52579,7 +52587,7 @@ function xwe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var Swe = {
+var Cwe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
@@ -52607,7 +52615,7 @@ function QR(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Swe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(Cwe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await H(Nn, {
item: t,
to: i
@@ -52653,7 +52661,7 @@ function QR(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function Cwe(e) {
+function wwe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = BP(a, () => i.listSkeletonHtml(r));
return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(VP, {
message: Et(t.error),
@@ -52666,7 +52674,7 @@ function Cwe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(wwe, {
+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Twe, {
...e,
data: n
}),
@@ -52680,7 +52688,7 @@ function Cwe(e) {
]
});
}
-function wwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+function Twe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
let l = QR({
view: e,
revision: 0,
@@ -52712,7 +52720,7 @@ function wwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: l.status,
onSave: l.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, x.jsx)(Twe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, x.jsx)(Ewe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": d ? "" : void 0,
@@ -52720,7 +52728,7 @@ function wwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function Twe({ searched: e }) {
+function Ewe({ searched: e }) {
let t = e ? xo("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : xo("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -52765,7 +52773,7 @@ function nz(e, t) {
y1: a + r
});
}
-function Ewe(e, t) {
+function Dwe(e, t) {
if (!tz(e) || !(t > 0)) return $R(e);
let n = Math.min(e.width, e.height * t);
return ez({
@@ -52775,7 +52783,7 @@ function Ewe(e, t) {
y1: e.height
});
}
-function Dwe(e, t, n) {
+function Owe(e, t, n) {
if (!tz(t) || !(n > 0)) return $R(t);
let r = rz(e, t), i = nz({
width: r.x1 - r.x0,
@@ -52824,7 +52832,7 @@ function az(e, t, n, r = null) {
y1: a + s / 2
}, n, r);
}
-function Owe(e, t, n, r, i = null) {
+function kwe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
@@ -52833,7 +52841,7 @@ function Owe(e, t, n, r, i = null) {
};
return rz(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function kwe(e, t) {
+function Awe(e, t) {
return tz(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
@@ -52846,7 +52854,7 @@ function kwe(e, t) {
height: 0
};
}
-function Awe(e, t) {
+function jwe(e, t) {
if (!tz(t)) return {
size: "cover",
position: "50% 50%"
@@ -52857,7 +52865,7 @@ function Awe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function jwe(e, t) {
+function Mwe(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}%`,
@@ -52869,12 +52877,12 @@ function jwe(e, t) {
function oz(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function Mwe(e, t) {
+function Nwe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var Nwe = .02, sz = 1.08;
+var Pwe = .02, sz = 1.08;
function cz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, b.useRef)(null), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);
(0, b.useEffect)(() => {
@@ -52912,14 +52920,14 @@ function cz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(iz(n.box, o.dx, o.dy, r)) : i(Owe(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));
+ n.mode === "move" ? i(iz(n.box, o.dx, o.dy, r)) : i(kwe(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 g(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function _(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * Nwe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Pwe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
@@ -52927,7 +52935,7 @@ function cz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
};
o[e.key] ? (e.preventDefault(), i(iz(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(az(n, e.key === "-" ? 1 / sz : sz, r, t)));
}
- let v = n && r ? kwe(rz(n, r, t), r) : null, y = v ? Mwe(v, d) : !1, S = v ? {
+ let v = n && r ? Awe(rz(n, r, t), r) : null, y = v ? Nwe(v, d) : !1, S = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -53008,12 +53016,12 @@ function cz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Pwe = "/api/avatar-choices", lz = "/api/avatar-pick", Fwe = "/api/avatar-code-cover", uz = "/api/avatar-frame", Iwe = "/avatar-choice", dz = (e, t) => [
+var Fwe = "/api/avatar-choices", lz = "/api/avatar-pick", Iwe = "/api/avatar-code-cover", uz = "/api/avatar-frame", Lwe = "/avatar-choice", dz = (e, t) => [
"avatar-choices",
e,
t
-], fz = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, pz = (e, t, n, r = "") => `${Iwe}${fz(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), mz = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Lwe = (e, t, n) => V(Pwe + fz(e, t), n), Rwe = (e) => H(Fwe, { code: e });
-async function zwe(e, t, n) {
+], fz = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, pz = (e, t, n, r = "") => `${Lwe}${fz(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), mz = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Rwe = (e, t, n) => V(Fwe + fz(e, t), n), zwe = (e) => H(Iwe, { code: e });
+async function Bwe(e, t, n) {
let r = await H(uz, {
kind: e,
id: t,
@@ -53027,11 +53035,11 @@ async function zwe(e, t, n) {
bases: r.bases
};
}
-var Bwe = (e, t, n) => H(uz, {
+var Vwe = (e, t, n) => H(uz, {
kind: e,
id: t,
url: n
-}), Vwe = (e, t, n) => hz(`${uz}${fz(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+}), Hwe = (e, t, n) => hz(`${uz}${fz(e, t)}&name=${encodeURIComponent(n.name)}`, n);
async function hz(e, t) {
let n = await fetch(e, {
method: "POST",
@@ -53043,13 +53051,13 @@ async function hz(e, t) {
}
function gz(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Dwe(e.focus, t, n) : nz(t, n);
+ return e.focus && r ? Owe(e.focus, t, n) : nz(t, n);
}
-var Hwe = (e) => e.crop && tz({
+var Uwe = (e) => e.crop && tz({
width: e.width,
height: e.height
});
-async function Uwe(e, t, n) {
+async function Wwe(e, t, n) {
if (!("file" in n)) {
await H(lz, {
kind: e,
@@ -53067,16 +53075,16 @@ async function Uwe(e, t, n) {
await hz(`${lz}${fz(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
var _z = 2;
-function Wwe(e, t) {
+function Gwe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按${`「${n.slice(0, _z).join("」「")}」`}${n.length > _z ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var Gwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Kwe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Gwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Kwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function qwe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Kwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var vz = (e) => e.cast > 1, qwe = (e) => vz(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Jwe = {
+var vz = (e) => e.cast > 1, Jwe = (e) => vz(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Ywe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -53086,7 +53094,7 @@ var vz = (e) => e.cast > 1, qwe = (e) => vz(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function Ywe(e) {
+function Xwe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -53097,19 +53105,19 @@ function Ywe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Xwe = (e) => `${Jwe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (vz(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), Zwe = 8, Qwe = 3 / 4;
-async function $we(e, t, n) {
+var Zwe = (e) => `${Ywe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (vz(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), Qwe = 8, $we = 3 / 4;
+async function eTe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await zwe(e, t, n.choice) };
- case "code": return { choice: await Rwe(n.code) };
- case "url": return { choice: await Bwe(e, t, n.url) };
+ case "choice": return { choice: await Bwe(e, t, n.choice) };
+ case "code": return { choice: await zwe(n.code) };
+ case "url": return { choice: await Vwe(e, t, n.url) };
case "file": return {
- choice: await Vwe(e, t, n.file),
+ choice: await Hwe(e, t, n.file),
file: n.file
};
}
}
-function eTe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function tTe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -53119,17 +53127,17 @@ function eTe({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, x.jsx)(kme, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ame, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, x.jsx)(GN, {
+ }), /* @__PURE__ */ (0, x.jsx)(WN, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, x.jsx)(tTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(nTe, {
kind: e,
entityId: t,
name: n,
@@ -53138,22 +53146,22 @@ function eTe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+function nTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
let a = (0, b.useRef)(null), o = SL(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = dz(e, t), m = (0, b.useRef)(!1), h = dt({
queryKey: p,
- queryFn: ({ signal: n }) => Lwe(e, t, n),
+ queryFn: ({ signal: n }) => Rwe(e, t, n),
retryOnMount: !0
});
(0, b.useEffect)(() => () => {
m.current && U.removeQueries({ queryKey: dz(e, t) });
}, [e, t]);
let g = ft({
- mutationFn: (n) => Uwe(e, t, n),
+ mutationFn: (n) => Wwe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = ft({
- mutationFn: (n) => $we(e, t, n),
+ mutationFn: (n) => eTe(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -53171,28 +53179,28 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Kwe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;
+ let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : qwe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(KN, { children: /* @__PURE__ */ (0, x.jsx)(ahe, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(GN, { children: /* @__PURE__ */ (0, x.jsx)(ohe, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Cj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Sj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(tA, {
+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(eA, {
color: "soft",
children: [w.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? qwe(d.choice) : Wwe(n, C)
+ children: d ? Jwe(d.choice) : Gwe(n, C)
}),
D ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -53214,13 +53222,13 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
]
}),
/* @__PURE__ */ (0, x.jsx)(wL, {
- icon: bk,
+ icon: yk,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, x.jsx)(iTe, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(aTe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -53239,7 +53247,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": h.isPending || void 0,
"data-skeleton": h.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: h.isPending ? Array.from({ length: Zwe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: Qwe }, (e, t) => /* @__PURE__ */ (0, x.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",
@@ -53252,7 +53260,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Xwe(n),
+ title: Zwe(n),
...q(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -53262,7 +53270,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
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, x.jsx)(nTe, {
+ /* @__PURE__ */ (0, x.jsx)(rTe, {
src: pz(e, t, n.ref, mz(n, n.ref)),
choice: n
}),
@@ -53272,7 +53280,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "gray",
children: "在用"
@@ -53280,7 +53288,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null,
vz(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsxs)(tA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(eA, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -53302,7 +53310,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -53337,7 +53345,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -53360,7 +53368,7 @@ function tTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function nTe({ src: e, choice: t }) {
+function rTe({ src: e, choice: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -53368,7 +53376,7 @@ function nTe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = Hwe(t) ? jwe(gz(t, s, Qwe), s) : null, l = r || a ? !0 : void 0;
+ }, c = Uwe(t) ? Mwe(gz(t, s, $we), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -53394,7 +53402,7 @@ function nTe({ src: e, choice: t }) {
})]
});
}
-function rTe(e) {
+function iTe(e) {
let [t, n] = (0, b.useState)("");
return (0, b.useEffect)(() => {
if (!e) return;
@@ -53402,12 +53410,12 @@ function rTe(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function iTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = mz(n, c), h = rTe(r), g = r ? h : pz(e, t, c, m), _ = SL();
+function aTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = mz(n, c), h = iTe(r), g = r ? h : pz(e, t, c, m), _ = SL();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? Awe(f, u) : null;
+ let y = f && u ? jwe(f, u) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
ref: _,
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",
@@ -53432,7 +53440,7 @@ function iTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
"data-crop-base": !0,
onClick: () => v(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: Ywe(e)
+ children: Xwe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -53482,16 +53490,16 @@ function iTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
//#endregion
//#region src/react/providers.tsx
var yz = null;
-function aTe() {
+function oTe() {
return yz?.isConnected || (yz = document.createElement("div"), yz.className = "peach-react", yz.dataset.reactOverlays = "", document.body.append(yz)), yz;
}
-function oTe({ children: e }) {
+function sTe({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)(w, {
client: U,
children: /* @__PURE__ */ (0, x.jsx)(bne, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, x.jsx)(cS, {
- getContainer: aTe,
+ getContainer: oTe,
children: e
})
})
@@ -53499,21 +53507,21 @@ function oTe({ children: e }) {
}
//#endregion
//#region src/react/router/pages/settings.tsx
-function sTe() {
- let e = (0, b.useContext)(wz), { pathname: t } = TO();
+function cTe() {
+ let e = (0, b.useContext)(wz), { pathname: t } = wO();
return (0, b.useEffect)(() => {
- e?.openSettings?.(lme(t));
+ e?.openSettings?.(ume(t));
}, [e, t]), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- NO(dk.navigation.location.pathname) || e?.closeSettings?.();
+ MO(uk.navigation.location.pathname) || e?.closeSettings?.();
});
}, [e]), null;
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var bz = () => Uc, cTe = () => Wc;
-function lTe() {
- let e = (0, b.useContext)(wz), t = (0, b.useSyncExternalStore)(el, cTe), n = (0, b.useSyncExternalStore)(el, bz);
+var bz = () => Uc, lTe = () => Wc;
+function uTe() {
+ let e = (0, b.useContext)(wz), t = (0, b.useSyncExternalStore)(el, lTe), n = (0, b.useSyncExternalStore)(el, bz);
return (0, b.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -53531,8 +53539,8 @@ function lTe() {
function xz(e, t = !1) {
let n = (0, b.useSyncExternalStore)(el, bz), r = (0, b.useRef)(void 0);
if (r.current === void 0) {
- let { claimed: e } = dk.navigation;
- r.current = Uc === 0 || pk() ? "boot" : e && !t ? null : "history";
+ let { claimed: e } = uk.navigation;
+ r.current = Uc === 0 || fk() ? "boot" : e && !t ? null : "history";
}
let i = (0, b.useRef)(e);
(0, b.useEffect)(() => {
@@ -53548,22 +53556,22 @@ function xz(e, t = !1) {
}));
}, [n]);
}
-function uTe() {
+function dTe() {
let e = (0, b.useContext)(wz), t = (0, b.useRef)(e);
return (0, b.useLayoutEffect)(() => {
t.current = e;
}, [e]), xz((t) => {
- let n = dk.navigation.location, { pathname: r, search: i } = NO(n.pathname) && FO(n.state) || n, a = fme(r, i);
- e && a && (HO(), t || pme(dk.navigation.location.state), e.openOverlay(a));
+ let n = uk.navigation.location, { pathname: r, search: i } = MO(n.pathname) && PO(n.state) || n, a = pme(r, i);
+ e && a && (VO(), t || mme(uk.navigation.location.state), e.openOverlay(a));
}, !0), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- LO(dk.navigation.location.pathname) || t.current?.closeStage();
+ IO(uk.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function dTe({ path: e }) {
+function fTe({ path: e }) {
Cz();
- let { location: t, seq: n, action: r } = dk.navigation, i = NO(t.pathname) ? FO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({
+ let { location: t, seq: n, action: r } = uk.navigation, i = MO(t.pathname) ? PO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({
identity: a,
seq: i?.seq ?? n,
navigationSeq: n,
@@ -53574,155 +53582,155 @@ function dTe({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, x.jsx)(uTe, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, x.jsx)(dTe, {}, `${e} ${o.current.seq}`);
}
-function fTe() {
+function pTe() {
let e = (0, b.useContext)(wz);
return xz(() => {
e?.follow?.ground();
}), null;
}
-function pTe() {
- return /* @__PURE__ */ (0, x.jsx)(fTe, {}, Cz());
+function mTe() {
+ return /* @__PURE__ */ (0, x.jsx)(pTe, {}, Cz());
}
//#endregion
//#region src/react/router/router.tsx
var Sz = (0, b.createContext)(0), Cz = () => (0, b.useContext)(Sz), wz = (0, b.createContext)(null);
-function mTe({ children: e }) {
- let [t, n] = (0, b.useState)(() => dk.navigation);
- return (0, b.useLayoutEffect)(() => (n(dk.navigation), dk.listen((e) => {
+function hTe({ children: e }) {
+ let [t, n] = (0, b.useState)(() => uk.navigation);
+ return (0, b.useLayoutEffect)(() => (n(uk.navigation), uk.listen((e) => {
(0, mt.flushSync)(() => n(e));
})), []), /* @__PURE__ */ (0, x.jsx)(Sz.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, x.jsx)(sme, {
+ children: /* @__PURE__ */ (0, x.jsx)(cme, {
location: t.location,
navigationType: t.action,
- navigator: dk,
+ navigator: uk,
children: e
})
});
}
-function hTe({ target: e }) {
- let t = Hpe();
+function gTe({ target: e }) {
+ let t = Upe();
return (0, b.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function gTe(e, t, n) {
+function _Te(e, t, n) {
let r = new URL(e, window.location.href);
g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function _Te() {
- let e = (0, b.useContext)(wz), [t, n] = (0, b.useState)($O), r = (0, b.useRef)(null);
- (0, b.useLayoutEffect)(() => (n($O()), yme((e, t) => {
+function vTe() {
+ let e = (0, b.useContext)(wz), [t, n] = (0, b.useState)(QO), r = (0, b.useRef)(null);
+ (0, b.useLayoutEffect)(() => (n(QO()), bme((e, t) => {
t ? (0, mt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, b.useMemo)(() => (t) => {
- e && r.current && gTe(t, e, r.current);
+ e && r.current && _Te(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hTe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(vTe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(gTe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(yTe, {
entry: t,
- children: /* @__PURE__ */ (0, x.jsx)(yTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(bTe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var vTe = class extends b.Component {
+var yTe = class extends b.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- Sme(this.props.entry.container, this.props.entry.revision);
+ Cme(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, yTe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
- return Vat(e.path) ? (0, mt.createPortal)(Wat(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, bTe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
+ return Hat(e.path) ? (0, mt.createPortal)(Gat(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function bTe({ children: e }) {
- let t = TO();
+function xTe({ children: e }) {
+ let t = wO();
Cz();
- let n = mk(), r = NO(t.pathname) && !pk() ? FO(t.state) : null;
+ let n = pk(), r = MO(t.pathname) && !fk() ? PO(t.state) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsxs)(OO, {
+ /* @__PURE__ */ (0, x.jsxs)(DO, {
location: n ?? t,
children: [
- Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: t.element
}, e)),
- Object.entries(jat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Object.entries(Mat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: t.element
}, e)),
- Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: t.element
}, e)),
- Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: t.element
}, e)),
- Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: t.element
}, e)),
- Bat.map((e) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Vat.map((e) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: S5["/"].element
}, e)),
- Object.entries(Mat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ Object.entries(Nat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: t.element
}, e)),
- IO.map((e) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ FO.map((e) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(pTe, {}) : S5["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(mTe, {}) : S5["/"].element
}, e)),
- MO.map((e) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ jO.map((e) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
element: null
}, e)),
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsx)(EO, {
path: "*",
element: e
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(OO, {
+ /* @__PURE__ */ (0, x.jsxs)(DO, {
location: r ?? t,
- children: [IO.map((e) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ children: [FO.map((e) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(dTe, { path: e })
- }, e)), /* @__PURE__ */ (0, x.jsx)(DO, {
+ element: /* @__PURE__ */ (0, x.jsx)(fTe, { path: e })
+ }, e)), /* @__PURE__ */ (0, x.jsx)(EO, {
path: "*",
element: null
})]
}),
- /* @__PURE__ */ (0, x.jsxs)(OO, { children: [MO.map((e) => /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsxs)(DO, { children: [jO.map((e) => /* @__PURE__ */ (0, x.jsx)(EO, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(sTe, {})
- }, e)), /* @__PURE__ */ (0, x.jsx)(DO, {
+ element: /* @__PURE__ */ (0, x.jsx)(cTe, {})
+ }, e)), /* @__PURE__ */ (0, x.jsx)(EO, {
path: "*",
element: null
})] })
] });
}
-function xTe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, x.jsx)(oTe, { children: /* @__PURE__ */ (0, x.jsx)(wz.Provider, {
+function STe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, x.jsx)(sTe, { children: /* @__PURE__ */ (0, x.jsx)(wz.Provider, {
value: t,
- children: /* @__PURE__ */ (0, x.jsxs)(mTe, { children: [
- /* @__PURE__ */ (0, x.jsx)(_Te, {}),
- /* @__PURE__ */ (0, x.jsx)(lTe, {}),
- /* @__PURE__ */ (0, x.jsx)(bTe, { children: e })
+ children: /* @__PURE__ */ (0, x.jsxs)(hTe, { children: [
+ /* @__PURE__ */ (0, x.jsx)(vTe, {}),
+ /* @__PURE__ */ (0, x.jsx)(uTe, {}),
+ /* @__PURE__ */ (0, x.jsx)(xTe, { children: e })
] })
}) });
}
-var STe = { onCaughtError: (e) => {
+var CTe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
@@ -53804,12 +53812,12 @@ function Ez({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var CTe = {
+var wTe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
function Dz({ name: e }) {
- let t = CTe[e];
+ let t = wTe[e];
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -53900,7 +53908,7 @@ function jz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function wTe({ following: e, busy: t, onToggle: n, tip: r }) {
+function TTe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = (0, b.useRef)(!1), u = () => {
kz(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
@@ -53953,29 +53961,29 @@ function wTe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function TTe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function ETe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, x.jsxs)(V_e, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(H_e, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, x.jsx)(xj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bj, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
children: /* @__PURE__ */ (0, x.jsx)(Dz, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
className: oL,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, x.jsxs)(U_e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(W_e, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(YM, {
+ /* @__PURE__ */ (0, x.jsx)(JM, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -53983,15 +53991,15 @@ function TTe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZM, {
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(XM, {
id: e,
textValue: e,
"data-namepick-name": e,
children: [/* @__PURE__ */ (0, x.jsx)(Dz, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(C_e, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, x.jsx)(YM, { children: /* @__PURE__ */ (0, x.jsxs)(ZM, {
+ /* @__PURE__ */ (0, x.jsx)(w_e, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, x.jsx)(JM, { children: /* @__PURE__ */ (0, x.jsxs)(XM, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
@@ -54003,8 +54011,8 @@ function TTe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
})]
});
}
-var ETe = (e) => e === "studio" || e === "agency", Mz = (e) => e === "performer" || e === "creator", DTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function OTe(e) {
+var DTe = (e) => e === "studio" || e === "agency", Mz = (e) => e === "performer" || e === "creator", OTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function kTe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
function Nz(e) {
@@ -54024,7 +54032,7 @@ function Pz(e, t) {
return r && [e.label, n].map(Wt).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
var Fz = (e) => ({ site: Bt(e) });
-function kTe(e, t) {
+function ATe(e, t) {
let n = Nz(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
@@ -54066,9 +54074,9 @@ function kTe(e, t) {
mark: Fz(e)
};
});
- return [...r, ...ATe(a)];
+ return [...r, ...jTe(a)];
}
-function ATe(e) {
+function jTe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -54077,7 +54085,7 @@ function ATe(e) {
}];
}
var Iz = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function jTe(e) {
+function MTe(e) {
return [
[
"legal_name",
@@ -54133,7 +54141,7 @@ function jTe(e) {
}]
}] : []);
}
-function MTe(e) {
+function NTe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -54197,7 +54205,7 @@ function Lz(e, t = 4) {
rest: e.length - n
};
}
-function NTe(e) {
+function PTe(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 ? {
@@ -54208,7 +54216,7 @@ function NTe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function PTe(e) {
+function FTe(e) {
return ra({
id: e.id,
hasImage: e.has_image,
@@ -54219,8 +54227,8 @@ function PTe(e) {
standIn: e.avatar_stand_in
});
}
-function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = Mz(e), c = ETe(e), l = s ? MTe(n.profile) : c ? jTe(n.company_profile) : [], u = kTe(n, e), d = Iz(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
+function ITe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = Mz(e), c = DTe(e), l = s ? NTe(n.profile) : c ? MTe(n.company_profile) : [], u = ATe(n, e), d = Iz(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, b.useEffect)(() => {
@@ -54233,7 +54241,7 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, x.jsx)(ITe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(LTe, {
kind: e,
name: t,
helpers: o,
@@ -54241,7 +54249,7 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, x.jsx)(eTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(tTe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -54256,9 +54264,9 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(TTe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(ETe, {
current: n.canonical_name,
- choices: OTe(n),
+ choices: kTe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
@@ -54270,7 +54278,7 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(LTe, {
+ /* @__PURE__ */ (0, x.jsx)(RTe, {
kind: e,
entity: n,
actions: a
@@ -54291,14 +54299,14 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(UTe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(WTe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(WTe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(GTe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(BTe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(VTe, {
follow: n.follow,
entity: n,
actions: a
@@ -54307,11 +54315,11 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, x.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(VTe, {
+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(HTe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(HTe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(UTe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -54330,7 +54338,7 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${z(tn(e.k))}</span>${PTe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z(tn(e.k))}</span>${FTe(e)}` }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -54345,7 +54353,7 @@ function FTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function ITe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function LTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${z(tn(t))}</span>`);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -54354,7 +54362,7 @@ function ITe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function LTe({ kind: e, entity: t, actions: n }) {
+function RTe({ kind: e, entity: t, actions: n }) {
let r = Nz(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {
@@ -54364,7 +54372,7 @@ function LTe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = NTe(t.name_groups);
+ let e = PTe(t.name_groups);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
@@ -54374,7 +54382,7 @@ function LTe({ kind: e, entity: t, actions: n }) {
title: "视频",
children: [/* @__PURE__ */ (0, x.jsx)(Dz, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(zTe, {
+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(BTe, {
follow: t.follow,
actions: n
}) : null,
@@ -54441,11 +54449,11 @@ function LTe({ kind: e, entity: t, actions: n }) {
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, x.jsx)(RTe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, x.jsx)(zTe, { aliases: s }) : null
]
});
}
-function RTe({ aliases: e }) {
+function zTe({ aliases: e }) {
let { shown: t, rest: n } = Lz(e, 3);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
@@ -54468,7 +54476,7 @@ function RTe({ aliases: e }) {
]
});
}
-function zTe({ follow: e, actions: t }) {
+function BTe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
@@ -54483,7 +54491,7 @@ function zTe({ follow: e, actions: t }) {
})]
});
}
-function BTe({ follow: e, entity: t, actions: n }) {
+function VTe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, b.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -54533,14 +54541,14 @@ function zz({ label: e, names: t }) {
}, t))
})] });
}
-function VTe({ glyph: e, label: t, clip: n, children: r }) {
+function HTe({ glyph: e, label: t, clip: n, children: r }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(Dz, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function HTe({ tags: e }) {
+function UTe({ tags: e }) {
let { shown: t, rest: n } = Lz(e);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-fact-tag": "",
@@ -54573,7 +54581,7 @@ function Bz({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function UTe({ link: e }) {
+function WTe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {
"data-link": "icon",
@@ -54612,7 +54620,7 @@ function UTe({ link: e }) {
});
}
}
-function WTe({ entity: e, actions: t, helpers: n }) {
+function GTe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!!e.feed?.following), [a, o] = (0, b.useState)(!1), s = (0, b.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -54644,20 +54652,20 @@ function WTe({ entity: e, actions: t, helpers: n }) {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(wTe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(TTe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: DTe(r)
+ tip: OTe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var GTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function KTe(e, t, n) {
+var KTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function qTe(e, t, n) {
let [r, i] = (0, b.useState)(() => ci(e));
r.author !== e && i(ci(e));
let [a, o] = (0, b.useState)({
@@ -54736,7 +54744,7 @@ function KTe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: Kr,
- seed: GTe()
+ seed: KTe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -54754,7 +54762,7 @@ function KTe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function qTe(e) {
+function JTe(e) {
let { kind: t, name: n } = e, r = dt(uR(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
@@ -54778,7 +54786,7 @@ function qTe(e) {
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(XTe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(ZTe, {
...e,
entity: r.data
});
@@ -54795,17 +54803,17 @@ function Vz(e) {
};
return n(r), r.n;
}
-var JTe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function YTe(e, t) {
+var YTe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function XTe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function XTe(e) {
+function ZTe(e) {
let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(dR(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || fR(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
} : rR, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
w !== C && (T(C), S("videos"));
- let E = l && y === "people" && u.length ? "people" : v.media, D = KTe(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = qTe(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
@@ -55023,7 +55031,7 @@ function XTe(e) {
await U.fetchQuery(a).catch(() => null);
return;
}
- let r = JTe(), a = await U.fetchInfiniteQuery(dR(t, n, re, r)).catch(() => null);
+ let r = YTe(), a = await U.fetchInfiniteQuery(dR(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -55058,7 +55066,7 @@ function XTe(e) {
k: e.k,
label: pc(e.k),
n: e.n,
- selected: _Ce(i.tag, e.k)
+ selected: vCe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -55100,7 +55108,7 @@ function XTe(e) {
Pe = !M.data;
let e = oR(i.tag).length;
Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : YTe(oe, fR(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : XTe(oe, fR(oe).length) : Pe = ae.isPending;
let Fe = (0, b.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -55117,7 +55125,7 @@ function XTe(e) {
u
]);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(FTe, {
+ /* @__PURE__ */ (0, x.jsx)(ITe, {
kind: t,
name: n,
entity: r,
@@ -55127,7 +55135,7 @@ function XTe(e) {
actions: be,
helpers: xe
}, k),
- (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(pye, {
+ (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(mye, {
kind: t,
name: n,
view: E,
@@ -55144,7 +55152,7 @@ function XTe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Cwe, {
+ (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(wwe, {
view: D.view,
media: D.media,
result: D.result,
@@ -55162,10 +55170,10 @@ function XTe(e) {
onRetry: () => {
M.refetch();
}
- }) : je ? /* @__PURE__ */ (0, x.jsx)(ZTe, {
+ }) : je ? /* @__PURE__ */ (0, x.jsx)(QTe, {
filtered: Ae,
onShowAll: Me
- }) : /* @__PURE__ */ (0, x.jsx)(XCe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(ZCe, {
kind: t,
name: n,
view: E,
@@ -55189,9 +55197,9 @@ function XTe(e) {
}), c.body)
] });
}
-function ZTe({ filtered: e, onShowAll: t }) {
- return e ? /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: JN("search"),
+function QTe({ filtered: e, onShowAll: t }) {
+ return e ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: qN("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -55199,8 +55207,8 @@ function ZTe({ filtered: e, onShowAll: t }) {
children: "查看全部视频"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: JN("film"),
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: qN("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
@@ -55234,7 +55242,7 @@ function Hz({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var QTe = JN("play"), $Te = JN("file-stack"), eEe = iA({
+var $Te = qN("play"), eEe = qN("file-stack"), tEe = rA({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
@@ -55247,7 +55255,7 @@ var QTe = JN("play"), $Te = JN("file-stack"), eEe = iA({
exact: !0
});
};
-function tEe(e) {
+function nEe(e) {
return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {
className: `${Wz} text-(--keep)`,
children: "sha1 一致"
@@ -55256,7 +55264,7 @@ function tEe(e) {
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function nEe({ file: e, prefix: t, openItem: n }) {
+function rEe({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = rn[e.location] || e.location || e.drive;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -55266,7 +55274,7 @@ function nEe({ file: e, prefix: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${e.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, x.jsx)(QTe, {
+ children: [/* @__PURE__ */ (0, x.jsx)($Te, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -55286,7 +55294,7 @@ function nEe({ file: e, prefix: t, openItem: n }) {
"data-middle-truncate": !0,
"data-middle-truncate-within": !0,
className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
- children: Dbe(e.name, t)
+ children: Obe(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {
@@ -55300,7 +55308,7 @@ function nEe({ file: e, prefix: t, openItem: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
className: `${Gz} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: Ja[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: Ja[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
title: i,
className: "min-w-0 truncate",
children: i
@@ -55321,7 +55329,7 @@ function nEe({ file: e, prefix: t, openItem: n }) {
]
});
}
-function rEe({ openItem: e, toast: t, failure: n }) {
+function iEe({ openItem: e, toast: t, failure: n }) {
let r = dt({
queryKey: kF,
queryFn: ({ signal: e }) => jF(e)
@@ -55351,12 +55359,12 @@ function rEe({ openItem: e, toast: t, failure: n }) {
children: r.error ? B(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = Cbe(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = wbe(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = jbe(e, t);
+ let r = Mbe(e, t);
r.length && Ts({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${MF[t] ?? MF.largest}。文件共 ${Zt(Mbe(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${MF[t] ?? MF.largest}。文件共 ${Zt(Nbe(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -55369,10 +55377,10 @@ function rEe({ openItem: e, toast: t, failure: n }) {
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Zt(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, x.jsxs)(i_e, {
+ l.length ? /* @__PURE__ */ (0, x.jsxs)(a_e, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, x.jsx)($A, {
+ /* @__PURE__ */ (0, x.jsx)(QA, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -55381,7 +55389,7 @@ function rEe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, x.jsx)($A, {
+ /* @__PURE__ */ (0, x.jsx)(QA, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -55390,14 +55398,14 @@ function rEe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- Abe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)($A, {
+ jbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(QA, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
keep: e,
key: `all:${e}`
}),
- children: /* @__PURE__ */ (0, x.jsx)(zA, {
+ children: /* @__PURE__ */ (0, x.jsx)(RA, {
source: e,
label: `全部优先 ${rn[e] || e}`
})
@@ -55413,10 +55421,10 @@ function rEe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = Ebe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = Dbe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t.code,
- className: eEe,
+ className: tEe,
children: [/* @__PURE__ */ (0, x.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: [
@@ -55428,7 +55436,7 @@ function rEe({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Zt(t.reclaimable)}`
}),
- tEe(t),
+ nEe(t),
t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {
className: `${Wz} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
@@ -55467,7 +55475,7 @@ function rEe({ openItem: e, toast: t, failure: n }) {
keep: e,
key: a(e)
}),
- children: /* @__PURE__ */ (0, x.jsx)(zA, {
+ children: /* @__PURE__ */ (0, x.jsx)(RA, {
source: e,
label: `留 ${rn[e] || e}`
})
@@ -55486,14 +55494,14 @@ function rEe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(nEe, {
+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(rEe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: $Te,
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: eEe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -55507,7 +55515,7 @@ function rEe({ openItem: e, toast: t, failure: n }) {
//#endregion
//#region src/react/diagnostics/diagnostics.ts
var qz = ["diagnostics"], Jz = (e) => V("/api/diagnostics", e);
-async function iEe(e) {
+async function aEe(e) {
await U.fetchQuery({
queryKey: qz,
queryFn: () => Jz(e),
@@ -55522,7 +55530,7 @@ var Yz = {
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, aEe = [
+}, oEe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -55534,7 +55542,7 @@ var Yz = {
]],
["后台任务", ["tasks"]]
], Xz = (e) => new Date(e).toLocaleString();
-function oEe({ name: e, check: t, navigate: n, configure: r }) {
+function sEe({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -55566,14 +55574,14 @@ function oEe({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function sEe({ group: e, openItem: t, receipt: n }) {
- let r = uA(), i = SL(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, x.jsx)(TA, {
+function cEe({ group: e, openItem: t, receipt: n }) {
+ let r = lA(), i = SL(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, x.jsx)(wA, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -55608,20 +55616,20 @@ function sEe({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: Ume,
+ ] }) : /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: Wme,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
})
});
}
-function cEe(e) {
+function lEe(e) {
let t = dt({
queryKey: qz,
queryFn: ({ signal: e }) => Jz(e),
staleTime: 1e4
- }), n = uA(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = lA(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
if (e.error) throw e.error;
return e.data;
@@ -55642,27 +55650,27 @@ function cEe(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(hA, {
+ /* @__PURE__ */ (0, x.jsx)(mA, {
title: "库健康",
- children: /* @__PURE__ */ (0, x.jsxs)(_A, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
+ children: /* @__PURE__ */ (0, x.jsxs)(gA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
children: ["处理记录 · ", Xz(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(sEe, {
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(cEe, {
group: n,
...e
}, t))] })
}),
- aEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(hA, {
+ oEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(mA, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(oEe, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(sEe, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, x.jsx)(hA, {
+ /* @__PURE__ */ (0, x.jsx)(mA, {
title: "来源会话",
- children: /* @__PURE__ */ (0, x.jsxs)(_A, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: /* @__PURE__ */ (0, x.jsxs)(gA, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -55673,20 +55681,20 @@ function cEe(e) {
Yz[e.status] ?? "未取得"
]
}),
- /* @__PURE__ */ (0, x.jsx)(WA, {
+ /* @__PURE__ */ (0, x.jsx)(UA, {
text: e.reason,
className: "text-body-regular text-text-primary"
}),
- /* @__PURE__ */ (0, x.jsxs)(CA, { children: [
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsxs)(SA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "上次解析成功",
children: e.last_success_at ? Xz(e.last_success_at) : "未取得"
}),
- e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(wA, {
+ e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(CA, {
term: "上次检查",
children: [Xz(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "冷却截止",
children: e.cooldown_until ? Xz(e.cooldown_until) : "未在冷却"
})
@@ -55717,7 +55725,7 @@ function cEe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function lEe({ host: e, revision: t, helpers: n, actions: r }) {
+function uEe({ host: e, revision: t, helpers: n, actions: r }) {
let i = dt(eR(null, n.feedRowHtml)), a = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: $L(null) }));
@@ -55762,7 +55770,7 @@ function Qz({ group: e, name: t }) {
}
function $z({ source: e }) {
let t = Xn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(tA, {
+ return /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: t,
children: aee(e)
@@ -55809,11 +55817,11 @@ function tB({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var nB = Qk(sL, cL, "text-body-2-medium"), uEe = "粘贴来源链接,或输入创作者名、id…", dEe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", fEe = "识别中…", pEe = "站内没有查到来源", rB = (e, t) => `${e}:${t.url}`;
-function mEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var nB = Zk(sL, cL, "text-body-2-medium"), dEe = "粘贴来源链接,或输入创作者名、id…", fEe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", pEe = "识别中…", mEe = "站内没有查到来源", rB = (e, t) => `${e}:${t.url}`;
+function hEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, b.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(HM, {
+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(VM, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -55825,17 +55833,17 @@ function mEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: Qk(oL, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: Zk(oL, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? Qk(nB, "bg-background-secondary-default") : nB,
+ className: t === r ? Zk(nB, "bg-background-secondary-default") : nB,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -55855,7 +55863,7 @@ function mEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function hEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function gEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, b.useRef)(null), [a, o] = (0, b.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);
@@ -55863,20 +55871,20 @@ function hEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: Wme,
+ leadingIcon: Gme,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
className: oL,
- children: /* @__PURE__ */ (0, x.jsxs)(eN, {
+ children: /* @__PURE__ */ (0, x.jsxs)($M, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55892,7 +55900,7 @@ function hEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, x.jsx)(yA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(vA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
@@ -55917,7 +55925,7 @@ function hEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function gEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function _Ee({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: e.line,
@@ -55925,7 +55933,7 @@ function gEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -55960,22 +55968,22 @@ function gEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, x.jsx)(yA, { children: pEe }),
+ }) : /* @__PURE__ */ (0, x.jsx)(vA, { children: mEe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, x.jsx)(SA, {
+ }), /* @__PURE__ */ (0, x.jsx)(xA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, x.jsx)(yA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, x.jsx)(vA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function _Ee({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function vEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(-1), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, b.useState)(""), [D, O] = (0, b.useState)(0);
(0, b.useEffect)(() => {
let e = a.trim();
@@ -56057,7 +56065,7 @@ function _Ee({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => E(B(e))
}), se = e.suggestions || [], ce = !s.includes("/");
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -56077,16 +56085,16 @@ function _Ee({ 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, x.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "来源链接、名字或 id",
- placeholder: uEe,
+ placeholder: dEe,
value: a,
- leadingIcon: kk,
+ leadingIcon: Ok,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
onKeyDown: re
- }), I ? /* @__PURE__ */ (0, x.jsx)(mEe, {
+ }), I ? /* @__PURE__ */ (0, x.jsx)(hEe, {
field: _,
menu: v,
options: A,
@@ -56096,7 +56104,7 @@ function _Ee({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, x.jsx)(hEe, {
+ /* @__PURE__ */ (0, x.jsx)(gEe, {
credentials: t,
hidden: y,
onHidden: S,
@@ -56116,7 +56124,7 @@ function _Ee({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
className: "flex flex-col gap-3 empty:hidden",
children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(EL, {
embedded: !0,
- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? dEe : fEe),
+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? fEe : pEe),
value: j?.checked,
total: j?.total
}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -56128,8 +56136,8 @@ function _Ee({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ie.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "查找结果" }),
- ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(gEe, {
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "查找结果" }),
+ ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(_Ee, {
row: e,
at: t,
hidden: y,
@@ -56184,8 +56192,8 @@ function _Ee({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var vEe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, iB = (e) => e.alias;
-function yEe(e, t, n) {
+var yEe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, iB = (e) => e.alias;
+function bEe(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) : [];
}
@@ -56193,7 +56201,7 @@ function aB({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)(Qz, {
- group: yEe(e, t, n),
+ group: bEe(e, t, n),
name: t
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
@@ -56201,7 +56209,7 @@ function aB({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function xEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = ft({
mutationFn: async (e) => {
let t = 0;
@@ -56243,7 +56251,7 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}, _ = t.filter((e) => a.has(iB(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -56254,10 +56262,10 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(xA, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(bA, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -56265,7 +56273,7 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -56286,13 +56294,13 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, x.jsx)(bA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, x.jsx)(yA, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "待合并" }),
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "待合并" }),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -56317,8 +56325,8 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}), /* @__PURE__ */ (0, x.jsx)(zL, { children: /* @__PURE__ */ (0, x.jsxs)(RL, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(wN, { children: [
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(CN, { children: [
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "select",
children: /* @__PURE__ */ (0, x.jsx)(LL, {
slot: null,
@@ -56328,30 +56336,30 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onChange: (e) => o(e ? new Set(t.map(iB)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(wN, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(DN, { children: t.map((e) => {
+ ] }), /* @__PURE__ */ (0, x.jsx)(EN, { children: t.map((e) => {
let t = iB(e);
- return /* @__PURE__ */ (0, x.jsxs)(AN, {
+ return /* @__PURE__ */ (0, x.jsxs)(kN, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)(LL, {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)(LL, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -56360,16 +56368,16 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)(aB, {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)(aB, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: e.alias }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: e.alias }),
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -56386,27 +56394,27 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(xA, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(bA, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
}), e.length ? /* @__PURE__ */ (0, x.jsx)(zL, { children: /* @__PURE__ */ (0, x.jsxs)(RL, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(wN, { children: [/* @__PURE__ */ (0, x.jsx)(TN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(CN, { children: [/* @__PURE__ */ (0, x.jsx)(wN, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, x.jsx)(TN, {
+ }), /* @__PURE__ */ (0, x.jsx)(wN, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, x.jsx)(DN, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(AN, {
+ })] }), /* @__PURE__ */ (0, x.jsx)(EN, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(kN, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)(aB, {
+ children: [/* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)(aB, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, x.jsx)(MN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -56414,13 +56422,13 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: bk,
+ leadingIcon: yk,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...q(h.isPending),
onClick: () => void Ts({
title: "移除创作者别名",
- body: vEe(e.name),
+ body: yEe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -56428,9 +56436,9 @@ function bEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: ahe,
+ icon: ohe,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -56467,10 +56475,10 @@ function cB(e, t) {
function lB(e) {
return e instanceof Function;
}
-function xEe(e) {
+function SEe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function SEe(e, t) {
+function CEe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -56509,7 +56517,7 @@ function dB(e, t, n, r) {
onChange: r
};
}
-function CEe(e, t, n, r) {
+function wEe(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
@@ -56534,7 +56542,7 @@ function CEe(e, t, n, r) {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function wEe(e, t, n, r) {
+function TEe(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -56589,7 +56597,7 @@ function pB(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var TEe = { createTable: (e) => {
+var EEe = { createTable: (e) => {
e.getHeaderGroups = uB(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
@@ -56687,7 +56695,7 @@ function mB(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var EEe = (e, t, n, r, i, a, o) => {
+var DEe = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -56708,7 +56716,7 @@ var EEe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => SEe(s.subRows, (e) => e.subRows),
+ getLeafRows: () => CEe(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -56719,7 +56727,7 @@ var EEe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: uB(() => [e.getAllLeafColumns()], (t) => t.map((t) => CEe(e, s, t, t.id)), dB(e.options, "debugRows", "getAllCells")),
+ getAllCells: uB(() => [e.getAllLeafColumns()], (t) => t.map((t) => wEe(e, s, t, t.id)), dB(e.options, "debugRows", "getAllCells")),
_getAllCellsByColumnId: uB(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), dB(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
@@ -56727,7 +56735,7 @@ var EEe = (e, t, n, r, i, a, o) => {
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, DEe = { createColumn: (e, t) => {
+}, OEe = { 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();
};
@@ -56786,7 +56794,7 @@ var wB = {
function TB(e) {
return e == null || e === "";
}
-var OEe = {
+var kEe = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
@@ -56870,7 +56878,7 @@ var DB = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!xEe(n)) return;
+ if (!SEe(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];
@@ -56878,7 +56886,7 @@ var DB = {
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
-}, kEe = {
+}, AEe = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -56930,12 +56938,12 @@ var DB = {
};
}
};
-function AEe(e, t, n) {
+function jEe(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 jEe = {
+var MEe = {
getInitialState: (e) => ({
columnOrder: [],
...e
@@ -56965,13 +56973,13 @@ var jEe = {
}
i = [...i, ...n];
}
- return AEe(i, t, n);
+ return jEe(i, t, n);
}, dB(e.options, "debugTable", "_getOrderColumnsFn"));
}
}, OB = () => ({
left: [],
right: []
-}), MEe = {
+}), NEe = {
getInitialState: (e) => ({
columnPinning: OB(),
...e
@@ -57029,7 +57037,7 @@ var jEe = {
}, dB(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function NEe(e) {
+function PEe(e) {
return e || (typeof document < "u" ? document : null);
}
var kB = {
@@ -57043,7 +57051,7 @@ var kB = {
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), PEe = {
+}), FEe = {
getDefaultColumnDef: () => kB,
getInitialState: (e) => ({
columnSizing: {},
@@ -57116,7 +57124,7 @@ var kB = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = NEe(n), m = {
+ }, p = PEe(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -57126,7 +57134,7 @@ var kB = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = FEe() ? { passive: !1 } : !1;
+ }, g = IEe() ? { passive: !1 } : !1;
MB(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,
@@ -57147,7 +57155,7 @@ var kB = {
}, 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;
}
}, jB = null;
-function FEe() {
+function IEe() {
if (typeof jB == "boolean") return jB;
let e = !1;
try {
@@ -57163,7 +57171,7 @@ function FEe() {
function MB(e) {
return e.type === "touchstart";
}
-var IEe = {
+var LEe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
@@ -57210,11 +57218,11 @@ var IEe = {
function NB(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var LEe = { createTable: (e) => {
+var REe = { 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();
};
-} }, REe = {
+} }, zEe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
@@ -57241,7 +57249,7 @@ var LEe = { createTable: (e) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, zEe = {
+}, BEe = {
getInitialState: (e) => ({
expanded: {},
...e
@@ -57318,7 +57326,7 @@ var LEe = { createTable: (e) => {
}, PB = 0, FB = 10, IB = () => ({
pageIndex: PB,
pageSize: FB
-}), BEe = {
+}), VEe = {
getInitialState: (e) => ({
...e,
pagination: {
@@ -57381,7 +57389,7 @@ var LEe = { createTable: (e) => {
}, LB = () => ({
top: [],
bottom: []
-}), VEe = {
+}), HEe = {
getInitialState: (e) => ({
rowPinning: LB(),
...e
@@ -57443,7 +57451,7 @@ var LEe = { createTable: (e) => {
return e.filter((e) => !r.has(e.id));
}, dB(e.options, "debugRows", "getCenterRows"));
}
-}, HEe = {
+}, UEe = {
getInitialState: (e) => ({
rowSelection: {},
...e
@@ -57560,10 +57568,10 @@ function VB(e, t, n) {
}
}), i ? "all" : a ? "some" : !1;
}
-var HB = /([0-9]+)/gm, UEe = (e, t, n) => GB(WB(e.getValue(n)).toLowerCase(), WB(t.getValue(n)).toLowerCase()), WEe = (e, t, n) => GB(WB(e.getValue(n)), WB(t.getValue(n))), GEe = (e, t, n) => UB(WB(e.getValue(n)).toLowerCase(), WB(t.getValue(n)).toLowerCase()), KEe = (e, t, n) => UB(WB(e.getValue(n)), WB(t.getValue(n))), qEe = (e, t, n) => {
+var HB = /([0-9]+)/gm, WEe = (e, t, n) => GB(WB(e.getValue(n)).toLowerCase(), WB(t.getValue(n)).toLowerCase()), GEe = (e, t, n) => GB(WB(e.getValue(n)), WB(t.getValue(n))), KEe = (e, t, n) => UB(WB(e.getValue(n)).toLowerCase(), WB(t.getValue(n)).toLowerCase()), qEe = (e, t, n) => UB(WB(e.getValue(n)), WB(t.getValue(n))), JEe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, JEe = (e, t, n) => UB(e.getValue(n), t.getValue(n));
+}, YEe = (e, t, n) => UB(e.getValue(n), t.getValue(n));
function UB(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
@@ -57586,21 +57594,21 @@ function GB(e, t) {
return n.length - r.length;
}
var KB = {
- alphanumeric: UEe,
- alphanumericCaseSensitive: WEe,
- text: GEe,
- textCaseSensitive: KEe,
- datetime: qEe,
- basic: JEe
-}, YEe = [
- TEe,
- IEe,
- jEe,
+ alphanumeric: WEe,
+ alphanumericCaseSensitive: GEe,
+ text: KEe,
+ textCaseSensitive: qEe,
+ datetime: JEe,
+ basic: YEe
+}, XEe = [
+ EEe,
+ LEe,
MEe,
- DEe,
+ NEe,
OEe,
- LEe,
+ kEe,
REe,
+ zEe,
{
getInitialState: (e) => ({
sorting: [],
@@ -57662,15 +57670,15 @@ var KB = {
}, 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());
}
},
- kEe,
- zEe,
+ AEe,
BEe,
VEe,
HEe,
- PEe
+ UEe,
+ FEe
];
-function XEe(e) {
- let t = [...YEe, ...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 ZEe(e) {
+ let t = [...XEe, ...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 ?? {} };
@@ -57727,7 +57735,7 @@ function XEe(e) {
getAllColumns: uB(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = wEe(n, e, i, r), o = e;
+ let a = TEe(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
@@ -57755,7 +57763,7 @@ function qB() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = EEe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = DEe(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));
@@ -57766,7 +57774,7 @@ function qB() {
return n.rows = r(t), n;
}, dB(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function ZEe(e) {
+function QEe(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -57791,7 +57799,7 @@ function JB(e) {
rows: a,
flatRows: o,
rowsById: s
- } : ZEe({
+ } : QEe({
rows: a,
flatRows: o,
rowsById: s
@@ -57805,18 +57813,18 @@ function JB(e) {
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
function YB(e, t) {
- return e ? QEe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
-}
-function QEe(e) {
- return $Ee(e) || typeof e == "function" || eDe(e);
+ return e ? $Ee(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
}
function $Ee(e) {
+ return eDe(e) || typeof e == "function" || tDe(e);
+}
+function eDe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function eDe(e) {
+function tDe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
function XB(e) {
@@ -57825,7 +57833,7 @@ function XB(e) {
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = b.useState(() => ({ current: XEe(t) })), [r, i] = b.useState(() => n.current.initialState);
+ }, [n] = b.useState(() => ({ current: ZEe(t) })), [r, i] = b.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -57840,7 +57848,7 @@ function XB(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var tDe = $k({
+var nDe = Qk({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -57902,23 +57910,23 @@ var tDe = $k({
}
}
});
-function nDe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = tDe[t];
+function rDe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = nDe[t];
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: Qk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Qk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: Zk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Zk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, x.jsx)("span", {
- className: Qk("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, x.jsx)("span", { className: Qk("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: Zk("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, x.jsx)("span", { className: Zk("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
function ZB({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(fve, {
+ return /* @__PURE__ */ (0, x.jsx)(pve, {
ref: i,
...a,
- className: (t) => Qk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nDe, {
+ className: (t) => Zk("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, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rDe, {
state: e,
size: n,
shape: r
@@ -57930,8 +57938,8 @@ function ZB({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var QB = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", rDe = "输入女优名,到 JavDB 找她的演员页";
-function iDe(e, t) {
+var QB = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", iDe = "输入女优名,到 JavDB 找她的演员页";
+function aDe(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 {
@@ -57950,7 +57958,7 @@ function iDe(e, t) {
blocked: !1
};
}
-function aDe({ card: e, picked: t, onPick: n }) {
+function oDe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)(LL, {
@@ -57963,7 +57971,7 @@ function aDe({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ e.record ? /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "neutral",
children: e.record
@@ -57974,14 +57982,14 @@ function aDe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(SA, {
+ }), /* @__PURE__ */ (0, x.jsx)(xA, {
href: e.url,
children: e.id
})]
});
}
-function oDe({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = uA(), u = () => {
+function sDe({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = lA(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => Or(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -57994,9 +58002,9 @@ function oDe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => kr(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? iDe(a, s) : null;
+ }, m = a ? aDe(a, s) : null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -58009,11 +58017,11 @@ function oDe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "女优名",
- placeholder: rDe,
+ placeholder: iDe,
value: r,
- leadingIcon: kk,
+ leadingIcon: Ok,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -58035,16 +58043,16 @@ function oDe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(aDe, {
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(oDe, {
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, x.jsx)(yA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(yA, {
+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(vA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -58071,8 +58079,8 @@ function oDe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var $B = (e) => (Number(e) || 0).toLocaleString(), sDe = Object.fromEntries(Object.entries(Kn).map(([e, t]) => [t, e])), eV = 740;
-function cDe() {
+var $B = (e) => (Number(e) || 0).toLocaleString(), cDe = Object.fromEntries(Object.entries(Kn).map(([e, t]) => [t, e])), eV = 740;
+function lDe() {
let [e, t] = (0, b.useState)(!1), n = (0, b.useRef)(null), r = (0, b.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
@@ -58083,7 +58091,7 @@ function cDe() {
}, []);
return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var lDe = {
+var uDe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -58129,7 +58137,7 @@ function tV({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function uDe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function dDe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-selected": t || void 0,
"data-follow-source-row": "",
@@ -58176,7 +58184,7 @@ function uDe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ok,
+ leadingIcon: Dk,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...q(r.busy),
@@ -58185,7 +58193,7 @@ function uDe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: Sk,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -58196,11 +58204,11 @@ function uDe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function dDe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function fDe({ 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(Xn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = lr(r, c);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: iA({
+ className: rA({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -58222,7 +58230,7 @@ function dDe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ok,
+ leadingIcon: Dk,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...q(i.busy),
@@ -58244,7 +58252,7 @@ function dDe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ime,
+ leadingIcon: Lme,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -58255,7 +58263,7 @@ function dDe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Mme : _k,
+ leadingIcon: n ? Nme : gk,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -58267,7 +58275,7 @@ function dDe({ 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, x.jsx)(uDe, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(dDe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -58276,8 +58284,8 @@ function dDe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function fDe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = cDe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => or(g, n, r, _), [
+function pDe(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = lDe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => or(g, n, r, _), [
g,
n,
r,
@@ -58374,7 +58382,7 @@ function fDe(e) {
readOnly: c
};
let oe = ae.current, se = (0, b.useMemo)(() => {
- let e = oB(), t = (e) => () => lDe[e] || e;
+ let e = oB(), t = (e) => () => uDe[e] || e;
return [
e.display({
id: "select",
@@ -58442,7 +58450,7 @@ function fDe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ok,
+ leadingIcon: Dk,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || oe.readOnly,
...q(oe.busy),
@@ -58452,7 +58460,7 @@ function fDe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: Sk,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: oe.readOnly,
onClick: () => ae.current.remove(e.row.original.source)
@@ -58462,7 +58470,7 @@ function fDe(e) {
})
];
}, [oe]), ce = (0, b.useMemo)(() => {
- let e = sDe[n];
+ let e = cDe[n];
return e ? [{
id: e,
desc: r === "desc"
@@ -58502,7 +58510,7 @@ function fDe(e) {
getPaginationRowModel: JB()
}), pe = fe.getRowModel().rows, me = ue ? pe.map((e) => e.original.source.id) : D.slice(de.start, de.end).flatMap((e) => e.map((e) => e.id)), he = lr(s, me), ge = [...s], _e = Ir(j), ve = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), ye = Lr(j), be = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -58524,7 +58532,7 @@ function fDe(e) {
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
- leadingIcon: Ok,
+ leadingIcon: Dk,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -58550,14 +58558,14 @@ function fDe(e) {
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Xme,
+ leadingIcon: Zme,
"aria-label": Un[0][1],
"aria-pressed": !ue,
onClick: () => d("default")
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: the,
+ leadingIcon: nhe,
"aria-label": Un[1][1],
"aria-pressed": ue,
onClick: () => d("table")
@@ -58579,14 +58587,14 @@ function fDe(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? jme : Ame,
+ leadingIcon: r === "asc" ? Mme : jme,
"aria-label": iee(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
ue ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: be ? _k : Mme,
+ leadingIcon: be ? gk : Nme,
"aria-label": be ? "全部展开" : "全部收起",
onClick: () => S(be ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: be ? "全部展开" : "全部收起"
@@ -58704,9 +58712,9 @@ function fDe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, x.jsx)(wN, { children: fe.getHeaderGroups()[0].headers.map((e) => {
+ children: [/* @__PURE__ */ (0, x.jsx)(CN, { children: fe.getHeaderGroups()[0].headers.map((e) => {
let t = e.column.id in Kn, n = YB(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(TN, {
+ return /* @__PURE__ */ (0, x.jsx)(wN, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -58715,16 +58723,16 @@ function fDe(e) {
children: [n, /* @__PURE__ */ (0, x.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(CSe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(wSe, {})
})]
}) : /* @__PURE__ */ (0, x.jsx)(Zb, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(DN, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(EN, {
renderEmptyState: () => "这一页没有来源",
- children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(AN, {
+ children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(kN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(MN, { children: YB(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(jN, { children: YB(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
@@ -58738,7 +58746,7 @@ function fDe(e) {
className: "flex flex-col gap-3",
children: D.slice(de.start, de.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, x.jsx)(dDe, {
+ return /* @__PURE__ */ (0, x.jsx)(fDe, {
group: e,
name: nr(e, _),
handlers: oe,
@@ -58821,11 +58829,11 @@ function fDe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: $me,
+ icon: ehe,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, x.jsx)(rA, {
+ actions: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "primary",
size: "small",
href: "/subscriptions?tab=add",
@@ -58836,7 +58844,7 @@ function fDe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var pDe = {
+var mDe = {
select: "选择",
name: "名称",
kind: "类型",
@@ -58846,33 +58854,33 @@ var pDe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, mDe = /* @__PURE__ */ new Set(["select", "actions"]), nV = () => U.invalidateQueries({
+}, hDe = /* @__PURE__ */ new Set(["select", "actions"]), nV = () => U.invalidateQueries({
queryKey: Vn,
exact: !0
}), rV = (e) => e.name || e.url;
-function hDe(e) {
+function gDe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function gDe({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(tA, {
+function _De({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, x.jsx)(tA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function _De({ source: e }) {
+function vDe({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -58885,8 +58893,8 @@ function _De({ source: e }) {
dangerouslySetInnerHTML: { __html: ia(rV(e), t, null, "performer") }
});
}
-var vDe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function yDe(e) {
+var yDe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function bDe(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;
@@ -58901,11 +58909,11 @@ function iV(e, t) {
onConfirm: t
});
}
-function bDe({ readOnly: e, toast: t }) {
+function xDe({ readOnly: e, toast: t }) {
let n = dt({
queryKey: Vn,
queryFn: ({ signal: e }) => wr(e)
- }), r = uA(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = cr(a.length, u, c);
+ }), r = lA(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = cr(a.length, u, c);
(0, b.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, b.useEffect)(() => {
@@ -58932,7 +58940,7 @@ function bDe({ readOnly: e, toast: t }) {
}
},
onError: (e) => r.setError(B(e))
- }), m = (0, b.useMemo)(() => yDe(a), [a]), h = (0, b.useRef)({
+ }), m = (0, b.useMemo)(() => bDe(a), [a]), h = (0, b.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -58951,7 +58959,7 @@ function bDe({ readOnly: e, toast: t }) {
})
};
let g = (0, b.useMemo)(() => {
- let e = oB(), t = (e) => () => pDe[e] || e;
+ let e = oB(), t = (e) => () => mDe[e] || e;
return [
e.display({
id: "select",
@@ -58967,11 +58975,11 @@ function bDe({ readOnly: e, toast: t }) {
id: "name",
header: t("name"),
cell: (e) => {
- let t = vDe(e.row.original, h.current.shared);
+ let t = yDe(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, x.jsx)(_De, { source: e.row.original }),
+ /* @__PURE__ */ (0, x.jsx)(vDe, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -58999,13 +59007,13 @@ function bDe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: hDe(e.getValue())
+ children: gDe(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(gDe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(_De, { source: e.row.original })
}),
e.accessor((e) => oee(e.interval_minutes), {
id: "interval",
@@ -59047,7 +59055,7 @@ function bDe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Ok,
+ leadingIcon: Dk,
"aria-label": `拉取 ${rV(e.row.original)}`,
disabled: h.current.readOnly,
...q(h.current.busy === `check-${e.row.original.id}`),
@@ -59057,7 +59065,7 @@ function bDe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: Sk,
"aria-label": `移除 ${rV(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
@@ -59089,20 +59097,20 @@ function bDe({ readOnly: e, toast: t }) {
tone: "error",
title: "打不开订阅源",
children: B(n.error)
- }) : /* @__PURE__ */ (0, x.jsx)(yA, { children: "正在读订阅源。" });
+ }) : /* @__PURE__ */ (0, x.jsx)(vA, { children: "正在读订阅源。" });
let y = () => void r.run("check", (e) => Dr(e), () => void nV()), S = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = a.filter((e) => o.has(e.id)), w = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(oDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(sDe, {
readOnly: e,
toast: t,
onAdded: () => void nV()
}), /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -59140,7 +59148,7 @@ function bDe({ readOnly: e, toast: t }) {
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: r.error }) : null]
+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: r.error }) : null]
}) : null,
/* @__PURE__ */ (0, x.jsxs)(hT, {
visible: C.length > 0,
@@ -59193,21 +59201,21 @@ function bDe({ readOnly: e, toast: t }) {
children: /* @__PURE__ */ (0, x.jsxs)(RL, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsx)(wN, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ children: [/* @__PURE__ */ (0, x.jsx)(CN, { children: v.getHeaderGroups()[0].headers.map((e) => {
let t = YB(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(TN, {
+ return /* @__PURE__ */ (0, x.jsx)(wN, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: mDe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Zb, { children: t }) : t
+ children: hDe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Zb, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(DN, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(AN, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(EN, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(kN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(MN, { children: YB(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(jN, { children: YB(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: $me,
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: ehe,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -59260,7 +59268,7 @@ var aV = [
], oV = (e) => aV.some(([t]) => t === e);
function sV({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -59280,7 +59288,7 @@ function sV({ term: e, figure: t, unit: n }) {
})]
});
}
-function xDe(e) {
+function SDe(e) {
let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(oV(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => hn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => hn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(qn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(ree(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({
queryKey: Rn,
queryFn: ({ signal: e }) => dr(e)
@@ -59309,7 +59317,7 @@ function xDe(e) {
dir: r === pn[n] ? "" : r
});
}, M = ar(A), N = A.filter(Xn).length, P = A.filter((e) => e.enabled).length, ee = (k.providers || []).filter((e) => e.requirement === "required" && !Hr(e)).length, F = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
o ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "本机只能浏览",
@@ -59324,7 +59332,7 @@ function xDe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: eSe,
+ className: tSe,
"aria-label": "关注概览",
children: [
/* @__PURE__ */ (0, x.jsx)(sV, {
@@ -59359,7 +59367,7 @@ function xDe(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(IN, {
+ /* @__PURE__ */ (0, x.jsxs)(FN, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
@@ -59367,21 +59375,21 @@ function xDe(e) {
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(LN, {
+ /* @__PURE__ */ (0, x.jsx)(IN, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: aV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(RN, {
+ children: aV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(LN, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(fDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(pDe, {
data: O,
sort: p,
dir: h,
@@ -59411,16 +59419,16 @@ function xDe(e) {
}
})
}),
- /* @__PURE__ */ (0, x.jsxs)(zN, {
+ /* @__PURE__ */ (0, x.jsxs)(RN, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, x.jsx)(_Ee, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vEe, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, x.jsx)(bEe, {
+ }), /* @__PURE__ */ (0, x.jsx)(xEe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -59428,10 +59436,10 @@ function xDe(e) {
sources: O.sources
})]
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(bDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(xDe, {
readOnly: o,
toast: r
})
@@ -59454,7 +59462,7 @@ function cV({ value: e }) {
children: e.toLocaleString()
});
}
-var SDe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+var CDe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
function lV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
@@ -59479,14 +59487,14 @@ function lV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? JN(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? qN(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: SDe,
+ className: CDe,
onClick: () => {
i || r(e.value);
},
@@ -59502,7 +59510,7 @@ var uV = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function CDe({ tag: e, actions: t }) {
+function wDe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -59534,13 +59542,13 @@ function CDe({ tag: e, actions: t }) {
} })]
});
}
-function wDe({ groups: e, actions: t }) {
+function TDe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, x.jsxs)("section", {
"data-alpha-group": r,
- className: iA({
+ className: rA({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
@@ -59550,7 +59558,7 @@ function wDe({ groups: e, actions: t }) {
children: [e, /* @__PURE__ */ (0, x.jsx)(cV, { value: n.length })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(CDe, {
+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(wDe, {
tag: e,
actions: t
}, e.k))
@@ -59558,8 +59566,8 @@ function wDe({ groups: e, actions: t }) {
}, e))
});
}
-var TDe = "\xA0";
-function EDe({ tags: e, actions: t }) {
+var EDe = "\xA0";
+function DDe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -59573,7 +59581,7 @@ function EDe({ tags: e, actions: t }) {
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + TDe, /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [e.label + EDe, /* @__PURE__ */ (0, x.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -59587,7 +59595,7 @@ function EDe({ tags: e, actions: t }) {
}, e.k))
});
}
-var DDe = [[
+var ODe = [[
"cloud",
"标签云",
"tags"
@@ -59596,11 +59604,11 @@ var DDe = [[
"字母表",
"text-aa"
]];
-function ODe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, x.jsx)(ZA, {
+function kDe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, x.jsx)(XA, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(QA, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
"data-tag-pill": "",
"data-tag-cat": e === "all" ? "all" : ER(n, e),
pressed: t === e,
@@ -59624,15 +59632,15 @@ function ODe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(sN, {
+ /* @__PURE__ */ (0, x.jsx)(oN, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
className: `ml-auto ${fP}`,
- children: DDe.map(([e, t, n]) => {
- let r = JN(n);
- return /* @__PURE__ */ (0, x.jsx)(cN, {
+ children: ODe.map(([e, t, n]) => {
+ let r = qN(n);
+ return /* @__PURE__ */ (0, x.jsx)(sN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -59648,7 +59656,7 @@ function ODe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function kDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function ADe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, x.jsxs)(hT, {
visible: e > 0,
label: "所选标签操作",
@@ -59686,7 +59694,7 @@ function kDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var ADe = [{
+var jDe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -59694,7 +59702,7 @@ var ADe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], jDe = [{
+}], MDe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -59702,7 +59710,7 @@ var ADe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], MDe = [
+}], NDe = [
{
value: "performers",
label: "艺人",
@@ -59718,7 +59726,7 @@ var ADe = [{
label: "在线",
symbol: "rss"
}
-], NDe = {
+], PDe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -59738,7 +59746,7 @@ var ADe = [{
"layout-grid"
]]
};
-function PDe({ kind: e, layout: t, onChange: n }) {
+function FDe({ kind: e, layout: t, onChange: n }) {
return /* @__PURE__ */ (0, x.jsx)(lP, {
"aria-label": `${hR[e]}索引版式`,
orientation: "horizontal",
@@ -59746,12 +59754,12 @@ function PDe({ kind: e, layout: t, onChange: n }) {
onChange: (e) => n(e),
"data-index-layout": "",
className: `flex-none max-board-narrow:order-3 ${uP}`,
- children: NDe[bR(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = JN(n);
- return /* @__PURE__ */ (0, x.jsx)(cN, {
+ children: PDe[bR(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = qN(n);
+ return /* @__PURE__ */ (0, x.jsx)(sN, {
value: e,
"aria-label": t,
- className: sye,
+ className: cye,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -59761,8 +59769,8 @@ function PDe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var FDe = JN("search");
-function IDe({ label: e, value: t, onQuery: n }) {
+var IDe = qN("search");
+function LDe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, b.useState)(t), a = (0, b.useRef)(!1), o = (0, b.useRef)(void 0);
(0, b.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -59777,15 +59785,15 @@ function IDe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(VN, {
+ children: /* @__PURE__ */ (0, x.jsx)(BN, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(UN, {
+ children: /* @__PURE__ */ (0, x.jsx)(HN, {
type: "search",
- leadingIcon: FDe,
+ leadingIcon: IDe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -59796,7 +59804,7 @@ function IDe({ label: e, value: t, onQuery: n }) {
})
});
}
-function LDe(e) {
+function RDe(e) {
let [t, n] = (0, b.useState)(() => xR({
kind: e.kind,
q: e.q,
@@ -59830,7 +59838,7 @@ function LDe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: v ? ue : void 0
- }), T = MCe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = NCe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = NCe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = PCe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
A && !w.isPlaceholderData && (k.current = {
key: O,
counts: A
@@ -59842,14 +59850,14 @@ function LDe(e) {
let P = (0, b.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? ICe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? LCe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), F = (t) => {
i(t), e.savePreference({ layout: t });
}, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(lV, {
- tabs: jDe,
+ tabs: MDe,
value: f,
label: "词表",
onChange: (e) => {
@@ -59860,7 +59868,7 @@ function LDe(e) {
});
}
}) : bR(u) ? /* @__PURE__ */ (0, x.jsx)(lV, {
- tabs: ADe,
+ tabs: jDe,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -59889,7 +59897,7 @@ function LDe(e) {
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- yR(u) ? /* @__PURE__ */ (0, x.jsx)(PDe, {
+ yR(u) ? /* @__PURE__ */ (0, x.jsx)(FDe, {
kind: u,
layout: r,
onChange: F
@@ -59899,7 +59907,7 @@ function LDe(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, x.jsx)(IDe, {
+ /* @__PURE__ */ (0, x.jsx)(LDe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -59909,7 +59917,7 @@ function LDe(e) {
]
}),
u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(lV, {
- tabs: MDe,
+ tabs: NDe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -59932,7 +59940,7 @@ function LDe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(ODe, {
+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(kDe, {
categories: ne,
category: m,
online: g,
@@ -59957,8 +59965,8 @@ function LDe(e) {
mode: p
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: JN("alert"),
+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: qN("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -59967,13 +59975,13 @@ function LDe(e) {
}),
children: Et(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(zDe, {
+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(BDe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, x.jsx)(zCe, {
+ if (_) return /* @__PURE__ */ (0, x.jsx)(BCe, {
items: T,
layout: r,
props: e
@@ -59989,10 +59997,10 @@ function LDe(e) {
picked: a,
press: I
};
- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(wDe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(TDe, {
groups: ee,
actions: t
- }) : /* @__PURE__ */ (0, x.jsx)(EDe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(DDe, {
tags: P,
actions: t
});
@@ -60007,13 +60015,13 @@ function LDe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(aA, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(kDe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(ADe, {
count: a.size,
match: s,
onMatch: c,
@@ -60026,31 +60034,31 @@ function LDe(e) {
]
});
}
-var RDe = {
+var zDe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function zDe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: JN("search"),
+function BDe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: qN("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, x.jsx)(rA, {
+ actions: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : RDe[e], a = /* @__PURE__ */ (0, x.jsx)(rA, {
+ let i = n && e === "performers" ? "创作者" : zDe[e], a = /* @__PURE__ */ (0, x.jsx)(nA, {
variant: !r || n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: JN(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: qN(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -60067,8 +60075,8 @@ var dV = {
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, BDe = (e) => dV[e.junk_kind || "other"] || dV.other;
-function VDe(e) {
+}, VDe = (e) => dV[e.junk_kind || "other"] || dV.other;
+function HDe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -60079,21 +60087,21 @@ function VDe(e) {
glyph: "check"
};
}
-var fV = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), HDe = (e, t) => [
+var fV = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), UDe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function UDe({ kind: e, view: t }) {
+function WDe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function WDe(e, t) {
- let n = await V(`/api/ads?${UDe(e)}`, t);
+async function GDe(e, t) {
+ let n = await V(`/api/ads?${WDe(e)}`, t);
return {
...n,
items: n.items || []
@@ -60109,8 +60117,8 @@ function pV({ name: e }) {
});
}
var mV = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function GDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = BDe(e), m = String(e.name || ""), h = VDe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+function KDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = VDe(e), m = String(e.name || ""), h = HDe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
t.target.closest("[data-junk-actions]") || mV(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
t.stopPropagation(), mV(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
@@ -60240,7 +60248,7 @@ function GDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var KDe = (0, b.memo)(GDe), hV = [
+var qDe = (0, b.memo)(KDe), hV = [
[
"",
"全部",
@@ -60276,11 +60284,11 @@ var KDe = (0, b.memo)(GDe), hV = [
"其它",
"hard-drive"
]
-], qDe = (e) => hV.find(([t]) => t === e)?.[0] ?? "";
+], JDe = (e) => hV.find(([t]) => t === e)?.[0] ?? "";
function gV(e) {
let t = new URLSearchParams(e);
return {
- kind: qDe(t.get("type")),
+ kind: JDe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
@@ -60304,7 +60312,7 @@ function vV(e) {
};
}
var yV = (e) => e === "dismissed" ? "已排除" : "待判断", bV = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function JDe({ kind: e, view: t }) {
+function YDe({ kind: e, view: t }) {
let n = hV.map(([n, r, i]) => `<a href="${_V(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${bV(i)}${z(r)}</a>`).join(""), r = vV(t);
return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${po(yV(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${bV(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
@@ -60323,8 +60331,8 @@ function SV({ scope: e, count: t }) {
children: t.toLocaleString()
})] }) : null;
}
-function YDe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = SL(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = nj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? hV.map(([e]) => fV(t, e)).join(",") : ""}`), l = vV(s), u = (e) => {
+function XDe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = SL(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = tj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? hV.map(([e]) => fV(t, e)).join(",") : ""}`), l = vV(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") || _V()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
@@ -60393,33 +60401,33 @@ function YDe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var XDe = JN("check"), ZDe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function QDe(e) {
+var ZDe = qN("check"), QDe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function $De(e) {
let t = {
kind: e.kind,
view: e.view
}, n = dt({
- queryKey: HDe(t, e.revision),
- queryFn: ({ signal: e }) => WDe(t, e),
- placeholderData: (e, n) => n && ZDe(n.queryKey, t) ? e : void 0
+ queryKey: UDe(t, e.revision),
+ queryFn: ({ signal: e }) => GDe(t, e),
+ placeholderData: (e, n) => n && QDe(n.queryKey, t) ? e : void 0
});
(0, b.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = $De(e.countRow), i = n.isPending;
+ let r = eOe(e.countRow), i = n.isPending;
(0, b.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, b.useLayoutEffect)(() => {
r && n.data && ko(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(YDe, {
+ let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(XDe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(eOe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(tOe, {
props: e,
data: n.data,
pending: i,
@@ -60427,7 +60435,7 @@ function QDe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function $De(e) {
+function eOe(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -60437,7 +60445,7 @@ function $De(e) {
};
}, [e]), t;
}
-function eOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+function tOe({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = BP(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
@@ -60452,8 +60460,8 @@ function eOe({ props: e, data: t, pending: n, error: r, retry: i }) {
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: XDe,
+ return /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: ZDe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -60463,7 +60471,7 @@ function eOe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(KDe, {
+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(qDe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -60472,7 +60480,7 @@ function eOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(tOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(nOe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -60482,7 +60490,7 @@ function eOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function tOe({ onMore: e }) {
+function nOe({ onMore: e }) {
let t = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
let n = t.current;
@@ -60500,7 +60508,7 @@ function tOe({ onMore: e }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function nOe({ item: e }) {
+function rOe({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {
let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(Tz, {
code: e.code,
@@ -60528,8 +60536,8 @@ var CV = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], wV = (e) => CV.some(([t]) => t === e) ? e : "library", rOe = (e) => wV(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function iOe(e) {
+], wV = (e) => CV.some(([t]) => t === e) ? e : "library", iOe = (e) => wV(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function aOe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
@@ -60565,7 +60573,7 @@ var TV = [
function EV(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function aOe(e) {
+function oOe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -60591,7 +60599,7 @@ function aOe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var DV = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, oOe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, OV = "w-full min-w-0";
+var DV = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, sOe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, OV = "w-full min-w-0";
function kV() {
return [
"w-20",
@@ -60603,7 +60611,7 @@ function kV() {
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
function AV(e, t = oE()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${DV("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${oOe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${DV("80%")}${DV("60%")}${DV("40%")}</div></div>`).join("")}</div>`;
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${DV("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${sOe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${DV("80%")}${DV("60%")}${DV("40%")}</div></div>`).join("")}</div>`;
let n = mE({
...pE({
active: !0,
@@ -60621,7 +60629,7 @@ function AV(e, t = oE()) {
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function sOe(e) {
+function cOe(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
<div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${io({
@@ -60631,9 +60639,9 @@ function sOe(e) {
})}</div>
<div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${CV.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
<form aria-label="${t}">${ro("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${DV("100%")}</div>${AV(e)}` : `<section class="flex min-w-0 flex-col gap-4">${cOe()}${AV(e)}</section>`}</div></div>`;
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${DV("100%")}</div>${AV(e)}` : `<section class="flex min-w-0 flex-col gap-4">${lOe()}${AV(e)}</section>`}</div></div>`;
}
-function cOe() {
+function lOe() {
let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none 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">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${oE() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${to(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
@@ -60653,18 +60661,18 @@ function cOe() {
var jV = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), MV = (e, t) => !!jV(e) && jV(e) === jV(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function lOe({ className: e }) {
+function uOe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: vo("") }
});
}
-function uOe(e) {
+function dOe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function dOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => uOe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = uA(), S = (0, b.useRef)(null);
+function fOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => dOe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = lA(), S = (0, b.useRef)(null);
(0, b.useEffect)(() => () => S.current?.abort(), []);
let C = () => {
if (!a.trim() || y.busy) return;
@@ -60701,18 +60709,18 @@ function dOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, x.jsxs)(yA, { children: [
+ t ? /* @__PURE__ */ (0, x.jsxs)(vA, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? lOe : kk,
+ leadingIcon: y.busy ? uOe : Ok,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -60722,7 +60730,7 @@ function dOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(xA, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(AL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bA, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(AL, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -60747,32 +60755,32 @@ function dOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UN, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, x.jsx)(WN, {
+ }), /* @__PURE__ */ (0, x.jsx)(UN, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, x.jsx)(yA, {
+ y.busy ? /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, x.jsx)(yA, {
+ y.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(yA, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(yA, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(vA, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
@@ -60782,7 +60790,7 @@ function dOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, x.jsx)(yA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -60807,19 +60815,19 @@ function dOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var fOe = {
+var pOe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
function NV({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, x.jsx)(GN, {
+ return /* @__PURE__ */ (0, x.jsx)(WN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, x.jsx)(pOe, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(mOe, {
prefill: e,
close: t,
receipt: n,
@@ -60827,26 +60835,26 @@ function NV({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function pOe({ prefill: e, close: t, receipt: n, provider: r }) {
+function mOe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = dt({
- queryKey: VA,
- queryFn: ({ signal: e }) => V(`${BA}?limit=50`, e),
- refetchInterval: (e) => HA(e.state.data)
+ queryKey: BA,
+ queryFn: ({ signal: e }) => V(`${zA}?limit=50`, e),
+ refetchInterval: (e) => VA(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, x.jsx)(Cj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Sj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: bk,
+ leadingIcon: yk,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, x.jsx)(mOe, {
+ return a ? /* @__PURE__ */ (0, x.jsx)(hOe, {
header: o,
snapshot: a,
prefill: e,
@@ -60875,8 +60883,8 @@ function pOe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = uA(), E = (0, b.useRef)(null), D = (e) => {
+function hOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = lA(), E = (0, b.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, x.jsxs)("form", {
@@ -60892,14 +60900,14 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- S(""), T.run("submit", (e) => H(BA, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: VA });
- let t = fOe[e.outcome];
+ S(""), T.run("submit", (e) => H(zA, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: BA });
+ let t = pOe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = UA(e.task);
+ let n = HA(e.task);
S(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -60923,7 +60931,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, x.jsx)(yA, { children: [
+ }), _ ? /* @__PURE__ */ (0, x.jsx)(vA, { children: [
_.performers,
_.studio,
_.release_date,
@@ -60931,7 +60939,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(dOe, {
+ /* @__PURE__ */ (0, x.jsx)(fOe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
@@ -60946,7 +60954,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -60958,7 +60966,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "下载到" }),
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "下载到" }),
/* @__PURE__ */ (0, x.jsx)(AL, {
"aria-label": "下载到",
selectedKey: l,
@@ -60969,13 +60977,13 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(jL, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, x.jsx)(zA, {
+ children: /* @__PURE__ */ (0, x.jsx)(RA, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, x.jsx)(yA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(vA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -60989,7 +60997,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -60997,7 +61005,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, x.jsx)(WN, {
+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(UN, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -61007,7 +61015,7 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
m(e), MV(e, _?.code) || v(null);
}
}),
- y || T.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: y || T.error }) : null
+ y || T.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: y || T.error }) : null
]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61028,17 +61036,17 @@ function mOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var PV = "/api/wants", FV = ["wants"], hOe = (e) => [
+var PV = "/api/wants", FV = ["wants"], gOe = (e) => [
"wants",
"follow",
e
-], gOe = [
+], _Oe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
], IV = (e) => V(PV, e);
-function _Oe(e, t) {
+function vOe(e, t) {
U.setQueryData(FV, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
@@ -61047,17 +61055,17 @@ function _Oe(e, t) {
} : n)
} : n);
}
-var vOe = (e, t) => V(`${PV}?follow=${encodeURIComponent(e)}`, t), LV = (e, t) => H(PV, {
+var yOe = (e, t) => V(`${PV}?follow=${encodeURIComponent(e)}`, t), LV = (e, t) => H(PV, {
action: "add",
...e
}, "POST", t), RV = (e, t) => H(PV, {
action: "remove",
ids: e
-}, "POST", t), yOe = (e, t) => H(PV, {
+}, "POST", t), bOe = (e, t) => H(PV, {
action: "reset",
ids: e
}, "POST", t), zV = () => U.invalidateQueries({ queryKey: FV }), BV = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function bOe(e) {
+function xOe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
@@ -61074,12 +61082,12 @@ function UV(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function xOe(e, t = Date.now()) {
+function SOe(e, t = Date.now()) {
let n = UV(e);
return n !== void 0 && HV(t) > n ? Infinity : VV;
}
function WV(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : xOe(t, n) === Infinity ? HV(e) > UV(t) : n - e < VV;
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : SOe(t, n) === Infinity ? HV(e) > UV(t) : n - e < VV;
}
//#endregion
//#region src/react/wants/resource-cache.ts
@@ -61102,11 +61110,11 @@ function JV() {
return [];
}
}
-function SOe(e, t) {
+function COe(e, t) {
let n = JV().find((t) => t.code === e);
return n && WV(n.saved, t) ? n : void 0;
}
-function COe(e) {
+function wOe(e) {
let t = new Map(JV().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
@@ -61115,7 +61123,7 @@ function COe(e) {
}
return n;
}
-function wOe(e, t) {
+function TOe(e, t) {
if (t.state === "ready" && KV(t)) try {
let n = JV().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
localStorage.setItem(GV, JSON.stringify([{
@@ -61127,11 +61135,11 @@ function wOe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function TOe(e) {
+function EOe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Zt(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function EOe(e) {
+function DOe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
@@ -61147,7 +61155,7 @@ function YV({ icon: e, children: t, title: n }) {
});
}
function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = uA(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => SOe(h, e.release_date), [h, e.release_date]);
+ let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = lA(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => COe(h, e.release_date), [h, e.release_date]);
(0, b.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -61167,7 +61175,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", wOe(h, i), i;
+ return m.current = n && i.state === "busy", TOe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
@@ -61182,7 +61190,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
(0, b.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, b.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && _Oe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && vOe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -61190,7 +61198,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await H(BA, {
+ let n = await H(zA, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -61201,7 +61209,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: VA });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: BA });
});
}, S = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -61219,7 +61227,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ok,
+ leadingIcon: Dk,
...q(w),
onClick: () => {
w || (m.current = !0, _.refetch());
@@ -61227,7 +61235,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- w ? /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在查找资源链接…" }) : null,
+ w ? /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在查找资源链接…" }) : null,
T ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "资源链接未取得",
@@ -61235,13 +61243,13 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
- children: EOe(e)
+ children: DOe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(rA, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: wk,
+ trailingIcon: Ck,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -61266,7 +61274,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(tA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -61281,25 +61289,25 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, x.jsx)(YV, {
- icon: Zme,
+ icon: Qme,
children: e.source
}),
/* @__PURE__ */ (0, x.jsx)(YV, {
- icon: Tk,
+ icon: wk,
title: `来源大小:${e.size}`,
- children: TOe(e.size)
+ children: EOe(e.size)
}),
e.files ? /* @__PURE__ */ (0, x.jsx)(YV, {
- icon: Hme,
+ icon: Ume,
children: e.files.replaceAll("個", "个")
}) : null,
/* @__PURE__ */ (0, x.jsx)(YV, {
- icon: Pme,
+ icon: Fme,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(YV, {
- icon: Dk,
+ icon: Ek,
children: e
}, e))
]
@@ -61311,7 +61319,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
size: "small",
- leadingIcon: v ? RA[v.key] : Rme,
+ leadingIcon: v ? LA[v.key] : zme,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...q(f.busy === e.id),
@@ -61321,16 +61329,16 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, x.jsx)(G, {
variant: e.protocol === "magnet" ? "secondary" : "primary",
size: "small",
- leadingIcon: Vme,
+ leadingIcon: Hme,
...q(f.busy === `copy:${e.id}`),
onClick: () => S(e),
children: "复制链接"
}),
- /* @__PURE__ */ (0, x.jsx)(rA, {
+ /* @__PURE__ */ (0, x.jsx)(nA, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Ck,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -61343,7 +61351,7 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(TA, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(wA, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -61356,11 +61364,11 @@ function XV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var DOe = {
+var OOe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, OOe = [
+}, kOe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
@@ -61368,9 +61376,9 @@ var DOe = {
e.release_date,
e.studio,
e.performers,
- DOe[e.origin]
+ OOe[e.origin]
].filter(Boolean).join(" · ");
-function kOe({ want: e }) {
+function AOe({ want: e }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -61386,17 +61394,17 @@ function kOe({ want: e }) {
}) : null]
});
}
-function AOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function jOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
let [l, u] = (0, b.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-want-id": e.id,
- className: iA({
+ className: rA({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(kOe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(AOe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, x.jsxs)("p", {
@@ -61416,7 +61424,7 @@ function AOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: bOe(e)
+ children: xOe(e)
}) : null,
e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(tB, {
text: e.scrape_error,
@@ -61443,17 +61451,17 @@ function AOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ck,
+ leadingIcon: Sk,
disabled: t,
...q(n === `remove:${e.id}`),
onClick: i,
children: "移除"
}),
- d ? /* @__PURE__ */ (0, x.jsx)(rA, {
+ d ? /* @__PURE__ */ (0, x.jsx)(nA, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Ck,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -61473,8 +61481,8 @@ function AOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function jOe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = COe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = cr(d.length, 20, i);
+function MOe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = wOe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = cr(d.length, 20, i);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -61497,7 +61505,7 @@ function jOe({ phase: e, label: t, rows: n, row: r }) {
onChange: (e) => {
s(e), a(1);
},
- children: OOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(cN, {
+ children: kOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(sN, {
value: e,
"aria-label": t,
className: dP,
@@ -61508,9 +61516,9 @@ function jOe({ phase: e, label: t, rows: n, row: r }) {
}, e))
}) : null]
}),
- d.length ? null : /* @__PURE__ */ (0, x.jsx)(aA, {
+ d.length ? null : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: ehe,
+ icon: the,
title: "暂无符合条件的作品",
children: null
}),
@@ -61534,8 +61542,8 @@ function jOe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function MOe({ readOnly: e, toast: t, query: n = "" }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = uA(), c = dt({
+function NOe({ readOnly: e, toast: t, query: n = "" }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = lA(), c = dt({
queryKey: FV,
queryFn: ({ signal: e }) => IV(e),
staleTime: 3e4,
@@ -61552,7 +61560,7 @@ function MOe({ readOnly: e, toast: t, query: n = "" }) {
t(`已移除:${BV(e)}`), zV();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => yOe([e.id], t), () => {
+ s.run(`reset:${e.id}`, (t) => bOe([e.id], t), () => {
t(`${BV(e)} 回到待找`), zV();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
@@ -61560,8 +61568,8 @@ function MOe({ readOnly: e, toast: t, query: n = "" }) {
e.title,
e.performers
].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = dt({
- queryKey: VA,
- queryFn: ({ signal: e }) => V(`${BA}?limit=100`, e),
+ queryKey: BA,
+ queryFn: ({ signal: e }) => V(`${zA}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g[0]?.key || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61569,7 +61577,7 @@ function MOe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -61582,7 +61590,7 @@ function MOe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -61615,7 +61623,7 @@ function MOe({ readOnly: e, toast: t, query: n = "" }) {
"aria-label": "正在读取想要",
dangerouslySetInnerHTML: { __html: AV("wants") }
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, x.jsx)(yA, {
+ p?.scraping ? /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -61635,19 +61643,19 @@ function MOe({ readOnly: e, toast: t, query: n = "" }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, x.jsx)(aA, {
+ p && !m.length ? /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: ehe,
+ icon: the,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- gOe.map(([n, r]) => {
+ _Oe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, x.jsx)(jOe, {
+ return i.length ? /* @__PURE__ */ (0, x.jsx)(MOe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, x.jsx)(AOe, {
+ row: (n) => /* @__PURE__ */ (0, x.jsx)(jOe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -61701,7 +61709,7 @@ function eH(e, t, n) {
}, t, !1, n);
return r.html || !e.cover_url ? r.html : la(e, t).replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${z(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function NOe(e, t) {
+async function POe(e, t) {
e === "wants" ? await U.ensureQueryData({
queryKey: FV,
queryFn: () => IV(t),
@@ -61738,11 +61746,11 @@ function tH({ tab: e, navigate: t, find: n }) {
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(rOe(e))
+ onChange: (e) => t(iOe(e))
})]
});
}
-function POe({ navigate: e, receipt: t }) {
+function FOe({ navigate: e, receipt: t }) {
let [n, r] = (0, b.useState)(null);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(tH, {
tab: "library",
@@ -61756,16 +61764,16 @@ function POe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var FOe = JN("search");
+var IOe = qN("search");
function nH(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
- fk(location.pathname + (t.size ? `?${t}` : ""), {
+ dk(location.pathname + (t.size ? `?${t}` : ""), {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
}
-function IOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+function LOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
s(e), nH({ q: e });
};
@@ -61782,24 +61790,24 @@ function IOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: FOe,
+ leadingIcon: IOe,
value: o,
onChange: c,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(LOe, {
+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(ROe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : /* @__PURE__ */ (0, x.jsx)(MOe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(NOe, {
readOnly: t,
toast: r,
query: o.trim()
@@ -61812,7 +61820,7 @@ function IOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+function ROe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
let o = new URLSearchParams(location.search), [s, c] = (0, b.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, b.useState)(() => o.get("tag") || ""), [d, f] = (0, b.useState)(() => TV.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, b.useState)(() => o.get("dir") === "asc"), h = (e) => {
c(e), nH({ scope: e === "external" ? "" : e });
}, g = (e) => {
@@ -61851,7 +61859,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
(0, b.useEffect)(() => {
A?.job_id && (T.current[s] = A.job_id);
}, [s, A?.job_id]);
- let j = uA(), M = uA(), N = (e) => {
+ let j = lA(), M = lA(), N = (e) => {
M.run(e, async () => (D.current = e === "stop", E.current = e !== "stop", k.refetch({
cancelRefetch: !0,
throwOnError: !0
@@ -61870,7 +61878,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": te,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(ZA, {
+ /* @__PURE__ */ (0, x.jsx)(XA, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -61885,7 +61893,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(QA, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: s === e,
@@ -61900,7 +61908,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-catalog-tags": "",
dangerouslySetInnerHTML: te ? { __html: kV() } : void 0,
- children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(QA, {
+ children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: l === e,
@@ -61922,7 +61930,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : `${F.length} 部`
}),
/* @__PURE__ */ (0, x.jsx)(oP, { currentHref: () => location.pathname + location.search }),
- r || l ? /* @__PURE__ */ (0, x.jsx)($A, {
+ r || l ? /* @__PURE__ */ (0, x.jsx)(QA, {
onPress: () => {
g(""), a();
},
@@ -61998,11 +62006,11 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
tone: "error",
children: M.error
}) : null,
- !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(aA, {
+ !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: xk,
+ icon: bk,
title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",
- actions: /* @__PURE__ */ (0, x.jsx)(rA, {
+ actions: /* @__PURE__ */ (0, x.jsx)(nA, {
href: "/taste",
variant: "secondary",
children: "查看口味"
@@ -62018,7 +62026,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: OV,
style: { "--card-ratio": w },
children: F.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = eH(r, C, S.value.javImage), s = aOe(r.taste_score ?? r.score), c = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = eH(r, C, S.value.javImage), s = oOe(r.taste_score ?? r.score), c = [
s.label,
`口味 ${EV(r.taste_score ?? r.score)}`,
k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${EV(r.ranking_score)}` : "",
@@ -62055,7 +62063,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(nOe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(rOe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -62117,7 +62125,7 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
title: c,
"aria-label": `推荐分 ${s.score},${s.label}`,
className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: /* @__PURE__ */ (0, x.jsx)(eA, {
color: s.color,
children: s.label
})
@@ -62156,10 +62164,10 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
}),
- r.link ? /* @__PURE__ */ (0, x.jsx)(rA, {
+ r.link ? /* @__PURE__ */ (0, x.jsx)(nA, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: wk,
+ trailingIcon: Ck,
href: r.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -62176,12 +62184,12 @@ function LOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var rH = "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", ROe = {
+var rH = "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", zOe = {
gray: `${rH} border-separator-border bg-background-secondary-default text-text-secondary`,
warning: `${rH} border-current/35 bg-status-yellow-background text-status-yellow-text`,
error: `${rH} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function zOe({ value: e, max: t }) {
+function BOe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
@@ -62209,16 +62217,16 @@ function zOe({ value: e, max: t }) {
})]
});
}
-function BOe(e) {
+function VOe(e) {
let { job: t } = DL(e), n = t.data, r = t.isError ? n ? zF : B(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?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : VF(n) + (c ? ` · ${PA(l, c)}` : "")), d = s === "gray" ? Jme : zme;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : VF(n) + (c ? ` · ${NA(l, c)}` : "")), d = s === "gray" ? Yme : Bme;
return /* @__PURE__ */ (0, x.jsxs)("aside", {
role: a ? "alert" : "status",
- className: ROe[s],
+ className: zOe[s],
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(zOe, {
+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(BOe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, x.jsx)(d, {
@@ -62228,18 +62236,18 @@ function BOe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(pA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: vk,
+ trailingIcon: _k,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var VOe = "/api/playlists", iH = "/api/playlist", aH = ["playlists"], oH = (e) => V(VOe, e);
-async function HOe(e) {
+var HOe = "/api/playlists", iH = "/api/playlist", aH = ["playlists"], oH = (e) => V(HOe, e);
+async function UOe(e) {
await U.fetchQuery({
queryKey: aH,
queryFn: () => oH(e),
@@ -62249,7 +62257,7 @@ async function HOe(e) {
var sH = () => U.invalidateQueries({
queryKey: aH,
exact: !0
-}), UOe = (e) => e.current_asset_id || e.preview_asset_id || null, cH = (e) => `/poster?id=${e}&c=4`, WOe = (e) => H(iH, {
+}), WOe = (e) => e.current_asset_id || e.preview_asset_id || null, cH = (e) => `/poster?id=${e}&c=4`, GOe = (e) => H(iH, {
action: "create",
name: e,
asset_ids: []
@@ -62260,8 +62268,8 @@ var sH = () => U.invalidateQueries({
}), uH = (e) => H(iH, {
action: "delete",
id: e
-}), GOe = (e) => V(`${iH}?id=${e}`).catch(() => null);
-function KOe(e) {
+}), KOe = (e) => V(`${iH}?id=${e}`).catch(() => null);
+function qOe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
return H(iH, {
action: "create",
@@ -62273,16 +62281,16 @@ function KOe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var qOe = JN("ellipsis"), JOe = JN("pencil"), YOe = JN("trash"), XOe = JN("playlist"), dH = Qk(sL, cL, "text-body-2-medium"), fH = "播放列表名称不能为空", pH = (e) => async () => {
+var JOe = qN("ellipsis"), YOe = qN("pencil"), XOe = qN("trash"), ZOe = qN("playlist"), dH = Zk(sL, cL, "text-body-2-medium"), fH = "播放列表名称不能为空", pH = (e) => async () => {
try {
await e();
} finally {
sH();
}
};
-function ZOe({ toast: e }) {
+function QOe({ toast: e }) {
let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = ft({
- mutationFn: (e) => WOe(e),
+ mutationFn: (e) => GOe(e),
onSuccess: (t) => {
n(""), i(""), sH(), e("已新建播放列表", { undo: pH(() => uH(t.playlist.id)) });
},
@@ -62297,7 +62305,7 @@ function ZOe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.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, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -62316,7 +62324,7 @@ function ZOe({ toast: e }) {
})]
});
}
-function QOe({ target: e, close: t, toast: n }) {
+function $Oe({ target: e, close: t, toast: n }) {
let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(""), s = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (!e) return;
@@ -62333,7 +62341,7 @@ function QOe({ target: e, close: t, toast: n }) {
},
onError: (e) => o(B(e))
});
- return /* @__PURE__ */ (0, x.jsx)(GN, {
+ return /* @__PURE__ */ (0, x.jsx)(WN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -62352,11 +62360,11 @@ function QOe({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, x.jsx)(Cj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Sj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, x.jsx)(WN, {
+ }), /* @__PURE__ */ (0, x.jsx)(UN, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -62384,7 +62392,7 @@ function QOe({ target: e, close: t, toast: n }) {
})
});
}
-function $Oe({ name: e, onRename: t, onDelete: n }) {
+function eke({ name: e, onRename: t, onDelete: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -62398,11 +62406,11 @@ function $Oe({ 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, x.jsx)(qOe, {
+ children: /* @__PURE__ */ (0, x.jsx)(JOe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
@@ -62416,7 +62424,7 @@ function $Oe({ name: e, onRename: t, onDelete: n }) {
type: "button",
className: dH,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(JOe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(YOe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
@@ -62424,7 +62432,7 @@ function $Oe({ name: e, onRename: t, onDelete: n }) {
type: "button",
className: dH,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(YOe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(XOe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -62432,7 +62440,7 @@ function $Oe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function tke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = dt({
queryKey: aH,
queryFn: ({ signal: e }) => oH(e)
@@ -62447,8 +62455,8 @@ function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await GOe(e.id);
- await uH(e.id), sH(), r("已删除播放列表", t ? { undo: pH(() => KOe(t)) } : void 0);
+ let t = await KOe(e.id);
+ await uH(e.id), sH(), r("已删除播放列表", t ? { undo: pH(() => qOe(t)) } : void 0);
}
});
};
@@ -62463,7 +62471,7 @@ function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, x.jsx)(ZOe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, x.jsx)(QOe, { toast: r })]
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -62471,7 +62479,7 @@ function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = UOe(r), a = r.name.trim() || "未命名播放列表";
+ let i = WOe(r), a = r.name.trim() || "未命名播放列表";
return /* @__PURE__ */ (0, x.jsx)(tF, {
"data-playlist-card": String(r.id),
name: a,
@@ -62484,15 +62492,15 @@ function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, x.jsx)($Oe, {
+ menu: /* @__PURE__ */ (0, x.jsx)(eke, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: XOe,
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: ZOe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}) : a.isError ? /* @__PURE__ */ (0, x.jsx)(VP, {
@@ -62500,7 +62508,7 @@ function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(QOe, {
+ /* @__PURE__ */ (0, x.jsx)($Oe, {
target: o,
close: () => s(null),
toast: r
@@ -62510,11 +62518,11 @@ function eke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function tke({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function nke({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-goal-id": e.id,
- className: iA({
+ className: rA({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -62590,18 +62598,18 @@ function tke({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function nke({ toast: e, ...t }) {
+function rke({ toast: e, ...t }) {
let [n, r] = (0, b.useState)(null), i = dt({
queryKey: YF,
queryFn: ({ signal: e }) => XF(e)
}), a = i.data;
- if (!a) return /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!a) return /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "高清版目标读取失败",
children: i.error ? B(i.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let o = a.items || [];
- return o.length ? /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
/* @__PURE__ */ (0, x.jsx)(Hz, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
@@ -62609,7 +62617,7 @@ function nke({ toast: e, ...t }) {
}),
/* @__PURE__ */ (0, x.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(tke, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(nke, {
item: e,
...t,
searchResources: r
@@ -62624,17 +62632,17 @@ function nke({ toast: e, ...t }) {
close: () => r(null),
receipt: e
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(aA, {
+ ] }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: she,
+ icon: che,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function rke(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 = nxe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
+function ike(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 = rxe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -62672,7 +62680,7 @@ function rke(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ime,
+ leadingIcon: Lme,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -62735,7 +62743,7 @@ function rke(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var ike = {
+var ake = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -62746,7 +62754,7 @@ var ike = {
screenshot_urls: "截图",
trailer_url: "预告片"
}, mH = "reviewgenretags";
-function ake({ tags: e }) {
+function oke({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {
id: mH,
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))
@@ -62789,7 +62797,7 @@ function hH({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: ike[e] || e
+ children: ake[e] || e
}),
/* @__PURE__ */ (0, x.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -62804,18 +62812,18 @@ function hH({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function oke({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function ske({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
children: /* @__PURE__ */ (0, x.jsx)(hH, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, x.jsx)(sN, {
+ }) : /* @__PURE__ */ (0, x.jsx)(oN, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(cN, {
+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(sN, {
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, x.jsx)(hH, {
@@ -62825,11 +62833,11 @@ function oke({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}, e.candidate_key))
}) : null;
}
-function ske({ genre: e, tags: t, locked: n, toast: r }) {
+function cke({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({
- mutationFn: (t) => uxe(e, t),
+ mutationFn: (t) => dxe(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await fxe()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await pxe()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(B(e))
}), l = () => {
@@ -62844,14 +62852,14 @@ function ske({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(VN, {
+ /* @__PURE__ */ (0, x.jsx)(BN, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(UN, {
+ children: /* @__PURE__ */ (0, x.jsx)(HN, {
size: "small",
list: t.length ? mH : void 0,
autoComplete: "off",
@@ -62885,8 +62893,8 @@ function ske({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function cke({ row: e, tags: t, locked: n, toast: r }) {
- let i = sxe(e);
+function lke({ row: e, tags: t, locked: n, toast: r }) {
+ let i = cxe(e);
return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -62894,7 +62902,7 @@ function cke({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(ske, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(cke, {
genre: e,
tags: t,
locked: n,
@@ -62904,12 +62912,12 @@ function cke({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var gH = (e = "") => /^https?:\/\//i.test(e) ? e : "", lke = (e = "") => gH(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+var gH = (e = "") => /^https?:\/\//i.test(e) ? e : "", uke = (e = "") => gH(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
function _H({ url: e }) {
- let t = lke(e || "");
- return /* @__PURE__ */ (0, x.jsx)(uke, { source: t }, t);
+ let t = uke(e || "");
+ return /* @__PURE__ */ (0, x.jsx)(dke, { source: t }, t);
}
-function uke({ source: e }) {
+function dke({ source: e }) {
let [t, n] = (0, b.useState)("idle");
return (0, b.useEffect)(() => {
if (t !== "loading") return;
@@ -62972,14 +62980,14 @@ function vH({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Qme,
+ leadingIcon: $me,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function dke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function fke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)("button", {
@@ -63002,7 +63010,7 @@ function dke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function fke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+function pke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
let o = gH(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: "flex flex-col gap-3",
@@ -63013,10 +63021,10 @@ function fke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, x.jsx)(rA, {
+ children: [o ? /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Ck,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -63071,7 +63079,7 @@ function fke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function pke({ assets: e, picked: t, onPicked: n, locked: r }) {
+function mke({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, b.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -63147,13 +63155,13 @@ function pke({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var mke = iA({
+var hke = rA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), yH = "flex min-h-6 min-w-0 items-center", bH = 2, hke = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function gke(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, b.useRef)(!1), m = SL(), h = SL(), g = t === "metadata_fields", _ = Qbe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = ixe(t, n), C = aI(t, n), w = iI(t, n), T = axe(n), E = oxe(n), D = rI(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
+}), yH = "flex min-h-6 min-w-0 items-center", bH = 2, gke = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function _ke(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, b.useRef)(!1), m = SL(), h = SL(), g = t === "metadata_fields", _ = $be[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = axe(t, n), C = aI(t, n), w = iI(t, n), T = oxe(n), E = sxe(n), D = rI(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [O.slice(0, bH).map((e) => /* @__PURE__ */ (0, x.jsx)(vH, {
asset: e,
@@ -63162,7 +63170,7 @@ function gke(e) {
className: "text-body-2-regular text-text-secondary",
children: `另有 ${(O.length - bH).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, x.jsx)(dke, {
+ }) : y ? /* @__PURE__ */ (0, x.jsx)(fke, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -63180,7 +63188,7 @@ function gke(e) {
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(oke, {
+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(ske, {
row: n,
fieldName: C,
value: r.candidateKey,
@@ -63189,7 +63197,7 @@ function gke(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(pke, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(mke, {
assets: k,
picked: r.assets,
locked: s,
@@ -63197,12 +63205,12 @@ function gke(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "inset",
- icon: Kme,
+ icon: qme,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(fke, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(pke, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
@@ -63214,7 +63222,7 @@ function gke(e) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {
title: C,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "blue",
children: C
@@ -63235,7 +63243,7 @@ function gke(e) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": S,
"data-review-key": n.item_key,
- className: `${mke} ${hke(t)} overflow-hidden`,
+ className: `${hke} ${gke(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
@@ -63258,7 +63266,7 @@ function gke(e) {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ A ? /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -63282,7 +63290,7 @@ function gke(e) {
!y && j ? j : null,
E.length || t === "creator_tags" ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "soft",
children: e
@@ -63292,7 +63300,7 @@ function gke(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, x.jsx)(cke, {
+ /* @__PURE__ */ (0, x.jsx)(lke, {
row: n,
tags: u,
locked: s,
@@ -63355,8 +63363,8 @@ function gke(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var _ke = "flex cursor-pointer items-center justify-between gap-2";
-function vke({ page: e, pages: t, onPage: n }) {
+var vke = "flex cursor-pointer items-center justify-between gap-2";
+function yke({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -63393,13 +63401,13 @@ function vke({ page: e, pages: t, onPage: n }) {
]
});
}
-function yke(e) {
+function bke(e) {
let [t, n] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(tI(e.category) ? e.category : Zbe), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(tI(e.category) ? e.category : Qbe), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
P.current = !1;
}, []);
@@ -63409,10 +63417,10 @@ function yke(e) {
}), F = ee.data || {
sections: {},
counts: {}
- }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = $be(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = nI(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = txe(exe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
+ }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = exe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = nI(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = nxe(txe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
...e,
rows: e.rows.filter((e) => le.has(e.item_key))
- })).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || cxe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (e) => {
+ })).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || lxe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (e) => {
let t = new Set(e);
S((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, me = (e, t) => E((n) => new Map(n).set(e, t)), he = (e) => {
@@ -63420,7 +63428,7 @@ function yke(e) {
}, ge = ft({
mutationFn: ({ row: e, status: t }) => cI(oI(d, e, t, de(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (lI(d, [t.item_key]), pe([t.item_key]), s(lxe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (lI(d, [t.item_key]), pe([t.item_key]), s(uxe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => me(t.item_key, B(e))
}), _e = ft({
@@ -63468,7 +63476,7 @@ function yke(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, xe = pxe(F.mirror, l), Se = F.genre_tags || [], Ce = {
+ }, xe = mxe(F.mirror, l), Se = F.genre_tags || [], Ce = {
openItem: i,
openEntity: a,
onReveal: be,
@@ -63476,7 +63484,7 @@ function yke(e) {
revealNote: M,
toast: s
};
- return /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -63492,8 +63500,8 @@ function yke(e) {
}) : void 0,
children: xe
}) : null,
- /* @__PURE__ */ (0, x.jsx)(ake, { tags: Se }),
- /* @__PURE__ */ (0, x.jsxs)(IN, {
+ /* @__PURE__ */ (0, x.jsx)(oke, { tags: Se }),
+ /* @__PURE__ */ (0, x.jsxs)(FN, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
@@ -63507,15 +63515,15 @@ function yke(e) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, x.jsx)(LN, {
+ }), /* @__PURE__ */ (0, x.jsx)(IN, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Xbe.map((e) => {
+ children: Zbe.map((e) => {
let t = Number(F.counts[e] || 0);
- return /* @__PURE__ */ (0, x.jsxs)(RN, {
+ return /* @__PURE__ */ (0, x.jsxs)(LN, {
id: e,
- className: _ke,
+ className: vke,
children: [eI[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
@@ -63523,11 +63531,11 @@ function yke(e) {
}, e);
})
})]
- }), /* @__PURE__ */ (0, x.jsxs)(zN, {
+ }), /* @__PURE__ */ (0, x.jsxs)(RN, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(rke, {
+ te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(ike, {
groupOptions: re,
groupBy: ie,
onGroupBy: (e) => {
@@ -63568,7 +63576,7 @@ function yke(e) {
})]
}) : null, /* @__PURE__ */ (0, x.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(gke, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(_ke, {
category: d,
row: e,
choice: de(e),
@@ -63576,7 +63584,7 @@ function yke(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => S((r) => {
let i = new Set(r);
- return k.current = rxe(i, ce, k.current, e.item_key, t, n), i;
+ return k.current = ixe(i, ce, k.current, e.item_key, t, n), i;
}),
locked: ne,
busy: ge.isPending && ge.variables?.row.item_key === e.item_key,
@@ -63602,12 +63610,12 @@ function yke(e) {
children: "重试"
}),
children: B(ee.error)
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
- icon: Lme,
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
+ icon: Rme,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, x.jsx)(vke, {
+ /* @__PURE__ */ (0, x.jsx)(yke, {
page: se.page,
pages: se.pages,
onPage: v
@@ -63620,8 +63628,8 @@ function yke(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var xH = "/api/custom-metadata", SH = ["custom-metadata"], CH = (e) => V(xH, e), bke = "/api/scraping", xke = "/api/scraping/settings", Ske = "/api/scraping/check", wH = "/api/scraping/cover", Cke = "/api/scraping/amane-bridge", wke = "/api/scraping/amane-bridge/check", Tke = "/api/scraping/amane-bridge/rebuild", TH = ["scraping"], EH = ["scraping", "cover"], DH = ["scraping", "amane-bridge"], OH = (e) => V(bke, e), kH = (e) => V(wH, e), AH = (e) => V(Cke, e);
-async function Eke(e) {
+var xH = "/api/custom-metadata", SH = ["custom-metadata"], CH = (e) => V(xH, e), xke = "/api/scraping", Ske = "/api/scraping/settings", Cke = "/api/scraping/check", wH = "/api/scraping/cover", wke = "/api/scraping/amane-bridge", Tke = "/api/scraping/amane-bridge/check", Eke = "/api/scraping/amane-bridge/rebuild", TH = ["scraping"], EH = ["scraping", "cover"], DH = ["scraping", "amane-bridge"], OH = (e) => V(xke, e), kH = (e) => V(wH, e), AH = (e) => V(wke, e);
+async function Dke(e) {
await Promise.all([
U.fetchQuery({
queryKey: TH,
@@ -63641,7 +63649,7 @@ async function Eke(e) {
})
]);
}
-function Dke(e, t) {
+function Oke(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
//#endregion
@@ -63692,7 +63700,7 @@ function NH({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function Oke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function kke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({
onStep: a,
onSettle: o
@@ -63727,7 +63735,7 @@ function Oke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/scraping/custom-sources.tsx
-var kke = [
+var Ake = [
["code", "番号"],
["title", "标题"],
["studio", "厂牌"],
@@ -63735,7 +63743,7 @@ var kke = [
["release_date", "发行日期"],
["performers", "演员(文本数组)"],
["tags", "标签(文本数组)"]
-], Ake = [
+], jke = [
["censored", "有码"],
["amateur", "素人"],
["uncensored", "无码"],
@@ -63744,7 +63752,7 @@ var kke = [
["other", "其他"],
["unsure", "待核番号"],
["unknown", "未知"]
-], jke = () => ({
+], Mke = () => ({
name: "",
endpoint: "",
enabled: !1,
@@ -63754,20 +63762,20 @@ var kke = [
},
content_types: ["censored"]
});
-function Mke({ receipt: e }) {
+function Nke({ receipt: e }) {
let [t, n] = (0, b.useState)(null), r = dt({
queryKey: SH,
queryFn: ({ signal: e }) => CH(e)
- }), i = uA(), a = (e) => U.setQueryData(SH, e);
- return /* @__PURE__ */ (0, x.jsx)(hA, {
+ }), i = lA(), a = (e) => U.setQueryData(SH, e);
+ return /* @__PURE__ */ (0, x.jsx)(mA, {
title: "自定义元数据来源",
- children: /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-busy": "true",
"data-skeleton": "",
"aria-label": "读取自定义来源"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: B(r.error) }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: B(r.error) }) : null,
r.data?.items.map((t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [
@@ -63812,13 +63820,13 @@ function Mke({ receipt: e }) {
})
]
}, t.id)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: i.error }) : null,
+ i.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: i.error }) : null,
t ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => n(jke()),
+ onClick: () => n(Mke()),
children: "添加来源"
}),
- t ? /* @__PURE__ */ (0, x.jsx)(Nke, {
+ t ? /* @__PURE__ */ (0, x.jsx)(Pke, {
initial: t,
cancel: () => n(null),
saved: (t) => {
@@ -63828,8 +63836,8 @@ function Mke({ receipt: e }) {
] })
});
}
-function Nke({ initial: e, cancel: t, saved: n }) {
- let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = uA(), d = (e) => {
+function Pke({ initial: e, cancel: t, saved: n }) {
+ let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = lA(), d = (e) => {
l.current++, i((t) => ({
...t,
...e
@@ -63841,14 +63849,14 @@ function Nke({ initial: e, cancel: t, saved: n }) {
onSubmit: (e) => {
e.preventDefault(), u.run("save", (e) => H(xH, r, "POST", e), n);
},
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -63857,7 +63865,7 @@ function Nke({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(xA, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(NH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bA, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(NH, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -63868,7 +63876,7 @@ function Nke({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(xA, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(NH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bA, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(NH, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -63882,8 +63890,8 @@ function Nke({ initial: e, cancel: t, saved: n }) {
onPick: (e) => d({ code_format: e })
})]
}),
- /* @__PURE__ */ (0, x.jsx)(yA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- kke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
+ Ake.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(UN, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -63895,7 +63903,7 @@ function Nke({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: Ake.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(LL, {
+ children: jke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(LL, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
@@ -63906,7 +63914,7 @@ function Nke({ initial: e, cancel: t, saved: n }) {
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -63927,7 +63935,7 @@ function Nke({ initial: e, cancel: t, saved: n }) {
});
}
}),
- u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(yA, {
+ u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(vA, {
role: "status",
children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: vo("正在试查来源") } }), "正在试查来源…"]
}) : null,
@@ -63935,8 +63943,8 @@ function Nke({ initial: e, cancel: t, saved: n }) {
className: "whitespace-pre-wrap break-all",
children: s
}) : null,
- u.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: u.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(vA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ u.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: u.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(_A, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
onClick: t,
@@ -63951,10 +63959,10 @@ function Nke({ initial: e, cancel: t, saved: n }) {
//#endregion
//#region src/react/scraping/scraping-page.tsx
var PH = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function Pke(e) {
+function Fke(e) {
return PH.some(([t]) => t === e) || !e ? [...PH] : [...PH, [e, e]];
}
-function Fke(e) {
+function Ike(e) {
try {
return new URL(e).host || e;
} catch {
@@ -63963,7 +63971,7 @@ function Fke(e) {
}
var FH = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
function IH({ source: e }) {
- if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Nme, {
+ if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Pme, {
"aria-hidden": !0,
className: "size-4 shrink-0"
});
@@ -63984,16 +63992,16 @@ function IH({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Ike() {
+function Lke() {
return /* @__PURE__ */ (0, x.jsx)(IH, { source: "github" });
}
-function Lke({ source: e, toast: t }) {
+function Rke({ source: e, toast: t }) {
let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(FH[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = ft({
- mutationFn: (t) => H(xke, {
+ mutationFn: (t) => H(Ske, {
source: e.source,
network: n,
cookie: i,
@@ -64006,7 +64014,7 @@ function Lke({ source: e, toast: t }) {
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = ft({ mutationFn: () => H(Ske, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = ft({ mutationFn: () => H(Cke, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, S = () => {
v || (_.reset(), g.mutate(!0));
@@ -64025,18 +64033,18 @@ function Lke({ source: e, toast: t }) {
}
}
let T = f || (g.error ? B(g.error) : "") || (_.error ? B(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(IH, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(SA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(IH, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(xA, {
href: e.login,
- children: Fke(e.login)
+ children: Ike(e.login)
}) : null]
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(hA, { children: /* @__PURE__ */ (0, x.jsx)(dA, {
label: "连接方式",
children: /* @__PURE__ */ (0, x.jsx)(AL, {
"aria-label": "连接方式",
@@ -64045,7 +64053,7 @@ function Lke({ source: e, toast: t }) {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Pke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
+ children: Fke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
id: e,
children: t
}, e))
@@ -64055,15 +64063,15 @@ function Lke({ source: e, toast: t }) {
tone: "warning",
children: ["来源正在冷却,截止 ", (/* @__PURE__ */ new Date(e.cooldown_until * 1e3)).toLocaleString("zh-CN")]
}) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(_A, {
+ D ? /* @__PURE__ */ (0, x.jsxs)(gA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, x.jsx)(mA, {
+ children: /* @__PURE__ */ (0, x.jsx)(pA, {
href: "/settings/library#peachProxy",
size: "small",
- trailingIcon: vk,
+ trailingIcon: _k,
children: "配置 Peach 代理"
})
}) : null,
@@ -64083,13 +64091,13 @@ function Lke({ source: e, toast: t }) {
l(e), h();
},
className: uP,
- children: FH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cN, {
+ children: FH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(sN, {
value: e,
className: dP,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(WN, {
+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(UN, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -64098,7 +64106,7 @@ function Lke({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
@@ -64124,14 +64132,14 @@ function Lke({ source: e, toast: t }) {
]
})
] }) : null,
- T ? /* @__PURE__ */ (0, x.jsx)(bA, { children: T }) : null,
+ T ? /* @__PURE__ */ (0, x.jsx)(yA, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: t.ok ? "success" : "error",
- children: Dke(t, e.label)
+ children: Oke(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(vA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: S,
@@ -64153,7 +64161,7 @@ function Lke({ source: e, toast: t }) {
]
});
}
-function Rke({ toast: e }) {
+function zke({ toast: e }) {
let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = NL({
queryKey: EH,
queryFn: ({ signal: e }) => kH(e),
@@ -64164,15 +64172,15 @@ function Rke({ toast: e }) {
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? B(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, x.jsx)(hA, {
+ return /* @__PURE__ */ (0, x.jsx)(mA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: /* @__PURE__ */ (0, x.jsx)(UN, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -64187,7 +64195,7 @@ function Rke({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: s
@@ -64199,11 +64207,11 @@ function Rke({ toast: e }) {
] })
});
}
-function zke({ toast: e }) {
+function Bke({ toast: e }) {
let { query: t, running: n, outcome: r, start: i } = NL({
queryKey: DH,
queryFn: ({ signal: e }) => AH(e),
- start: () => H(Tke, {}),
+ start: () => H(Eke, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -64212,52 +64220,52 @@ function zke({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = ft({ mutationFn: () => H(wke, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(hA, {
+ }), a = ft({ mutationFn: () => H(Tke, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(mA, {
title: "amane",
- children: /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: B(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? B(i.error) : a.error ? B(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "amane",
- aside: /* @__PURE__ */ (0, x.jsx)(SA, {
+ aside: /* @__PURE__ */ (0, x.jsx)(xA, {
href: o.repository,
- leadingIcon: Ike,
+ leadingIcon: Lke,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, x.jsxs)(CA, { children: [
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsxs)(SA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, x.jsxs)(wA, {
+ /* @__PURE__ */ (0, x.jsxs)(CA, {
term: "内置站点",
children: [o.sites.length.toLocaleString(), " 个"]
})
] }),
- /* @__PURE__ */ (0, x.jsxs)(_A, {
+ /* @__PURE__ */ (0, x.jsxs)(gA, {
divided: !0,
children: [
- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(TA, {
+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(wA, {
summary: "查看内置站点",
children: /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: o.sites.map((e) => e.label).join("、")
})
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(yA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(vA, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -64266,7 +64274,7 @@ function zke({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: c
@@ -64277,7 +64285,7 @@ function zke({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(vA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(_A, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -64294,24 +64302,24 @@ function zke({ toast: e }) {
]
});
}
-function Bke({ toast: e }) {
+function Vke({ toast: e }) {
let t = dt({
queryKey: TH,
queryFn: ({ signal: e }) => OH(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
+ return n ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, x.jsx)(Rke, { toast: e }),
- /* @__PURE__ */ (0, x.jsx)(Mke, { receipt: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(Lke, {
+ /* @__PURE__ */ (0, x.jsx)(zke, { toast: e }),
+ /* @__PURE__ */ (0, x.jsx)(Nke, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(Rke, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, x.jsx)(zke, { toast: e })
- ] }) : /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ /* @__PURE__ */ (0, x.jsx)(Bke, { toast: e })
+ ] }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? B(t.error) : "读取采集来源失败"
@@ -64332,7 +64340,7 @@ var LH = /* @__PURE__ */ new Set([
"photo",
"release"
]), zH = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function Vke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+function Hke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
let c = 0, l = [], u = (e) => {
let t = {
...e,
@@ -64421,7 +64429,7 @@ function Vke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function Hke(e, t, n = Math.random) {
+function Uke(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
@@ -64431,7 +64439,7 @@ function Hke(e, t, n = Math.random) {
}
//#endregion
//#region src/react/search/search-page.tsx
-var Uke = () => ({
+var Wke = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -64449,7 +64457,7 @@ var Uke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), BH = (e) => Vke({
+}), BH = (e) => Hke({
query: e.query,
history: e.history,
picks: e.picks,
@@ -64458,18 +64466,18 @@ var Uke = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), Wke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), VH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+}), Gke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), VH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
-function Gke(e) {
+function Kke(e) {
let t = (0, b.useRef)(e);
t.current = e;
let n = (0, b.useRef)(null);
- n.current ??= Uke();
+ n.current ??= Wke();
let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);
- o.current ??= Kke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= qke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, b.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -64482,7 +64490,7 @@ function Gke(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 = BH(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(Jke, {
+ let c = BH(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(Yke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -64514,7 +64522,7 @@ function Gke(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, x.jsx)(qke, {
+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(Jke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -64541,7 +64549,7 @@ function Gke(e) {
]
});
}
-function Kke(e, t, n, r) {
+function qke(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 () => {
@@ -64598,9 +64606,9 @@ function Kke(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : Hke(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : Uke(t.pool, o()), t.active = -1;
let a = n();
- a && (Wke(BH(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (Gke(BH(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -64673,7 +64681,7 @@ function Kke(e, t, n, r) {
openPath: C
};
}
-function qke({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Jke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
r(i.current);
@@ -64696,7 +64704,7 @@ function qke({ tabs: e, kind: t, onPick: n, wire: r }) {
});
}
var HH = (e) => e.preventDefault();
-function Jke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+function Yke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -64856,8 +64864,8 @@ function WH({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var GH = "/api/configuration", Yke = "/api/pick-folder", KH = ["configuration"], qH = (e) => V(GH, e);
-async function Xke(e) {
+var GH = "/api/configuration", Xke = "/api/pick-folder", KH = ["configuration"], qH = (e) => V(GH, e);
+async function Zke(e) {
await U.fetchQuery({
queryKey: KH,
queryFn: () => qH(e)
@@ -64877,24 +64885,24 @@ function YH(e) {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var Zke = "/api/configuration/downloads", XH = "/api/configuration/downloads/check", Qke = "/api/configuration/downloads/folder", $ke = "/api/configuration/downloads/pikpak/login", eAe = "/api/configuration/downloads/pikpak/logout", ZH = "/api/configuration/downloads/pikpak/browser-login", QH = 2e3;
-function tAe({ initial: e, receipt: t, panel: n }) {
+var Qke = "/api/configuration/downloads", XH = "/api/configuration/downloads/check", $ke = "/api/configuration/downloads/folder", eAe = "/api/configuration/downloads/pikpak/login", tAe = "/api/configuration/downloads/pikpak/logout", ZH = "/api/configuration/downloads/pikpak/browser-login", QH = 2e3;
+function nAe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
...YH(n),
- children: /* @__PURE__ */ (0, x.jsx)(nAe, {
+ children: /* @__PURE__ */ (0, x.jsx)(rAe, {
initial: e,
receipt: t
})
});
}
-function nAe({ initial: e, receipt: t }) {
+function rAe({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rAe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iAe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, x.jsx)(aAe, {
+ }), /* @__PURE__ */ (0, x.jsx)(oAe, {
state: n,
settle: r,
receipt: t,
@@ -64902,8 +64910,8 @@ function nAe({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)($H), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = uA(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function iAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)($H), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = lA(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -64933,7 +64941,7 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
root: !e.config.pikpak_root
};
S.run("auto", (e) => V(XH, e), (e) => E(e, t), (e) => _(B(e)));
- }, []), /* @__PURE__ */ (0, x.jsxs)(hA, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), T) {
@@ -64946,7 +64954,7 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- S.run("save", (e) => H(Zke, f, "POST", e), (e) => {
+ S.run("save", (e) => H(Qke, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {
address: !i.config.clouddrive_address,
@@ -64956,8 +64964,8 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}, (e) => _(B(e)));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -64969,7 +64977,7 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -64980,8 +64988,8 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
- label: /* @__PURE__ */ (0, x.jsx)(zA, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
+ label: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "115",
label: "115 目标目录"
}),
@@ -64995,8 +65003,8 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
- label: /* @__PURE__ */ (0, x.jsx)(zA, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
+ label: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -65010,7 +65018,7 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(xA, { children: /* @__PURE__ */ (0, x.jsx)(zA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bA, { children: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
}) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(AL, {
@@ -65026,9 +65034,9 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, x.jsx)(yA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
+ }) : /* @__PURE__ */ (0, x.jsx)(vA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -65039,11 +65047,11 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(iAe, {
+ u ? /* @__PURE__ */ (0, x.jsx)(aAe, {
report: u,
detected: f,
suggested: m,
@@ -65055,7 +65063,7 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("folder", (e) => H(Qke, t, "POST", e), (t) => {
+ S.run("folder", (e) => H($ke, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -65067,11 +65075,11 @@ function rAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: S.busy === "folder"
}) : null,
- g || S.error ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: g || S.error })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: g || S.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(vA, {
+ /* @__PURE__ */ (0, x.jsxs)(_A, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -65107,24 +65115,24 @@ var $H = {
root: "",
saved: !1
};
-function iAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function aAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, x.jsxs)(_A, {
+ return /* @__PURE__ */ (0, x.jsxs)(gA, {
divided: !0,
- children: [/* @__PURE__ */ (0, x.jsxs)(CA, { children: [
- t ? /* @__PURE__ */ (0, x.jsx)(wA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(SA, { children: [
+ t ? /* @__PURE__ */ (0, x.jsx)(CA, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, x.jsx)(wA, {
- term: /* @__PURE__ */ (0, x.jsx)(zA, {
+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(CA, {
+ term: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(wA, {
- term: /* @__PURE__ */ (0, x.jsx)(zA, {
+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(CA, {
+ term: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "115",
label: "115 目标目录"
}),
@@ -65136,33 +65144,33 @@ function iAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, x.jsx)(wA, {
- term: /* @__PURE__ */ (0, x.jsx)(zA, {
+ n.root ? /* @__PURE__ */ (0, x.jsx)(CA, {
+ term: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "pikpak",
label: "PikPak 根目录"
}),
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(wA, {
+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(CA, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, x.jsx)(wA, {
+ e.folder ? /* @__PURE__ */ (0, x.jsx)(CA, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, x.jsx)(wA, {
- term: /* @__PURE__ */ (0, x.jsx)(zA, {
+ e.quota ? /* @__PURE__ */ (0, x.jsx)(CA, {
+ term: /* @__PURE__ */ (0, x.jsx)(RA, {
source: "115",
label: "115 离线配额"
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(bA, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(yA, { children: e }, e))]
});
}
-function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = uA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function oAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = lA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, b.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
@@ -65194,15 +65202,15 @@ function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => H($ke, i, "POST", e), (e) => {
+ h.run("login", (e) => H(eAe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(B(e)));
}, w = () => {
- h.run("logout", (e) => H(eAe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => H(tAe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(B(e)));
}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -65211,7 +65219,7 @@ function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -65231,7 +65239,7 @@ function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, x.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, x.jsx)(SA, {
+ children: /* @__PURE__ */ (0, x.jsx)(xA, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -65244,24 +65252,24 @@ function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...q(h.busy === "login"),
children: "登录"
}), D = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, x.jsx)(RA.pikpak, {}),
+ icon: /* @__PURE__ */ (0, x.jsx)(LA.pikpak, {}),
onSubmit: C,
children: [
- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(CA, { children: [/* @__PURE__ */ (0, x.jsx)(wA, {
+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(SA, { children: [/* @__PURE__ */ (0, x.jsx)(CA, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(wA, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(CA, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, x.jsx)(wA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(CA, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(_A, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(bA, { children: p }) : /* @__PURE__ */ (0, x.jsx)(yA, {
+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(gA, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(yA, { children: p }) : /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: p
- }) : null, /* @__PURE__ */ (0, x.jsx)(TA, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(wA, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
@@ -65270,13 +65278,13 @@ function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
children: E
})]
})
- })] }) : /* @__PURE__ */ (0, x.jsx)(_A, { children: T }),
- d || h.error ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ })] }) : /* @__PURE__ */ (0, x.jsx)(gA, { children: T }),
+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: d || h.error })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vA, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(oA, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(_A, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(aA, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: w,
@@ -65302,33 +65310,33 @@ function aAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var oAe = [
+var sAe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function sAe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function cAe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
...YH(r),
children: [
- /* @__PURE__ */ (0, x.jsx)(uAe, { facts: e.facts }),
- /* @__PURE__ */ (0, x.jsx)(cAe, {
+ /* @__PURE__ */ (0, x.jsx)(dAe, { facts: e.facts }),
+ /* @__PURE__ */ (0, x.jsx)(lAe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(dAe, {
+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(fAe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function cAe({ receipt: e, reopenTutorial: t }) {
- let n = uA();
+function lAe({ receipt: e, reopenTutorial: t }) {
+ let n = lA();
return /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, x.jsxs)(jge, { children: [/* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Mge, { children: [/* @__PURE__ */ (0, x.jsx)(hA, { children: /* @__PURE__ */ (0, x.jsx)(dA, {
label: "安装教程",
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -65336,22 +65344,22 @@ function cAe({ receipt: e, reopenTutorial: t }) {
...q(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(bA, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(yA, { children: n.error }) }) : null] })
});
}
-function lAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = uA(e.error), s = (r) => {
+function uAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = lA(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => H("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsxs)(hA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "自动检查新版本",
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
"aria-label": "自动检查新版本",
@@ -65360,7 +65368,7 @@ function lAe({ initial: e, receipt: t }) {
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "自动下载更新",
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
"aria-label": "自动下载更新",
@@ -65369,7 +65377,7 @@ function lAe({ initial: e, receipt: t }) {
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "检查频率",
description: c,
children: /* @__PURE__ */ (0, x.jsx)(AL, {
@@ -65379,18 +65387,18 @@ function lAe({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: oAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
+ children: sAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ o.error ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: o.error })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(o.busy === "save"),
@@ -65399,18 +65407,18 @@ function lAe({ initial: e, receipt: t }) {
]
});
}
-function uAe({ facts: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+function dAe({ facts: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "运行信息",
- children: [/* @__PURE__ */ (0, x.jsx)(CA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(wA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(SA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(CA, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(SA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(xA, {
href: e.download_url,
children: e.download_label
}) : null]
- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(hA, { children: /* @__PURE__ */ (0, x.jsx)(dA, {
label: "系统诊断",
- children: /* @__PURE__ */ (0, x.jsx)(rA, {
+ children: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
href: "/diagnostics",
children: "打开系统诊断"
@@ -65418,7 +65426,7 @@ function uAe({ facts: e }) {
}) })]
});
}
-function dAe({ uninstall: e, receipt: t }) {
+function fAe({ uninstall: e, receipt: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void Ts({
title: "卸载 Peach",
danger: !0,
@@ -65432,12 +65440,12 @@ function dAe({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [
- e.available ? /* @__PURE__ */ (0, x.jsx)(yA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
+ e.available ? /* @__PURE__ */ (0, x.jsx)(vA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
@@ -65447,7 +65455,7 @@ function dAe({ uninstall: e, receipt: t }) {
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(TA, {
+ /* @__PURE__ */ (0, x.jsx)(wA, {
summary: "数据目录",
children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(TL, {
path: e,
@@ -65455,7 +65463,7 @@ function dAe({ uninstall: e, receipt: t }) {
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, x.jsx)(vA, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(_A, {
status: s ? /* @__PURE__ */ (0, x.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -65478,16 +65486,16 @@ var eU = /* @__PURE__ */ new Set([
"preparing",
"restarting",
"installing"
-]), fAe = [
+]), pAe = [
65,
67,
90
], tU = 120;
-function pAe({ initial: e, initialJob: t }) {
+function mAe({ initial: e, initialJob: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, b.useState)(""), c = uA(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = eU.has(i.state);
+ }), [o, s] = (0, b.useState)(""), c = lA(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = eU.has(i.state);
(0, b.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -65533,57 +65541,57 @@ function pAe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(B(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, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, x.jsxs)(CA, { children: [
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsxs)(SA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, x.jsx)(wA, {
+ /* @__PURE__ */ (0, x.jsx)(CA, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(_A, {
+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(gA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(yA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(vA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(bA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(yA, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(yA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(bA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(yA, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsx)(cA, {
label: "更新准备进度",
value: i.progress,
- stops: fAe
+ stops: pAe
}),
- /* @__PURE__ */ (0, x.jsxs)(yA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, x.jsx)(yA, { children: _ })
+ /* @__PURE__ */ (0, x.jsxs)(vA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(vA, {
- status: /* @__PURE__ */ (0, x.jsx)(SA, {
+ /* @__PURE__ */ (0, x.jsxs)(_A, {
+ status: /* @__PURE__ */ (0, x.jsx)(xA, {
href: n.release_url,
children: "查看发布页"
}),
@@ -65611,28 +65619,28 @@ function pAe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function mAe({ data: e, receipt: t, panel: n }) {
+function hAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
...YH(n),
children: [
- e.startup ? /* @__PURE__ */ (0, x.jsx)(hAe, {
+ e.startup ? /* @__PURE__ */ (0, x.jsx)(gAe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(lAe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(uAe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, x.jsx)(pAe, {
+ e.updates ? /* @__PURE__ */ (0, x.jsx)(mAe, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function hAe({ startup: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = uA(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+function gAe({ startup: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = lA(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => H("/api/configuration/startup", {
@@ -65642,8 +65650,8 @@ function hAe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsxs)(hA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "开机后启动 Peach",
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
"aria-label": "开机后启动 Peach",
@@ -65652,7 +65660,7 @@ function hAe({ startup: e, receipt: t }) {
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "只启动托盘,不打开网页",
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
"aria-label": "只启动托盘,不打开网页",
@@ -65661,7 +65669,7 @@ function hAe({ startup: e, receipt: t }) {
onChange: a
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
@@ -65672,11 +65680,11 @@ function hAe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(_A, {
+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(gA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(yA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(vA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(c.busy === "save"),
@@ -65687,7 +65695,7 @@ function hAe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var nU = 8e3, gAe = [
+var nU = 8e3, _Ae = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -65706,33 +65714,33 @@ var nU = 8e3, gAe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], _Ae = [
+], vAe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function vAe() {
+function yAe() {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "@container flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, x.jsxs)(yA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(SA, {
+ /* @__PURE__ */ (0, x.jsxs)(vA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(xA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
- /* @__PURE__ */ (0, x.jsx)(yA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, x.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: gAe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: _Ae.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: _Ae.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: vAe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -65753,7 +65761,7 @@ function vAe() {
/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, x.jsx)(yA, { children: /* @__PURE__ */ (0, x.jsx)(SA, {
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(xA, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -65763,7 +65771,7 @@ function vAe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function yAe({ className: e }) {
+function bAe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -65780,8 +65788,8 @@ var rU = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], iU = (e) => Ja[e] || "database", bAe = (e) => e === "115" || e === "pikpak";
-function xAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], iU = (e) => Ja[e] || "database", xAe = (e) => e === "115" || e === "pikpak";
+function SAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)([]), [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(null), p = (0, b.useRef)(!1), m = (0, b.useRef)([]);
(0, b.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -65824,7 +65832,7 @@ function xAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function SAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function CAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, b.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -65837,7 +65845,7 @@ function SAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -65856,7 +65864,7 @@ function SAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: c
}) : null,
/* @__PURE__ */ (0, x.jsx)(wL, {
- icon: yAe,
+ icon: bAe,
"aria-label": "选择文件夹",
onClick: o,
...q(a)
@@ -65864,7 +65872,7 @@ function SAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
s ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: Sk,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -65875,7 +65883,7 @@ function SAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function CAe({ index: e, value: t, onChange: n, options: r = rU }) {
+function wAe({ index: e, value: t, onChange: n, options: r = rU }) {
return /* @__PURE__ */ (0, x.jsx)(AL, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
@@ -65886,12 +65894,12 @@ function CAe({ index: e, value: t, onChange: n, options: r = rU }) {
children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(jL, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: iU(e) }), t]
+ children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: iU(e) }), t]
}, e))
});
}
-function wAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, x.jsx)(WN, {
+function TAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, x.jsx)(UN, {
label: n,
placeholder: r,
value: e,
@@ -65944,13 +65952,13 @@ var aU = [
["star", "收藏"],
["tags", "主题"]
];
-function TAe(e) {
+function EAe(e) {
let t = e === "local" ? "" : Ja[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
var oU = "auto";
-function EAe({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = TAe(n);
+function DAe({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = EAe(n);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
@@ -65964,34 +65972,34 @@ function EAe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: e || l }), ((e) => e && aU.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: e || l }), ((e) => e && aU.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
className: oL,
- children: /* @__PURE__ */ (0, x.jsxs)(eN, {
+ children: /* @__PURE__ */ (0, x.jsxs)($M, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, x.jsx)(Cj, {
+ /* @__PURE__ */ (0, x.jsx)(Sj, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, x.jsx)(sN, {
+ /* @__PURE__ */ (0, x.jsx)(oN, {
"aria-label": "候选图标",
value: s || oU,
onChange: (e) => c(e === oU ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: aU.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cN, {
+ children: aU.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(sN, {
value: e || oU,
"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, x.jsx)(EA, { mark: e || l })
+ children: /* @__PURE__ */ (0, x.jsx)(TA, { mark: e || l })
}, e || oU))
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -66014,9 +66022,9 @@ function EAe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var DAe = "/api/configuration/push-discovery", OAe = "/api/configuration/push-discovery/secret";
-function kAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = uA(), l = SL(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
+var OAe = "/api/configuration/push-discovery", kAe = "/api/configuration/push-discovery/secret";
+function AAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = lA(), l = SL(), u = n.media_roots, [d, f] = (0, b.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,
@@ -66029,18 +66037,18 @@ function kAe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => H(DAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(B(e)));
+ c.run("save", (e) => H(OAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(B(e)));
}, g = () => {
- c.run("secret", (e) => H(OAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(B(e)));
+ c.run("secret", (e) => H(kAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(B(e)));
}, _ = () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));
}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "推送发现",
onSubmit: h,
children: [
- /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsxs)(hA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
@@ -66053,7 +66061,7 @@ function kAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
@@ -66066,7 +66074,7 @@ function kAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "接收 CloudDrive2 通知",
children: /* @__PURE__ */ (0, x.jsx)(ZB, {
"aria-label": "接收 CloudDrive2 通知",
@@ -66078,7 +66086,7 @@ function kAe({ initial: e, receipt: t }) {
})
})
}),
- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(dA, {
label: "Webhook 配置",
description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",
children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
@@ -66089,11 +66097,11 @@ function kAe({ initial: e, receipt: t }) {
}) : null
}) : null
] }),
- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {
summary: "查看配置",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -66103,16 +66111,16 @@ function kAe({ initial: e, receipt: t }) {
className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",
children: d.config_toml
})
- }), /* @__PURE__ */ (0, x.jsx)(yA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
+ }), /* @__PURE__ */ (0, x.jsx)(vA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
})
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "云端路径前缀" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -66120,7 +66128,7 @@ function kAe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -66143,7 +66151,7 @@ function kAe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: Sk,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -66162,11 +66170,11 @@ function kAe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(vA, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(_A, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: g,
disabled: !n.available,
@@ -66188,25 +66196,25 @@ var sU = [
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], AAe = [
+], jAe = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function jAe({ epoch: e = 0 }) {
+function MAe({ epoch: e = 0 }) {
let t = dt({
queryKey: EI,
- queryFn: ({ signal: e }) => bxe(e),
+ queryFn: ({ signal: e }) => xxe(e),
refetchOnMount: "always"
- }), n = Cxe(), r = n.reset;
+ }), n = wxe(), r = n.reset;
(0, b.useEffect)(() => {
r();
}, [e, r]);
let i = t.data, a = n.error || t.error;
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "时间轴缩略图",
children: [
- /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(hA, { children: /* @__PURE__ */ (0, x.jsx)(dA, {
label: "采集间隔",
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, x.jsx)("div", {
@@ -66218,28 +66226,28 @@ function jAe({ epoch: e = 0 }) {
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: AAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
+ children: jAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
id: e,
children: t
}, e))
})
})
}) }),
- n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(yA, {
+ children: /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: n.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"
})
}) : null,
- a ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ a ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: B(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: B(a) })
}) : null
]
});
}
-function MAe({ receipt: e }) {
+function NAe({ receipt: e }) {
let t = YT();
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let n = dt({
@@ -66247,11 +66255,11 @@ function MAe({ receipt: e }) {
queryFn: ({ signal: e }) => DI(e),
refetchOnMount: "always"
}), r = OI(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "关注采集",
- children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
- /* @__PURE__ */ (0, x.jsx)(NAe, {}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(hA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(PAe, {}),
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "followInitialDaysSetting",
@@ -66271,26 +66279,26 @@ function MAe({ receipt: e }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "头像刷新",
children: "每 3 个月"
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "favicon 刷新",
children: "每年"
})
- ] }), a ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ ] }), a ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: B(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: B(a) })
}) : null]
});
}
-function NAe() {
+function PAe() {
let e = dt({
queryKey: TI,
- queryFn: ({ signal: e }) => yxe(e),
+ queryFn: ({ signal: e }) => bxe(e),
refetchOnMount: "always"
- }), t = Sxe(), n = e.data, r = (0, b.useRef)(bT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
+ }), t = Cxe(), n = e.data, r = (0, b.useRef)(bT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -66299,7 +66307,7 @@ function NAe() {
!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));
}, u = t.error || e.error;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(dA, {
label: "自动检查更新",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
id: "followScheduleSetting",
@@ -66313,7 +66321,7 @@ function NAe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UN, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -66338,24 +66346,24 @@ function NAe() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(bA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
- t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(yA, {
+ o ? /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(yA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(vA, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(bA, { children: B(u) }) }) : null
+ u ? /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(yA, { children: B(u) }) }) : null
] });
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var PAe = (e) => rU.find(([t]) => t === e)?.[1] ?? e, FAe = async (e) => (await H(Yke, { initial: e })).path, cU = (e = "") => ({
+var FAe = (e) => rU.find(([t]) => t === e)?.[1] ?? e, IAe = async (e) => (await H(Xke, { initial: e })).path, cU = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function IAe(e) {
+function LAe(e) {
let t = e.media_sources?.filter((e) => rU.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
@@ -66365,12 +66373,12 @@ function IAe(e) {
library_icon: e.library_icon || ""
})) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => cU(e));
}
-var LAe = (e) => !(e instanceof ln) || e.status !== 400 ? null : e.body?.errors ?? null;
-function RAe({ data: e, receipt: t, panel: n }) {
+var RAe = (e) => !(e instanceof ln) || e.status !== 400 ? null : e.body?.errors ?? null;
+function zAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
...YH(n),
children: [
- e.editable ? /* @__PURE__ */ (0, x.jsx)(zAe, {
+ e.editable ? /* @__PURE__ */ (0, x.jsx)(BAe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -66378,22 +66386,22 @@ function RAe({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, x.jsx)(BAe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(kAe, {
+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(VAe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(AAe, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(jAe, {})
+ /* @__PURE__ */ (0, x.jsx)(MAe, {})
]
});
}
-function zAe({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = xAe({
- initial: () => IAe(e),
+function BAe({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = SAe({
+ initial: () => LAe(e),
blank: () => cU(),
- pickFolder: FAe,
+ pickFolder: IAe,
describe: B
- }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = uA();
+ }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = lA();
(0, b.useEffect)(() => {
if (!h) return;
let e = setTimeout(() => location.assign(h.url), nU);
@@ -66409,18 +66417,18 @@ function zAe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = LAe(e);
+ let t = RAe(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || B(e));
});
};
- if (h) return /* @__PURE__ */ (0, x.jsx)(hA, {
+ if (h) return /* @__PURE__ */ (0, x.jsx)(mA, {
title: "媒体文件夹",
- children: /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, x.jsx)(mA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
href: h.url,
size: "small",
children: "进入馆藏"
@@ -66429,20 +66437,20 @@ function zAe({ data: e, receipt: t }) {
]
}) })
});
- let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => bAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => xAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "媒体文件夹",
onSubmit: y,
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, x.jsx)(bA, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(SAe, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(CAe, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -66453,12 +66461,12 @@ function zAe({ data: e, receipt: t }) {
onRemove: n.length > 1 ? () => a(i) : void 0,
status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(lU, { online: S(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, x.jsx)(CAe, {
+ /* @__PURE__ */ (0, x.jsx)(wAe, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -66466,13 +66474,13 @@ function zAe({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, x.jsx)(EAe, {
+ /* @__PURE__ */ (0, x.jsx)(DAe, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(wAe, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(TAe, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -66487,17 +66495,17 @@ function zAe({ data: e, receipt: t }) {
})
]
}),
- C ? /* @__PURE__ */ (0, x.jsx)(vAe, {}) : null,
- w.map((e) => /* @__PURE__ */ (0, x.jsxs)(yA, { children: [
+ C ? /* @__PURE__ */ (0, x.jsx)(yAe, {}) : null,
+ w.map((e) => /* @__PURE__ */ (0, x.jsxs)(vA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, x.jsxs)(SA, {
+ /* @__PURE__ */ (0, x.jsxs)(xA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(yA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(vA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
/* @__PURE__ */ (0, x.jsx)(LL, {
isSelected: d,
onChange: f,
@@ -66508,7 +66516,7 @@ function zAe({ data: e, receipt: t }) {
title: "没有保存",
children: p
}) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(vA, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(_A, {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -66542,20 +66550,20 @@ function lU({ online: e }) {
}), "未检测"]
});
}
-function BAe({ data: e }) {
- let t = e.media_sources, n = uA();
- return t ? /* @__PURE__ */ (0, x.jsxs)(hA, {
+function VAe({ data: e }) {
+ let t = e.media_sources, n = lA();
+ return t ? /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, x.jsx)(CA, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(wA, {
- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(EA, { mark: iU(e.location) }), PAe(e.location)] }),
+ /* @__PURE__ */ (0, x.jsx)(SA, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(CA, {
+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(TA, { mark: iU(e.location) }), FAe(e.location)] }),
children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(lU, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, x.jsx)(_A, {
+ n.error ? /* @__PURE__ */ (0, x.jsx)(gA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(bA, { children: n.error })
+ children: /* @__PURE__ */ (0, x.jsx)(yA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => void n.run("refresh", (e) => qH(e), (e) => U.setQueryData(KH, e)),
...q(n.busy === "refresh"),
@@ -66566,8 +66574,8 @@ function BAe({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function VAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(WN, {
+function HAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(UN, {
id: "access-password",
type: "password",
label: e,
@@ -66580,7 +66588,7 @@ function VAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, x.jsx)(WN, {
+ }), /* @__PURE__ */ (0, x.jsx)(UN, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -66597,13 +66605,13 @@ function VAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var HAe = {
+var UAe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function UAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = uA(), g = (e) => {
+function WAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = lA(), g = (e) => {
e.preventDefault();
let f = {};
n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => H("/api/configuration/access", {
@@ -66619,14 +66627,14 @@ function UAe({ initial: e, receipt: t }) {
let t = e instanceof ln ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(B(e));
});
- }, _ = HAe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ }, _ = UAe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
- _ ? /* @__PURE__ */ (0, x.jsx)(yA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
+ _ ? /* @__PURE__ */ (0, x.jsx)(vA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "未设置访问密码",
@@ -66637,7 +66645,7 @@ function UAe({ initial: e, receipt: t }) {
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(WN, {
+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(UN, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -66650,7 +66658,7 @@ function UAe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, x.jsx)(VAe, {
+ v ? /* @__PURE__ */ (0, x.jsx)(HAe, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -66666,9 +66674,9 @@ function UAe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ }), v ? /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(h.busy === "save"),
children: "保存配置"
@@ -66677,24 +66685,24 @@ function UAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function WAe({ data: e, receipt: t }) {
- let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = uA();
+function GAe({ data: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = lA();
return (0, b.useEffect)(() => {
if (!o) return;
let e = setTimeout(() => location.assign(o.url), nU);
return () => clearTimeout(e);
- }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(hA, {
+ }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(mA, {
title: "本机访问端口",
- children: /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(mA, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(pA, {
href: o.url,
size: "small",
children: "进入馆藏"
})]
}) })
- }) : /* @__PURE__ */ (0, x.jsxs)(hA, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "本机访问端口",
onSubmit: (r) => {
r.preventDefault(), a(""), c.run("save", (t) => H(GH, {
@@ -66710,7 +66718,7 @@ function WAe({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(B(e));
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [/* @__PURE__ */ (0, x.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [/* @__PURE__ */ (0, x.jsx)(UN, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -66723,7 +66731,7 @@ function WAe({ data: e, receipt: t }) {
tone: "error",
title: "没有保存",
children: c.error
- }) : null] }), /* @__PURE__ */ (0, x.jsx)(vA, {
+ }) : null] }), /* @__PURE__ */ (0, x.jsx)(_A, {
status: "保存后 Peach 会重启,并跳转到新地址。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -66735,19 +66743,19 @@ function WAe({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var GAe = 2e3, KAe = [["quick", "临时链接"], ["named", "命名隧道"]], qAe = {
+var KAe = 2e3, qAe = [["quick", "临时链接"], ["named", "命名隧道"]], JAe = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function JAe({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = uA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function YAe({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = lA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, b.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
qH(e.signal).then((t) => {
!e.signal.aborted && t.tunnel && (U.setQueryData(KH, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, GAe);
+ }, KAe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -66766,26 +66774,26 @@ function JAe({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(B(e));
});
};
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
r.named_available ? /* @__PURE__ */ (0, x.jsx)(lP, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
className: uP,
- children: KAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cN, {
+ children: qAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(sN, {
value: e,
className: dP,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(yA, { children: qAe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: JAe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(UN, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -66796,7 +66804,7 @@ function JAe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, x.jsx)(WN, {
+ }), /* @__PURE__ */ (0, x.jsx)(UN, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -66816,7 +66824,7 @@ function JAe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, x.jsx)(SA, {
+ children: /* @__PURE__ */ (0, x.jsx)(xA, {
href: r.url,
children: r.url
})
@@ -66826,9 +66834,9 @@ function JAe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(vA, {
+ r.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(_A, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: r.named_available ? "secondary" : "primary",
@@ -66845,28 +66853,28 @@ function JAe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var YAe = [
+var XAe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function XAe({ data: e, receipt: t, panel: n }) {
+function ZAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
...YH(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(WAe, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(GAe, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(ZAe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(QAe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, x.jsx)(UAe, {
+ e.access ? /* @__PURE__ */ (0, x.jsx)(WAe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(JAe, {
+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)(YAe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -66874,9 +66882,9 @@ function XAe({ data: e, receipt: t, panel: n }) {
]
});
}
-function ZAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = uA();
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+function QAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = lA();
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -66888,7 +66896,7 @@ function ZAe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(hA, { children: /* @__PURE__ */ (0, x.jsx)(dA, {
label: "连接方式",
children: /* @__PURE__ */ (0, x.jsx)(AL, {
"aria-label": "连接方式",
@@ -66896,16 +66904,16 @@ function ZAe({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: YAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
+ children: XAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(_A, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(gA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(WN, {
+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(UN, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -66919,10 +66927,10 @@ function ZAe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(c.busy === "save"),
children: "保存配置"
@@ -66932,24 +66940,24 @@ function ZAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var QAe = "将清除这个来源在本机和共享副本中的登录凭据。", $Ae = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function eje(e, t) {
+var $Ae = "将清除这个来源在本机和共享副本中的登录凭据。", eje = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function tje(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function tje({ row: e }) {
- if (Hr(e)) return /* @__PURE__ */ (0, x.jsx)(tA, {
+function nje({ row: e }) {
+ if (Hr(e)) return /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(tA, {
+ return /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: t,
children: Vr[e.requirement] || ""
});
}
-function nje({ row: e, readOnly: t, toast: n }) {
+function rje({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = Hr(e), c = ft({
mutationFn: (t) => Cr(e.provider, t),
onSuccess: (e, t) => {
@@ -66966,17 +66974,17 @@ function nje({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsxs)(yA, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(SA, {
+ /* @__PURE__ */ (0, x.jsxs)(vA, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(xA, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, x.jsx)(yA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, x.jsx)(vA, { children: e.howto }) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(UN, {
type: "password",
label: n,
- placeholder: eje(e, n),
+ placeholder: tje(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -67004,7 +67012,7 @@ function nje({ row: e, readOnly: t, toast: n }) {
...q(c.isPending),
onClick: () => void Ts({
title: "清除来源凭据",
- body: QAe,
+ body: $Ae,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -67012,9 +67020,9 @@ function nje({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, x.jsx)(bA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(yA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, x.jsx)(TA, {
+ a ? /* @__PURE__ */ (0, x.jsx)(yA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(vA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, x.jsx)(wA, {
summary: "凭据文件",
children: /* @__PURE__ */ (0, x.jsx)(TL, {
path: e.path,
@@ -67025,7 +67033,7 @@ function nje({ row: e, readOnly: t, toast: n }) {
]
});
}
-function rje({ row: e, readOnly: t, toast: n }) {
+function ije({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
@@ -67037,8 +67045,8 @@ function rje({ row: e, readOnly: t, toast: n }) {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, x.jsx)(tje, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ /* @__PURE__ */ (0, x.jsx)(nje, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(eA, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -67047,15 +67055,15 @@ function rje({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, x.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, x.jsx)(yA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(vA, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, x.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, x.jsx)(TA, {
+ /* @__PURE__ */ (0, x.jsx)(wA, {
summary: Hr(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Hr(e),
- children: /* @__PURE__ */ (0, x.jsx)(nje, {
+ children: /* @__PURE__ */ (0, x.jsx)(rje, {
row: e,
readOnly: t,
toast: n
@@ -67064,15 +67072,15 @@ function rje({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "凭据文件权限过宽",
- children: $Ae
+ children: eje
}) : null
]
});
}
-function ije({ data: e, readOnly: t, toast: n }) {
+function aje({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Hr(e));
return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -67105,36 +67113,36 @@ function ije({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, x.jsx)("div", {
- className: iA({
+ className: rA({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(rje, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(ije, {
row: e,
readOnly: t,
toast: n
}, e.provider))
})]
}, e.title))]
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Yme,
+ icon: Xme,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region src/configuration-copy.ts
-var aje = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", oje = "只填域名,留空用默认地址";
+var oje = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", sje = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function sje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.sites), i = uA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function cje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.sites), i = lA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "作品资料站点",
onSubmit: (e) => {
e.preventDefault();
@@ -67143,9 +67151,9 @@ function sje({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [
- /* @__PURE__ */ (0, x.jsx)(yA, { children: aje }),
- n.map((e) => /* @__PURE__ */ (0, x.jsx)(WN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: oje }),
+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(UN, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -67154,10 +67162,10 @@ function sje({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: oje
+ hint: sje
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(vA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsx)(_A, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(i.busy === "save"),
children: "保存配置"
@@ -67167,45 +67175,45 @@ function sje({ initial: e, receipt: t }) {
//#endregion
//#region src/react/settings/indexer-settings.tsx
var uU = "/api/configuration/indexers";
-function cje({ receipt: e }) {
+function lje({ receipt: e }) {
let t = dt({
queryKey: ["indexers"],
queryFn: ({ signal: e }) => V(uU, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(lje, {
+ return t.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(uje, {
initial: t.data,
receipt: e
}) : null;
}
-function lje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.indexers), i = uA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function uje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.indexers), i = lA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(hA, {
+ return /* @__PURE__ */ (0, x.jsxs)(mA, {
title: "资源搜索",
onSubmit: (e) => {
e.preventDefault(), i.run("save", (e) => H(uU, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(_A, { children: [
- /* @__PURE__ */ (0, x.jsx)(TA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(gA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(wA, {
summary: "索引器连接帮助",
- children: /* @__PURE__ */ (0, x.jsx)(yA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
+ children: /* @__PURE__ */ (0, x.jsx)(vA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
}),
n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -67214,7 +67222,7 @@ function lje({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -67244,8 +67252,8 @@ function lje({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(vA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(_A, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
@@ -67266,7 +67274,7 @@ function lje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function uje({ data: e, receipt: t, panel: n }) {
+function dje({ data: e, receipt: t, panel: n }) {
let r = dt({
queryKey: zn,
queryFn: ({ signal: e }) => fr(e),
@@ -67276,12 +67284,12 @@ function uje({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
...YH(n),
children: [
- /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(rA, {
+ /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(nA, {
href: "/sources",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, x.jsx)(ije, {
+ r.data ? /* @__PURE__ */ (0, x.jsx)(aje, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -67289,24 +67297,24 @@ function uje({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: B(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(oA, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(sje, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(aA, { label: "正在读取来源凭据" }),
+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(cje, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(cje, { receipt: t }),
- /* @__PURE__ */ (0, x.jsx)(MAe, { receipt: t })
+ /* @__PURE__ */ (0, x.jsx)(lje, { receipt: t }),
+ /* @__PURE__ */ (0, x.jsx)(NAe, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function dje({ receipt: e, reopenTutorial: t, section: n = "" }) {
+function fje({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = dt({
queryKey: KH,
queryFn: ({ signal: e }) => qH(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, x.jsx)(pje, {
+ return i ? /* @__PURE__ */ (0, x.jsx)(mje, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -67320,16 +67328,16 @@ function dje({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var fje = 0;
-function pje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, b.useState)(() => `board-tabs-${++fje}`), [a, o] = (0, b.useState)(r);
+var pje = 0;
+function mje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, b.useState)(() => `board-tabs-${++pje}`), [a, o] = (0, b.useState)(r);
(0, b.useEffect)(() => {
o(r);
}, [r]);
let s = (e) => {
- o(e), fk(PO(e), {
+ o(e), dk(NO(e), {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
}, [c, l] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
@@ -67342,21 +67350,21 @@ function pje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, f = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), p = e.downloads, m = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(RAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(zAe, {
...d,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(uje, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(dje, {
...d,
panel: e
})
},
...p ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(tAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(nAe, {
initial: p,
receipt: t,
panel: e
@@ -67364,7 +67372,7 @@ function pje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...f ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(XAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(ZAe, {
...d,
panel: e
})
@@ -67373,7 +67381,7 @@ function pje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {
...YH(e),
- children: [/* @__PURE__ */ (0, x.jsx)(mAe, { ...d }), /* @__PURE__ */ (0, x.jsx)(sAe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hAe, { ...d }), /* @__PURE__ */ (0, x.jsx)(cAe, {
...d,
reopenTutorial: n
})]
@@ -67424,7 +67432,7 @@ function pje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var mje = [
+var hje = [
[
"strength",
"强度",
@@ -67451,7 +67459,7 @@ var mje = [
100
]
];
-function hje({ host: e, spot: t, index: n, glow: r }) {
+function gje({ host: e, spot: t, index: n, glow: r }) {
let i = Ace[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");
(0, b.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -67490,7 +67498,7 @@ function hje({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-down" })
+ /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "popmenu",
@@ -67529,7 +67537,7 @@ function hje({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function gje({ host: e }) {
+function _je({ host: e }) {
let t = e.store.value.homeGlow, n = PT(t.preset);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-glow-setting": "",
@@ -67548,7 +67556,7 @@ function gje({ host: e }) {
children: jce(t.preset)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(kE, {
+ /* @__PURE__ */ (0, x.jsx)(lle, {
store: e.store,
label: "光晕配色"
}),
@@ -67559,7 +67567,7 @@ function gje({ host: e }) {
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-fields": "",
- children: mje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(Oke, {
+ children: hje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(kke, {
field: r,
label: i,
max: a,
@@ -67581,7 +67589,7 @@ function gje({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-stops": "",
- children: jT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(hje, {
+ children: jT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(gje, {
host: e,
spot: n,
index: r,
@@ -67606,7 +67614,7 @@ function gje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var _je = {
+var vje = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -67654,7 +67662,7 @@ function fU(e, t) {
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
function pU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = _je[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
+ let a = vje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
d.current ||= bT(Number(localStorage.getItem(dU(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, b.useState)(n ?? 0), [m, h] = (0, b.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, b.useState)(""), v = (0, b.useRef)(null), y = (0, b.useRef)(i);
y.current = i, (0, b.useLayoutEffect)(() => {
@@ -67739,8 +67747,8 @@ function hU(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var vje = "__home__", gU = (e) => e === "" ? vje : e;
-function yje({ host: e }) {
+var yje = "__home__", gU = (e) => e === "" ? yje : e;
+function bje({ host: e }) {
let t = mU(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
let a = hU(n, e, r, i);
a && t(a);
@@ -67802,9 +67810,9 @@ function yje({ host: e }) {
/* @__PURE__ */ (0, x.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(nO, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(tO, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, x.jsx)(nO, { name: a ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(tO, { name: a ?? "" }),
/* @__PURE__ */ (0, x.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -67818,7 +67826,7 @@ function yje({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67828,7 +67836,7 @@ function yje({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67840,7 +67848,7 @@ function yje({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, x.jsx)(nO, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, x.jsx)(tO, { name: "eye-off" })
})
]
})]
@@ -67860,13 +67868,13 @@ function yje({ host: e }) {
ref: m,
onClick: S,
children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(nO, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(tO, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nO, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(tO, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -67884,7 +67892,7 @@ function yje({ host: e }) {
onClick: () => {
s(gU(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, x.jsx)(nO, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, x.jsx)(tO, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
}, gU(e)))
}) : null]
}), /* @__PURE__ */ (0, x.jsx)("button", {
@@ -67908,7 +67916,7 @@ var _U = [
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], bje = [
+], xje = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -67917,7 +67925,7 @@ var _U = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], xje = [["desc", "降序"], ["asc", "升序"]], Sje = [[
+], Sje = [["desc", "降序"], ["asc", "升序"]], Cje = [[
"cover",
"官方封面",
""
@@ -67925,7 +67933,7 @@ var _U = [
"thumbnail",
"预览图",
""
-]], Cje = [
+]], wje = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -67944,32 +67952,32 @@ var _U = [
"切片",
"隐藏切片"
]
-], wje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", vU = null, yU = {
+], Tje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", vU = null, yU = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
}, bU = 0, xU = null, SU = /* @__PURE__ */ new Set();
-function Tje(e) {
+function Eje(e) {
return SU.add(e), () => {
SU.delete(e);
};
}
-function Eje() {
+function Dje() {
for (let e of [...SU]) e();
}
function CU(e) {
yU = {
...yU,
...e
- }, (0, mt.flushSync)(Eje);
+ }, (0, mt.flushSync)(Dje);
}
-async function Dje(e) {
+async function Oje(e) {
let t = yU.epoch, n = await e.configurable();
yU.open && yU.epoch === t && CU({ configurable: n });
}
-function Oje(e = "") {
+function kje(e = "") {
let t = vU;
if (!t) return;
let n = _U.findIndex(([t]) => t === e);
@@ -67978,7 +67986,7 @@ function Oje(e = "") {
return;
}
Ra(), bU += 1, xU ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = xxe();
+ let r = Sxe();
CU({
open: !0,
closing: !1,
@@ -67987,7 +67995,7 @@ function Oje(e = "") {
tab: n >= 0 ? n : yU.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Dje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), Oje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function wU(e = !0) {
if (!yU.open || yU.closing) return;
@@ -68001,31 +68009,31 @@ function wU(e = !0) {
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var kje = {
- open: Oje,
+var Aje = {
+ open: kje,
close: wU,
isOpen: () => yU.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function Aje(e) {
- return vU = e, kje;
+function jje(e) {
+ return vU = e, Aje;
}
-function jje() {
- let e = (0, b.useSyncExternalStore)(Tje, () => yU);
- return vU ? /* @__PURE__ */ (0, x.jsx)(Pje, {
+function Mje() {
+ let e = (0, b.useSyncExternalStore)(Eje, () => yU);
+ return vU ? /* @__PURE__ */ (0, x.jsx)(Fje, {
host: vU,
view: e
}) : null;
}
-function Mje(e) {
+function Nje(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(wje)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Tje)].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 TU = (e) => `settings-tab-${e}`, EU = (e) => `settings-group-${e}`;
-function Nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+function Pje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(e), l = (0, b.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -68097,7 +68105,7 @@ function Nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(nO, { name: n }) : /* @__PURE__ */ (0, x.jsx)(yfe, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(tO, { name: n }) : /* @__PURE__ */ (0, x.jsx)(bfe, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-settings-service": "",
@@ -68108,9 +68116,9 @@ function Nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(nO, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, x.jsx)(tO, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-right" })
]
})
})
@@ -68152,7 +68160,7 @@ function kU({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, x.jsx)("small", { children: t }) : t] }), r]
});
}
-function Pje({ host: e, view: t }) {
+function Fje({ host: e, view: t }) {
(0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -68184,7 +68192,7 @@ function Pje({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Mje,
+ onKeyDown: Nje,
onClick: (e) => {
e.target === e.currentTarget && wU();
},
@@ -68198,13 +68206,13 @@ function Pje({ host: e, view: t }) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "settingsTitle",
children: _U[t.tab][0]
- }), /* @__PURE__ */ (0, x.jsx)(YN, {
+ }), /* @__PURE__ */ (0, x.jsx)(JN, {
id: "settingsClose",
label: "关闭设置",
onPress: () => wU()
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Nje, {
+ /* @__PURE__ */ (0, x.jsx)(Pje, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
@@ -68267,23 +68275,23 @@ function Pje({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, x.jsx)(gje, { host: e }),
+ /* @__PURE__ */ (0, x.jsx)(_je, { host: e }),
/* @__PURE__ */ (0, x.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: /* @__PURE__ */ (0, x.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, x.jsx)(yje, { host: e })]
+ }) }), /* @__PURE__ */ (0, x.jsx)(bje, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Ije, {
+ /* @__PURE__ */ (0, x.jsx)(Lje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(Lje, {
+ /* @__PURE__ */ (0, x.jsx)(Rje, {
host: e,
tab: t.tab,
epoch: d
@@ -68292,7 +68300,7 @@ function Pje({ host: e, view: t }) {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(Bje, {
+ /* @__PURE__ */ (0, x.jsx)(Vje, {
host: e,
epoch: d
}),
@@ -68314,7 +68322,7 @@ function Pje({ host: e, view: t }) {
title: "口味与记录",
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, x.jsx)(rA, {
+ children: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
href: "/taste",
onClick: () => wU(!1),
@@ -68342,7 +68350,7 @@ function Pje({ host: e, view: t }) {
})
});
}
-function Fje(e, t) {
+function Ije(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Co("arrow-up", "arrow-down", "a", {
@@ -68352,7 +68360,7 @@ function Fje(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function Ije({ host: e, tab: t, epoch: n }) {
+function Lje({ 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, x.jsxs)(DU, {
index: 1,
@@ -68380,7 +68388,7 @@ function Ije({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, x.jsx)(NH, {
id: "defaultSortSetting",
label: "默认排序",
- options: bje,
+ options: xje,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -68389,7 +68397,7 @@ function Ije({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, x.jsx)(NH, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: xje,
+ options: Sje,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -68397,7 +68405,7 @@ function Ije({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Fje(e, o)
+ decorate: (e) => Ije(e, o)
})]
})
}),
@@ -68416,14 +68424,14 @@ function Ije({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(zje, {
+ /* @__PURE__ */ (0, x.jsx)(Bje, {
host: e,
epoch: n
})
]
});
}
-function Lje({ host: e, tab: t, epoch: n }) {
+function Rje({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, x.jsxs)(DU, {
index: 2,
@@ -68439,7 +68447,7 @@ function Lje({ host: e, tab: t, epoch: n }) {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: Sje,
+ options: Cje,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -68475,7 +68483,7 @@ function Lje({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- Cje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Rje, {
+ wje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(zje, {
host: e,
id: t,
settingKey: n,
@@ -68485,7 +68493,7 @@ function Lje({ host: e, tab: t, epoch: n }) {
]
});
}
-function Rje({ host: e, id: t, settingKey: n, label: r, title: i }) {
+function zje({ host: e, id: t, settingKey: n, label: r, title: i }) {
let a = OI(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
s(t), fs(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
@@ -68510,7 +68518,7 @@ function Rje({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function zje({ host: e, epoch: t }) {
+function Bje({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)(kU, {
@@ -68559,7 +68567,7 @@ function zje({ host: e, epoch: t }) {
})
] });
}
-function Bje({ host: e, epoch: t }) {
+function Vje({ host: e, epoch: t }) {
let n = e.store.value, r = OI();
return /* @__PURE__ */ (0, x.jsx)(kU, {
title: "搜索记录数量",
@@ -68578,7 +68586,7 @@ function Bje({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var AU = "__home__", Vje = {
+var AU = "__home__", Hje = {
creator: 26,
tag: 30,
tech: 16
@@ -68590,7 +68598,7 @@ var AU = "__home__", Vje = {
},
epoch: 0
}, PU = /* @__PURE__ */ new Set();
-function Hje(e) {
+function Uje(e) {
return PU.add(e), () => {
PU.delete(e);
};
@@ -68598,7 +68606,7 @@ function Hje(e) {
function FU() {
for (let e of [...PU]) e();
}
-var Uje = {
+var Wje = {
render(e) {
NU = {
...NU,
@@ -68612,7 +68620,7 @@ var Uje = {
}, (0, mt.flushSync)(FU);
}
};
-function Wje(e) {
+function Gje(e) {
return MU = e, NU = {
...NU,
props: {
@@ -68620,26 +68628,26 @@ function Wje(e) {
filters: {},
latest: null
}
- }, Uje;
+ }, Wje;
}
-function Gje() {
- let e = (0, b.useSyncExternalStore)(Hje, () => NU);
- return MU ? /* @__PURE__ */ (0, x.jsx)(Kje, {
+function Kje() {
+ let e = (0, b.useSyncExternalStore)(Uje, () => NU);
+ return MU ? /* @__PURE__ */ (0, x.jsx)(qje, {
host: MU,
props: e.props,
epoch: e.epoch
}) : null;
}
-function Kje({ host: e, props: t, epoch: n }) {
+function qje({ host: e, props: t, epoch: n }) {
let r = (0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, x.jsx)(qje, {
+ /* @__PURE__ */ (0, x.jsx)(Jje, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, x.jsx)(Yje, {
+ t.content ? /* @__PURE__ */ (0, x.jsx)(Xje, {
host: e,
content: t.content,
filters: t.filters,
@@ -68647,8 +68655,8 @@ function Kje({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function qje({ host: e, epoch: t, version: n }) {
- let r = mU(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = nj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || AU : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function Jje({ host: e, epoch: t, version: n }) {
+ let r = mU(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = tj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || AU : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, b.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -68704,7 +68712,7 @@ function qje({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, x.jsx)(nO, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ }) : /* @__PURE__ */ (0, x.jsx)(tO, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}, t || AU))
}), v ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-glide": "",
@@ -68713,7 +68721,7 @@ function qje({ host: e, epoch: t, version: n }) {
}), v) : null] });
}
var IU = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function Jje(e) {
+function Yje(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -68726,7 +68734,7 @@ function Jje(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function Yje({ host: e, content: t, filters: n, latest: r }) {
+function Xje({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, b.useLayoutEffect)(() => {
t.kind === "catalog" && ko(e.scroll, "drawer");
@@ -68735,8 +68743,8 @@ function Yje({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? Xje(e, t.facets, n, r, i) : Zje(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(Qje, {
+ let a = t.kind === "catalog" ? Zje(e, t.facets, n, r, i) : Qje(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)($je, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -68745,8 +68753,8 @@ function Yje({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function Xje(e, t, n, r, i) {
- let a = Jje(r), o = (t, r, i) => {
+function Zje(e, t, n, r, i) {
+ let a = Yje(r), o = (t, r, i) => {
if (!t.length) return null;
let o = IU(n, r);
return /* @__PURE__ */ (0, x.jsx)(zU, {
@@ -68771,12 +68779,12 @@ function Xje(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, x.jsx)(eMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(tMe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: Vje[d],
+ limit: Hje[d],
filterKey: l,
selected: f,
counts: a,
@@ -68814,7 +68822,7 @@ function Xje(e, t, n, r, i) {
} : null
];
}
-function Zje(e, t, n) {
+function Qje(e, t, n) {
let r = t.providers || [], i = IU(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
@@ -68861,7 +68869,7 @@ function LU(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function Qje({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function $je({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => LU(e, n)), u = (0, b.useRef)(!1);
(0, b.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -68887,7 +68895,7 @@ function Qje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -68908,8 +68916,8 @@ function Qje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var RU = (0, b.createContext)(() => {});
-function $je({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(nO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
+function eMe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(tO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
@@ -68932,7 +68940,7 @@ function zU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, x.jsx)($je, { dot: e.dot }),
+ /* @__PURE__ */ (0, x.jsx)(eMe, { dot: e.dot }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -68947,7 +68955,7 @@ function zU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function eMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+function tMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
let u = (0, b.useContext)(RU), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
p !== e && (m(e), f(null));
let h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
@@ -68988,7 +68996,7 @@ function eMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, x.jsx)(nO, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(tO, { name: "chevron-down" })
}) : null] });
}
function BU({ rows: e, host: t, selected: n, badges: r }) {
@@ -69084,23 +69092,23 @@ function HU({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var tMe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${io({
+var nMe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${io({
label: "保存配置",
attrs: "disabled data-skeleton-action"
})}</div></div></section>`, UU = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
-function nMe() {
+function rMe() {
return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${[
"媒体库与入库",
"来源与订阅",
"下载渠道",
"网络与访问",
"应用与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${tMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${UU("媒体文件夹", "", "ui-configuration-skeleton-select")}${UU("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${nMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${UU("媒体文件夹", "", "ui-configuration-skeleton-select")}${UU("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
var WU = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", GU = (e = "60%") => `<span class="${WU} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, KU = "disabled data-skeleton-action", qU = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function rMe() {
+function iMe() {
let e = [
"馆藏视频",
"看过",
@@ -69141,7 +69149,7 @@ function rMe() {
</section>
</div></div>`;
}
-function iMe() {
+function aMe() {
let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = [
"浏览记录",
"口味维度",
@@ -69197,7 +69205,7 @@ function iMe() {
</div>
</div></div>`;
}
-function aMe() {
+function oMe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
<span class="${WU} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
<span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${GU("70%")}</span>
@@ -69225,7 +69233,7 @@ function aMe() {
${t.repeat(2)}
</div></div>`;
}
-function oMe() {
+function sMe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
<div class="flex min-w-0 gap-4"><span class="${WU} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
<div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${GU("80%")}</h3><p class="text-body-2-regular">${GU("60%")}</p></div>
@@ -69244,18 +69252,18 @@ function oMe() {
}
//#endregion
//#region src/board-skeleton.ts
-var JU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YU = () => `${JU("80%")}${JU("48%")}`, XU = (e, t) => e.repeat(t), ZU = "disabled data-skeleton-action", QU = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, $U = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, sMe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", eW = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var JU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YU = () => `${JU("80%")}${JU("48%")}`, XU = (e, t) => e.repeat(t), ZU = "disabled data-skeleton-action", QU = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, $U = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, cMe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", eW = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${sMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${QU("3em")}</b></div>`).join("")}</div>`, tW = [
+].map((e) => `<div class="${cMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${QU("3em")}</b></div>`).join("")}</div>`, tW = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], cMe = (e = "") => tW.some(([t]) => t === e) ? e : "list", nW = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${tW.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, rW = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, lMe = ({ table: e, sort: t, dir: n }) => {
+], lMe = (e = "") => tW.some(([t]) => t === e) ? e : "list", nW = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${tW.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, rW = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, uMe = ({ table: e, sort: t, dir: n }) => {
let r = dn.find(([e]) => e === t)[1];
return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${QU("132px")}</span></span>${io({
glyph: "refresh-cw",
@@ -69290,7 +69298,7 @@ var JU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YU
size: "small",
glyph: "trash",
attrs: ZU
-})}</span>`, uMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${rW()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${QU("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${$U(14, 14)}</span>${$U(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${QU("113px")}</span>${iW()}</span></div>`, aW = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${$U(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${QU("92px")}</b>${io({
+})}</span>`, dMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${rW()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${QU("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${$U(14, 14)}</span>${$U(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${QU("113px")}</span>${iW()}</span></div>`, aW = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${$U(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${QU("92px")}</b>${io({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
@@ -69307,13 +69315,13 @@ var JU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YU
glyph: "chevron-up",
label: "收起",
attrs: ZU
-})}</span></div><div data-source-divider>${XU(uMe(), e)}</div></section>`, dMe = () => {
+})}</span></div><div data-source-divider>${XU(dMe(), e)}</div></section>`, fMe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, fMe = [
+}, pMe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -69321,13 +69329,13 @@ var JU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YU
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], pMe = {
+], mMe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, mMe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", hMe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${fMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${pMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${mMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${XU(`<tr>${[
+}, hMe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", gMe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${pMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${mMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${hMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${XU(`<tr>${[
rW(),
`<span class="flex min-w-0 items-center gap-2">${$U(32, 32, !0)}${QU("5em")}</span>`,
QU("10em"),
@@ -69335,50 +69343,50 @@ var JU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YU
$U(48, 24),
QU("113px"),
iW()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, gMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${QU("111px")}</span>${oo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${$U(204, 32)}</div>`, _Me = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${QU("120px")}</h3>${[
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, _Me = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${QU("111px")}</span>${oo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${$U(204, 32)}</div>`, vMe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${QU("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${QU(e)}</span>`).join("")}</div>`, vMe = (e) => {
- let t = cMe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${eW()}<div class="flex flex-col gap-6">${nW(t)}<div class="flex flex-col gap-4">${_Me()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = hn(e.followSort, e.followDir), i = e.followPageSize || dMe(), a = n ? hMe(i, r) : `${rW("全选本页")}<div class="flex flex-col gap-3">${aW(3)}${aW(4)}${aW(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${eW()}<div class="flex flex-col gap-6">${nW(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${lMe({
+].map((e) => `<span class="text-body-medium">${QU(e)}</span>`).join("")}</div>`, yMe = (e) => {
+ let t = lMe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${eW()}<div class="flex flex-col gap-6">${nW(t)}<div class="flex flex-col gap-4">${vMe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = hn(e.followSort, e.followDir), i = e.followPageSize || fMe(), a = n ? gMe(i, r) : `${rW("全选本页")}<div class="flex flex-col gap-3">${aW(3)}${aW(4)}${aW(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${eW()}<div class="flex flex-col gap-6">${nW(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${uMe({
table: n,
...r
- })}${a}${gMe(n, i)}</div></div></div></div></div>`;
+ })}${a}${_Me(n, i)}</div></div></div></div></div>`;
};
-function yMe() {
+function bMe() {
return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${JU("85%")}${JU("65%")}${XU(YU(), 4)}</div></aside></div>`;
}
-function bMe(e, t = {}) {
+function xMe(e, t = {}) {
let n = "";
- if (e === "/stats") n = rMe();
- else if (e === "/jav") n = sOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = iMe();
- else if (e === "/subscriptions") n = vMe(t);
- else if (e === "/settings/library") n = nMe();
+ if (e === "/stats") n = iMe();
+ else if (e === "/jav") n = cOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = aMe();
+ else if (e === "/subscriptions") n = yMe(t);
+ else if (e === "/settings/library") n = rMe();
else if (e === "/tasks") n = `<div class="ui-activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${JU("35%")}${YU()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = aMe();
- else if (e === "/quality-goals") n = oMe();
+ else if (e === "/duplicates") n = oMe();
+ else if (e === "/quality-goals") n = sMe();
else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${JU("200px")}</div></header><div class="ui-playlistcards">${XU(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${YU()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var oW = (e) => ["follow-item", e], xMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, SMe = "/api/follow/save", CMe = "/api/follow/media/hide", sW = class extends Error {
+var oW = (e) => ["follow-item", e], SMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, CMe = "/api/follow/save", wMe = "/api/follow/media/hide", sW = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
async function cW(e, t) {
- let n = await V(xMe(e), t);
+ let n = await V(SMe(e), t);
for (let t of n.groups || []) {
let r = ti(t).find((t) => t.id === e);
if (r) return {
@@ -69390,7 +69398,7 @@ async function cW(e, t) {
}
throw new sW();
}
-function wMe(e) {
+function TMe(e) {
for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ti(t.group).find((t) => t.id === e);
@@ -69408,13 +69416,13 @@ async function lW(e, t) {
}), a = r ? {
...r,
item: r.item
- } : U.getQueryData(n) ?? wMe(e.id);
+ } : U.getQueryData(n) ?? TMe(e.id);
a ? U.setQueryData(n, a) : await U.fetchQuery({
queryKey: n,
queryFn: () => cW(e.id, t)
}), await i;
}
-function TMe(e, t, n, r) {
+function EMe(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 && li(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,
@@ -69429,32 +69437,32 @@ function TMe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var EMe = (e) => ti(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), DMe = {
+var DMe = (e) => ti(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), OMe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, OMe = {
+}, kMe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function kMe(e) {
+function AMe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return DMe[t] || t;
+ return OMe[t] || t;
} catch {
return "外部文件页";
}
}
function uW(e, t) {
- return OMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return kMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function AMe(e, t, n = "") {
+function jMe(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;
@@ -69463,16 +69471,16 @@ function AMe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var jMe = (e) => String(e.name || "").trim(), dW = (e, t) => e.tag_types?.[t] || "unknown", MMe = /* @__PURE__ */ new Set([
+var MMe = (e) => String(e.name || "").trim(), dW = (e, t) => e.tag_types?.[t] || "unknown", NMe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function NMe(e, t) {
+function PMe(e, t) {
let n = dW(e, t);
- return `r34-${MMe.has(n) ? n : "general"}`;
+ return `r34-${NMe.has(n) ? n : "general"}`;
}
var fW = [
"copyright",
@@ -69481,7 +69489,7 @@ var fW = [
"general",
"metadata"
];
-function PMe(e, t) {
+function FMe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = fW.indexOf(dW(e, t));
return n < 0 ? fW.length : n;
@@ -69492,12 +69500,12 @@ function pW(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 FMe = (e, t) => ({
+var IMe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), mW = (e) => e?.size ? { size: e.size } : {};
-function IMe(e, t) {
+function LMe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -69518,7 +69526,7 @@ function IMe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var LMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", hW = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => No(e, {
+var RMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", hW = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => No(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -69526,7 +69534,7 @@ var LMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", hW
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), RMe = [
+}), zMe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -69536,15 +69544,15 @@ var LMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", hW
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], zMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], BMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${RMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${zMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, BMe = {
- ...Object.fromEntries(Object.keys(jO).map((e) => [`/settings/${e}`, () => Mo()])),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, VMe = {
+ ...Object.fromEntries(Object.keys(AO).map((e) => [`/settings/${e}`, () => Mo()])),
"/data-cleanup": () => gL(),
"/resource-sync": () => gL(),
- "/review": () => zMe(),
+ "/review": () => BMe(),
"/diagnostics": () => Mo(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
${hW("正在读取采集来源", {
@@ -69555,13 +69563,13 @@ var LMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", hW
})}</div>`
};
function gW(e, { followLayout: t, followSort: n, followDir: r }) {
- return bMe(e, {
+ return xMe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (BMe[e] ?? (() => hW("正在读取页面")))();
+ }) || (VMe[e] ?? (() => hW("正在读取页面")))();
}
var _W = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
function vW(e, t) {
@@ -69589,9 +69597,9 @@ function yW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
})
}) : r && !n ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, x.jsx)(aA, {
+ children: /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: ohe,
+ icon: she,
title: "暂无接着看的内容",
children: "可以回到列表挑选其他作品。"
})
@@ -69678,7 +69686,7 @@ function xW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(VMe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(HMe, {
item: e,
selected: r === t,
label: e.label || `第 ${r + 1} 张`,
@@ -69700,7 +69708,7 @@ function xW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function VMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
+function HMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(typeof IntersectionObserver > "u");
return (0, b.useEffect)(() => {
if (!a.current || o) return;
@@ -69725,7 +69733,7 @@ function VMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var HMe = (e, t, n) => [
+var UMe = (e, t, n) => [
"follow-feed",
"related",
e,
@@ -69747,7 +69755,7 @@ function SW(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-async function UMe(e, t, n, r) {
+async function WMe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ci(i),
status: "new",
@@ -69768,11 +69776,11 @@ async function UMe(e, t, n, r) {
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var CW = (e) => Number(e) > 0, WMe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var CW = (e) => Number(e) > 0, GMe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
}), wW = R("external-link", "ui-externalmark");
-function GMe(e) {
+function KMe(e) {
let { id: t, actions: n } = e, r = dt({
queryKey: oW(t),
queryFn: ({ signal: e }) => cW(t, e)
@@ -69780,10 +69788,10 @@ function GMe(e) {
queryKey: Xr,
queryFn: ({ signal: e }) => Zr(e)
}), a = (0, b.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, b.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, x.jsx)(JMe, {
+ return r.data ? /* @__PURE__ */ (0, x.jsx)(YMe, {
...e,
data: r.data,
- context: FMe(r.data, a),
+ context: IMe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, x.jsx)("div", {
@@ -69794,7 +69802,7 @@ function GMe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, x.jsx)(TW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? KMe(r.error) ? /* @__PURE__ */ (0, x.jsx)(qMe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(VP, {
+ children: r.isError ? qMe(r.error) ? /* @__PURE__ */ (0, x.jsx)(JMe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(VP, {
message: Et(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -69802,8 +69810,8 @@ function GMe(e) {
})
});
}
-var KMe = (e) => e instanceof sW || e instanceof ln && e.status === 404;
-function qMe({ onBack: e }) {
+var qMe = (e) => e instanceof sW || e instanceof ln && e.status === 404;
+function JMe({ onBack: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -69821,8 +69829,8 @@ var TW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function JMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = TMe(c, l, n, i), d = eNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
+function YMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = EMe(c, l, n, i), d = tNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
key: "",
kind: ""
}), h = {
@@ -69842,7 +69850,7 @@ function JMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? EMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(kW, {
+ let g = !u.embedded.length && u.collection ? DMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(kW, {
item: c,
current: u.selected.index,
helpers: o,
@@ -69855,7 +69863,7 @@ function JMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, x.jsx)(ZMe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(QMe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -69865,14 +69873,14 @@ function JMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(XMe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ZMe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, x.jsx)(QMe, {
+ }, f), /* @__PURE__ */ (0, x.jsx)($Me, {
item: c,
data: e,
context: t,
@@ -69884,7 +69892,7 @@ function JMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
})]
}), /* @__PURE__ */ (0, x.jsx)(bW, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(YMe, {
+ children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(XMe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -69894,10 +69902,10 @@ function JMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function YMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function XMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = dt({
- queryKey: HMe(e.item.id, t, n),
- queryFn: ({ signal: r }) => UMe(e, t, n, r)
+ queryKey: UMe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => WMe(e, t, n, r)
}), [s] = (0, b.useState)(() => hW("正在读取推荐", {
cards: !0,
className: "related-skeleton"
@@ -69936,8 +69944,8 @@ function YMe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function XMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), p = IMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g), S = (0, b.useRef)({
+function ZMe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), p = LMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g), S = (0, b.useRef)({
item: e,
selected: o
}), C = (0, b.useRef)(i.failed);
@@ -69996,7 +70004,7 @@ function OW(e) {
t && e.wireDrag(t);
}, [e]);
}
-function ZMe({ group: e, itemId: t, helpers: n, actions: r }) {
+function QMe({ group: e, itemId: t, helpers: n, actions: r }) {
let i = li(e), a = OW(n);
return /* @__PURE__ */ (0, x.jsx)(bF, {
kind: "collection",
@@ -70006,7 +70014,7 @@ function ZMe({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${vP(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = AMe(e, n, i ? n.provider_label : ""), o = i ? gP(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = jMe(e, n, i ? n.provider_label : ""), o = i ? gP(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, x.jsxs)(xF, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -70054,7 +70062,7 @@ function kW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${vP(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(dbe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(fbe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(xF, {
@@ -70066,7 +70074,7 @@ function kW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(DW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(EW, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-middle-truncate": "",
- children: jMe(n)
+ children: MMe(n)
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -70074,13 +70082,13 @@ function kW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function QMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function $Me({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = wP(d, e), p = SP(e, pW(e, t.sources), n), m = p.credited ? "" : e.author && Wt(e.author) !== Wt(p.author) ? e.author : "", h = TP(e, n), g = PMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = wP(d, e), p = SP(e, pW(e, t.sources), n), m = p.credited ? "" : e.author && Wt(e.author) !== Wt(p.author) ? e.author : "", h = TP(e, n), g = FMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -70162,7 +70170,7 @@ function QMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, x.jsx)($Me, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, x.jsx)(eNe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -70185,7 +70193,7 @@ function QMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [kMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [AMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: wW }
})]
@@ -70287,7 +70295,7 @@ function QMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(DW, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(WMe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(DW, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(GMe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -70301,7 +70309,7 @@ function QMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- "data-tag-cat": NMe(e, t),
+ "data-tag-cat": PMe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -70311,7 +70319,7 @@ function QMe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function $Me({ text: e }) {
+function eNe({ text: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -70334,7 +70342,7 @@ function $Me({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function eNe(e, t, n) {
+function tNe(e, t, n) {
let r = e.id, i = oW(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -70354,7 +70362,7 @@ function eNe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && zV(), t.toast(LMe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && zV(), t.toast(RMe(n), { undo: i === "saved" ? void 0 : async () => {
await H(Nn, {
item: r,
to: i
@@ -70364,7 +70372,7 @@ function eNe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = ft({
- mutationFn: () => H(SMe, { item: r }),
+ mutationFn: () => H(CMe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -70372,7 +70380,7 @@ function eNe(e, t, n) {
onSettled: () => l("save", !1)
}), m = ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await H(CMe, {
+ await H(wMe, {
item: r,
media: e,
hidden: t
@@ -70388,8 +70396,8 @@ function eNe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = dt({
- queryKey: hOe(r),
- queryFn: ({ signal: e }) => vOe(r, e)
+ queryKey: gOe(r),
+ queryFn: ({ signal: e }) => yOe(r, e)
}).data?.want ?? null, g = ft({
mutationFn: async (e) => (e ? await RV([e.id]) : await LV({ follow: r }), !e),
onSuccess: (e) => {
@@ -70602,13 +70610,13 @@ function PW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var FW = (e) => ["jav-detail", e], IW = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), tNe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), LW = (e, t) => U.ensureQueryData({
+var FW = (e) => ["jav-detail", e], IW = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), nNe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), LW = (e, t) => U.ensureQueryData({
queryKey: FW(e.code),
queryFn: () => IW(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function nNe(e, t) {
+function rNe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
@@ -70620,18 +70628,18 @@ var RW = "peach.external-player.v1", zW = [
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function rNe(e, t, n) {
+function iNe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function iNe({ id: e }) {
+function aNe({ id: e }) {
let [t, n] = (0, b.useState)(() => {
try {
return zW.find(([e]) => e === localStorage.getItem(RW))?.[0] || "m3u";
} catch {
return "m3u";
}
- }), [r, i] = (0, b.useState)(null), a = uA();
- return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(_A, { children: [
+ }), [r, i] = (0, b.useState)(null), a = lA();
+ return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(gA, { children: [
/* @__PURE__ */ (0, x.jsx)(NH, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
@@ -70655,37 +70663,37 @@ function iNe({ id: e }) {
})),
children: "生成播放链接"
}),
- a.error ? /* @__PURE__ */ (0, x.jsx)(bA, { children: a.error }) : null,
+ a.error ? /* @__PURE__ */ (0, x.jsx)(yA, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("a", {
- href: rNe(t, r.url, r.playlist),
+ href: iNe(t, r.url, r.playlist),
rel: "noreferrer",
children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${zW.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
}),
- /* @__PURE__ */ (0, x.jsx)(yA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
+ /* @__PURE__ */ (0, x.jsx)(vA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
] }) : null
] })] }, e);
}
//#endregion
//#region src/react/components/overlay-host.ts
-function aNe(e) {
+function oNe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function oNe(e) {
+function sNe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return aNe(n ?? t.body);
+ return oNe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var sNe = "/api/cover-crop", cNe = (e, t) => H(sNe, {
+var cNe = "/api/cover-crop", lNe = (e, t) => H(cNe, {
code: e,
box: t
});
@@ -70704,7 +70712,7 @@ function BW({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-crop" })
});
}
-function lNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function uNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
@@ -70717,13 +70725,13 @@ function lNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: /* @__PURE__ */ (0, x.jsx)(BW, { className: "size-3.75" })
}), /* @__PURE__ */ (0, x.jsx)(cS, {
- getContainer: () => oNe(o.current),
- children: /* @__PURE__ */ (0, x.jsx)(GN, {
+ getContainer: () => sNe(o.current),
+ children: /* @__PURE__ */ (0, x.jsx)(WN, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, x.jsx)(uNe, {
+ children: /* @__PURE__ */ (0, x.jsx)(dNe, {
code: e,
coverUrl: t,
box: n,
@@ -70733,9 +70741,9 @@ function lNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function uNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function dNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = SL(), f = ft({
- mutationFn: (t) => cNe(e, t),
+ mutationFn: (t) => lNe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -70747,7 +70755,7 @@ function uNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Ewe(e, qi);
+ } : Dwe(e, qi);
c(rz(t, e, null));
}
let m = f.isPending;
@@ -70755,11 +70763,11 @@ function uNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(KN, { children: /* @__PURE__ */ (0, x.jsx)(BW, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(GN, { children: /* @__PURE__ */ (0, x.jsx)(BW, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Cj, {
+ /* @__PURE__ */ (0, x.jsx)(Sj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -70775,7 +70783,7 @@ function uNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
]
}),
/* @__PURE__ */ (0, x.jsx)(wL, {
- icon: bk,
+ icon: yk,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -70838,14 +70846,14 @@ var VW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
}), UW = (e) => Number(e) > 0 ? Zt(Number(e)) : "大小未知";
-function dNe(e) {
+function fNe(e) {
let { queue: t, actions: n } = e, r = dt({
- queryKey: t ? fD(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => _D(t, e.helpers, n),
+ queryKey: t ? dD(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => gD(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? vD(i, e.id) : t ? null : e.id, o = dt({
- queryKey: dD(a ?? 0),
- queryFn: ({ signal: e }) => gD(a, e),
+ }), i = t && r.data || null, a = i ? _D(i, e.id) : t ? null : e.id, o = dt({
+ queryKey: uD(a ?? 0),
+ queryFn: ({ signal: e }) => hD(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -70868,9 +70876,9 @@ function dNe(e) {
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(fNe, {
+ return /* @__PURE__ */ (0, x.jsx)(pNe, {
...e,
- item: Wue(o.data, i),
+ item: Gue(o.data, i),
queue: i
}, o.data.id);
}
@@ -70883,23 +70891,23 @@ var WW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function fNe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = ONe(t, r, i.tagLabel), o = (0, b.useRef)(t);
+function pNe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = kNe(t, r, i.tagLabel), o = (0, b.useRef)(t);
(0, b.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, b.useEffect)(() => {
- n?.kind === "playlist" && H(pD, {
+ n?.kind === "playlist" && H(fD, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = ude(t, i.sourceOffline(t.location || "")), c = Gue(n, t.id);
+ let s = dde(t, i.sourceOffline(t.location || "")), c = Kue(n, t.id);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(pNe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(mNe, {
item: t,
gate: s,
helpers: i,
@@ -70912,7 +70920,7 @@ function fNe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, x.jsx)(vNe, {
+ }), /* @__PURE__ */ (0, x.jsx)(yNe, {
item: t,
queue: n,
write: a,
@@ -70921,13 +70929,13 @@ function fNe(e) {
})]
}), /* @__PURE__ */ (0, x.jsx)(bW, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, x.jsx)(hNe, {
+ queue: n ? /* @__PURE__ */ (0, x.jsx)(gNe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(DNe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(ONe, {
...e,
item: n ? {
...t,
@@ -70936,7 +70944,7 @@ function fNe(e) {
}) : null
})] });
}
-function pNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function mNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(-2), d = (0, b.useRef)(!1), f = dt({
queryKey: FW(e.code || ""),
queryFn: ({ signal: t }) => {
@@ -71030,7 +71038,7 @@ function pNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "重试样图"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, x.jsx)(mNe, {
+ t === "offline" ? /* @__PURE__ */ (0, x.jsx)(hNe, {
item: e,
badge: y,
helpers: n,
@@ -71060,7 +71068,7 @@ function pNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
]
});
}
-function mNe({ item: e, badge: t, helpers: n, actions: r }) {
+function hNe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -71085,8 +71093,8 @@ function mNe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function hNe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = ode(e), a = (0, b.useRef)(null), o = _Ne(e, t, r), s = (0, b.useRef)(o);
+function gNe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = sde(e), a = (0, b.useRef)(null), o = vNe(e, t, r), s = (0, b.useRef)(o);
s.current = o;
let c = (0, b.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -71094,7 +71102,7 @@ function hNe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = gNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
+ }, [n, e.kind]), l = _Ne(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -71122,10 +71130,10 @@ function hNe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `javedition ${ide[i.edition_label] || "censored"}`,
+ className: `javedition ${ade[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && Uue(i);
+ }) : null, s = e.kind === "playlist" && Wue(i);
return /* @__PURE__ */ (0, x.jsxs)(xF, {
current: i.id === t,
"data-queue-item": i.id,
@@ -71165,14 +71173,14 @@ function hNe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? xD(i.part_label) : _a(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? bD(i.part_label) : _a(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function gNe(e, t) {
- let n = ft({ mutationFn: (t) => H(pD, {
+function _Ne(e, t) {
+ let n = ft({ mutationFn: (t) => H(fD, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -71185,11 +71193,11 @@ function gNe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function _Ne(e, t, n) {
- let r = fD({
+function vNe(e, t, n) {
+ let r = dD({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (U.setQueryData(r, Hue(e)), e), a = (t) => H(pD, {
+ }), i = (e) => (U.setQueryData(r, Uue(e)), e), a = (t) => H(fD, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = ft({
@@ -71205,8 +71213,8 @@ function _Ne(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = cde(s, t, r, c);
- if (lde(l, s)) return;
+ let l = lde(s, t, r, c);
+ if (ude(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -71248,7 +71256,7 @@ function _Ne(e, t, n) {
}
};
}
-function vNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function yNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-side": "",
@@ -71256,7 +71264,7 @@ function vNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(yNe, {
+ /* @__PURE__ */ (0, x.jsx)(bNe, {
item: e,
queue: t,
helpers: r,
@@ -71268,7 +71276,7 @@ function vNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, x.jsx)(xNe, {
+ /* @__PURE__ */ (0, x.jsx)(SNe, {
item: e,
write: n
}),
@@ -71303,19 +71311,19 @@ function vNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(SNe, {
+ /* @__PURE__ */ (0, x.jsx)(CNe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(CNe, {
+ /* @__PURE__ */ (0, x.jsx)(wNe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(TNe, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(iNe, { id: e.id }, e.id) : null,
+ /* @__PURE__ */ (0, x.jsx)(ENe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(aNe, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -71409,7 +71417,7 @@ function vNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(ENe, {
+ /* @__PURE__ */ (0, x.jsx)(DNe, {
item: e,
open: s,
write: n
@@ -71433,8 +71441,8 @@ function vNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function yNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = MW(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + sde(e, t);
+function bNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = MW(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + cde(e, t);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -71465,19 +71473,19 @@ function yNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, x.jsx)(lNe, {
+ children: /* @__PURE__ */ (0, x.jsx)(uNe, {
code: e.cover_key || e.code || "",
coverUrl: $i(e),
box: e.poster_box || null,
onSaved: (t) => {
U.invalidateQueries({
- queryKey: dD(e.id),
+ queryKey: uD(e.id),
exact: !0
- }), Pue((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), Fue((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(bNe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(xNe, {
id: e.id,
actions: r,
onStatus: i
@@ -71487,7 +71495,7 @@ function yNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function bNe({ id: e, actions: t, onStatus: n }) {
+function xNe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, b.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -71520,14 +71528,14 @@ function bNe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, x.jsx)(VW, { name: "folder-sync" })
})] });
}
-function xNe({ item: e, write: t }) {
- let n = yD(e.rating);
+function SNe({ item: e, write: t }) {
+ let n = vD(e.rating);
return /* @__PURE__ */ (0, x.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": Jue(e.rating),
+ "data-value": Yue(e.rating),
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -71549,12 +71557,12 @@ function xNe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Yue(e.rating)
+ children: Xue(e.rating)
})]
});
}
-function SNe({ item: e, actions: t }) {
- let n = (0, b.useMemo)(() => que(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function CNe({ item: e, actions: t }) {
+ let n = (0, b.useMemo)(() => Jue(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
return /* @__PURE__ */ (0, x.jsx)(AW, {
kind: e,
@@ -71600,7 +71608,7 @@ function SNe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: _k,
+ trailingIcon: gk,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -71625,8 +71633,8 @@ function SNe({ item: e, actions: t }) {
})]
});
}
-function CNe({ item: e, write: t, helpers: n, actions: r }) {
- let i = Zue(e, n);
+function wNe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Que(e, n);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -71648,14 +71656,14 @@ function CNe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, x.jsx)(VW, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, x.jsx)(wNe, {
+ }, e.k)), /* @__PURE__ */ (0, x.jsx)(TNe, {
item: e,
write: t,
helpers: n
})]
});
}
-function wNe({ item: e, write: t, helpers: n }) {
+function TNe({ item: e, write: t, helpers: n }) {
let r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(-1), h = (0, b.useCallback)(() => {
i.current && Va(i.current), c(!1);
}, []);
@@ -71669,7 +71677,7 @@ function wNe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? rde(d, n.tagCandidates(), tde()) : {
+ let g = s ? ide(d, n.tagCandidates(), nde()) : {
recent: [],
results: [],
create: ""
@@ -71692,12 +71700,12 @@ function wNe({ item: e, write: t, helpers: n }) {
} else if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && bD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && yD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = bD(e, t.k);
+ let r = S, i = yD(e, t.k);
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -71794,8 +71802,8 @@ function wNe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function TNe({ item: e }) {
- let t = dde(e);
+function ENe({ item: e }) {
+ let t = fde(e);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -71829,7 +71837,7 @@ function TNe({ item: e }) {
})]
});
}
-function ENe({ item: e, open: t, write: n }) {
+function DNe({ item: e, open: t, write: n }) {
let [r, i] = (0, b.useState)(e.like_reason || ""), a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
t && a.current?.focus();
@@ -71868,10 +71876,10 @@ function ENe({ item: e, open: t, write: n }) {
})]
});
}
-function DNe(e) {
+function ONe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = dt({
- queryKey: Fue(t.id, n),
- queryFn: async ({ signal: e }) => (await V(Lue(t.id, n), e)).items || []
+ queryKey: Iue(t.id, n),
+ queryFn: async ({ signal: e }) => (await V(Rue(t.id, n), e)).items || []
}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());
return /* @__PURE__ */ (0, x.jsx)(yW, {
wireDrag: r.wireDrag,
@@ -71897,8 +71905,8 @@ function DNe(e) {
}) : /* @__PURE__ */ (0, x.jsx)(HW, { html: o })
});
}
-function ONe(e, t, n) {
- let r = e.id, i = dD(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {
+function kNe(e, t, n) {
+ let r = e.id, i = uD(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => U.getQueryData(i) || e, p = (e) => {
@@ -71914,7 +71922,7 @@ function ONe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return uD(r, n), t;
+ return lD(r, n), t;
}, m = (e, t) => H(e, {
id: r,
...t
@@ -71929,7 +71937,7 @@ function ONe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(Rue, t === void 0 ? { kind: e } : {
+ let n = await m(zue, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -71949,21 +71957,21 @@ function ONe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = Xue(n, e);
- await _("rate", r), t.toast(r ? `已评 ${yD(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = Zue(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${vD(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(fde(e, r), { undo: async () => {
+ t.toast(pde(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => g("later", "更新稍后看", async () => {
- let e = await m(zue, {});
+ let e = await m(Bue, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(zue, {})).watch_later });
+ p({ watch_later: (await m(Bue, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -71973,9 +71981,9 @@ function ONe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(Bue, { wanted: !e.wanted });
+ }), r = await m(Vue, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(Bue, e));
+ n(await m(Vue, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -71989,7 +71997,7 @@ function ONe(e, t, n) {
});
u("保存中…");
try {
- o(await m(Vue, {
+ o(await m(Hue, {
liked: a,
reason: i
}));
@@ -71999,7 +72007,7 @@ function ONe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(Vue, r));
+ o(await m(Hue, r));
} });
});
},
@@ -72008,30 +72016,30 @@ function ONe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => Que(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(mD, {
+ p((t) => $ue(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(pD, {
operation: "add",
tag: e.k
- }), p((t) => $ue(t, e));
+ }), p((t) => ede(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(mD, {
+ let e = await m(pD, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- bD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => $ue(e, {
+ yD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => ede(e, {
k: i,
cat: "general"
- })), nde(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(mD, {
+ })), rde(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(pD, {
operation: "remove",
tag: i
- }), p((e) => Que(e, i));
+ }), p((e) => $ue(e, i));
} }));
});
}
@@ -72050,7 +72058,7 @@ function KW() {
return [];
}
}
-function kNe(e, t) {
+function ANe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
@@ -72060,7 +72068,7 @@ function kNe(e, t) {
i.length <= 2e6 && localStorage.setItem(GW, i);
} catch {}
}
-function ANe(e, t) {
+function jNe(e, t) {
let n = KW(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
@@ -72072,12 +72080,12 @@ function ANe(e, t) {
saved: i
} : void 0;
}
-function jNe(e, t, n) {
+function MNe(e, t, n) {
return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && WV(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function MNe(e) {
+function NNe(e) {
let t = (0, b.useRef)(!1), n = dt({
queryKey: FW(e.code),
queryFn: ({ signal: n }) => {
@@ -72092,7 +72100,7 @@ function MNe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, x.jsx)(NNe, {
+ children: n.data ? /* @__PURE__ */ (0, x.jsx)(PNe, {
...e,
item: n.data,
retry: r,
@@ -72115,7 +72123,7 @@ var qW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function PNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, b.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, b.useEffect)(() => {
@@ -72135,7 +72143,7 @@ function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = uA(), m = () => {
+ ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = lA(), m = () => {
p.run("want", async (e) => d ? (await RV([d], e), null) : (await LV({ code: t.code }, e)).want.id, (t) => {
f(t), U.setQueryData(FW(e), (e) => e && {
...e,
@@ -72158,7 +72166,7 @@ function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
onClick: () => s(o === -2 ? -1 : -2),
children: [/* @__PURE__ */ (0, x.jsx)(JW, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(INe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(NW, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(LNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(NW, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
@@ -72181,7 +72189,7 @@ function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(PNe, { item: t }),
+ /* @__PURE__ */ (0, x.jsx)(FNe, { item: t }),
Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(XW, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mono",
@@ -72196,7 +72204,7 @@ function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, x.jsx)(FNe, {
+ /* @__PURE__ */ (0, x.jsx)(INe, {
item: t,
navigate: n.navigate
}),
@@ -72270,7 +72278,7 @@ function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}),
t.source_url ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- trailingIcon: wk,
+ trailingIcon: Ck,
onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),
children: "作品来源"
}) : null
@@ -72280,12 +72288,12 @@ function NNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, x.jsx)(LNe, {
+ /* @__PURE__ */ (0, x.jsx)(RNe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, x.jsx)(RNe, {
+ /* @__PURE__ */ (0, x.jsx)(zNe, {
item: t,
actions: n,
readOnly: r
@@ -72309,7 +72317,7 @@ var JW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
children: [/* @__PURE__ */ (0, x.jsx)(JW, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : null;
-function PNe({ item: e }) {
+function FNe({ item: e }) {
let { text: t, expanded: n, foldable: r, toggle: i } = MW(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-title": "",
@@ -72379,7 +72387,7 @@ function XW({ score: e, review: t = !1 }) {
})]
});
}
-function FNe({ item: e, navigate: t }) {
+function INe({ item: e, navigate: t }) {
let n = (e, n) => t(It(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, x.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -72421,11 +72429,11 @@ function FNe({ item: e, navigate: t }) {
})]
});
}
-function INe({ src: e }) {
+function LNe({ src: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(0);
return (0, b.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), vue(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), yue(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -72445,8 +72453,8 @@ function INe({ src: e }) {
}) : null
});
}
-function LNe({ code: e, count: t, released: n }) {
- let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => ANe(e, n), [e, n]), s = (0, b.useRef)(!1), c = pt({
+function RNe({ code: e, count: t, released: n }) {
+ let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => jNe(e, n), [e, n]), s = (0, b.useRef)(!1), c = pt({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -72455,12 +72463,12 @@ function LNe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => jNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => MNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await tNe(e, n, t, s.current);
- if (kNe(e, i), !i.ok || i.cache_stale) {
+ let i = await nNe(e, n, t, s.current);
+ if (ANe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -72470,7 +72478,7 @@ function LNe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: nNe
+ getNextPageParam: rNe
});
(0, b.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -72478,10 +72486,10 @@ function LNe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? B(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {
trailing: !0,
summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(Fme, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, x.jsx)(Ime, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -72573,15 +72581,15 @@ function LNe({ code: e, count: t, released: n }) {
})
});
}
-function RNe({ item: e, actions: t, readOnly: n }) {
+function zNe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, b.useState)(!1), a = dt({
- queryKey: VA,
+ queryKey: BA,
enabled: r,
- queryFn: ({ signal: e }) => V(`${BA}?limit=50`, e)
+ queryFn: ({ signal: e }) => V(`${zA}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, x.jsx)(TA, {
+ children: /* @__PURE__ */ (0, x.jsx)(wA, {
trailing: !0,
summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(JW, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
@@ -72606,16 +72614,16 @@ function RNe({ item: e, actions: t, readOnly: n }) {
//#endregion
//#region src/react/stage/stage-player.ts
var ZW = null, QW = null, $W = null, eG = null, tG = null, nG = !1, rG = 0, iG = null, aG = () => !1, oG = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function zNe(e, t) {
- ZW = e, aG = () => t.isOpen(), iG = () => t.requestClose(), fle({
+function BNe(e, t) {
+ ZW = e, aG = () => t.isOpen(), iG = () => t.requestClose(), ple({
...e.player,
stage: () => document.getElementById("stage")
- }), ple({
+ }), mle({
inMiniplayer: (e) => QW?.player === e,
kind: (e) => QW?.player === e ? QW.kind : $W?.kind ?? eG?.kind ?? "item",
expand: () => EG(),
toMiniplayer: () => DG()
- }), sG || (sG = !0, addEventListener("pagehide", () => $E()));
+ }), sG || (sG = !0, addEventListener("pagehide", () => QE()));
}
var sG = !1;
function cG() {
@@ -72625,10 +72633,10 @@ function cG() {
function lG(e) {
eG = e;
}
-var BNe = () => eG;
+var VNe = () => eG;
function uG(e, t) {
let { kind: n, item: r, media: i = null } = t, a = oG(n, r.id, i?.index ?? null);
- if (QW && QW.key === a) return HNe(e, QW);
+ if (QW && QW.key === a) return UNe(e, QW);
QW && TG();
let o = {
player: null,
@@ -72640,7 +72648,7 @@ function uG(e, t) {
$W = 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 = oD(s, {
+ let c = aD(s, {
kind: n,
item: r,
media: i,
@@ -72653,10 +72661,10 @@ function uG(e, t) {
});
return () => {
let e = !!o.player && QW?.player === o.player;
- $W === o && ($W = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), $E());
+ $W === o && ($W = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), QE());
};
}
-async function VNe(e, t, n) {
+async function HNe(e, t, n) {
let r = await Dt(`/api/item?id=${e.id}`, { signal: n });
if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
@@ -72680,9 +72688,9 @@ async function VNe(e, t, n) {
s || (s = !0, e && eG === a && fG(!0), o(), eG === a && lG(null));
};
}
-function HNe(e, t) {
+function UNe(e, t) {
let { player: n } = t;
- CG(t), QW = null, wG(), n.el().classList.remove("vjs-peach-mini"), hue(e), e.append(n.el()), LE(n);
+ CG(t), QW = null, wG(), n.el().classList.remove("vjs-peach-mini"), gue(e), e.append(n.el()), IE(n);
let r = {
player: n,
kind: t.kind,
@@ -72691,9 +72699,9 @@ function HNe(e, t) {
key: t.key
};
$W = r;
- let i = gue(n, e);
- return RE(n), () => {
- $W === r && ($W = null), i(), QW?.player !== n && (IE() === n && LE(null), YE(n), $E());
+ let i = _ue(n, e);
+ return LE(n), () => {
+ $W === r && ($W = null), i(), QW?.player !== n && (FE() === n && IE(null), JE(n), QE());
};
}
var dG = () => {
@@ -72706,7 +72714,7 @@ function fG(e) {
let n = $W, r = n?.player, i = eG;
if (!n || !r || r.isDisposed() || !i || !tG) return;
let a = cG().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && KNe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && qNe({
player: r,
kind: n.kind,
item: n.item,
@@ -72721,11 +72729,11 @@ function mG(e) {
tG = e, tG && xG();
}
var hG = () => !!QW && !QW.pending && !QW.player.isDisposed();
-function UNe() {
+function WNe() {
return hG() ? tG?.frame.querySelector("video") ?? null : null;
}
-function WNe() {
- return aG() ? document.getElementById("stage")?.querySelector("video") ?? null : dG()?.el().querySelector("video") ?? UNe();
+function GNe() {
+ return aG() ? document.getElementById("stage")?.querySelector("video") ?? null : dG()?.el().querySelector("video") ?? WNe();
}
function gG(e) {
tG && (tG.title.textContent = e.title || "", tG.sub.textContent = e.sub || "", tG.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -72774,7 +72782,7 @@ function SG(e) {
function CG(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function GNe() {
+function KNe() {
let e = tG?.root;
if (!e) return;
let t = e.hidden;
@@ -72795,7 +72803,7 @@ function wG() {
e.style.transform = "";
}
}
-function KNe(e, t) {
+function qNe(e, t) {
if (!tG) return;
let n = {
...e,
@@ -72803,13 +72811,13 @@ function KNe(e, t) {
off: [],
pending: !1
};
- QW = n, rG++, e.player.el().classList.add("vjs-peach-mini"), tG.frame.prepend(e.player.el()), gG(t), SG(n), GNe(), RE(e.player);
+ QW = n, rG++, e.player.el().classList.add("vjs-peach-mini"), tG.frame.prepend(e.player.el()), gG(t), SG(n), KNe(), LE(e.player);
}
function TG() {
let e = QW;
e && CG(e), QW = null, rG++;
let t = e?.player ?? null;
- t && IE() === t && LE(null), YE(t), t && $E(), tG?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), FE(), wG();
+ t && FE() === t && IE(null), JE(t), t && QE(), tG?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), PE(), wG();
}
function EG() {
if (!hG() || !QW) return;
@@ -72819,7 +72827,7 @@ function EG() {
function DG() {
hG() && !aG() ? EG() : aG() && dG() && iG && (nG = !0, iG());
}
-function qNe() {
+function JNe() {
let e = QW?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -72832,7 +72840,7 @@ function OG(e) {
function kG(e) {
return !(!hG() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || cG().sourceOffline(String(e.location ?? "")));
}
-async function JNe(e) {
+async function YNe(e) {
if (!hG() || !QW || !tG) return;
let t = ++rG, n = await Dt(`/api/item?id=${e}`).catch(() => null);
if (t !== rG || !hG() || !QW || !tG || !n || n.error) return;
@@ -72841,7 +72849,7 @@ async function JNe(e) {
return;
}
let r = QW;
- CG(r), IE() === r.player && LE(null), YE(r.player), $E(), tG.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ CG(r), FE() === r.player && IE(null), JE(r.player), QE(), tG.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", tG.frame.prepend(i);
let a = {
@@ -72850,14 +72858,14 @@ async function JNe(e) {
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- gG(a), oD(i, {
+ gG(a), aD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
if (t !== rG) {
- r && IE() === r && LE(null), YE(r);
+ r && FE() === r && IE(null), JE(r);
return;
}
if (!r) {
@@ -72885,9 +72893,9 @@ var AG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
-}), YNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, jG = (e) => (t) => {
+}), XNe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, jG = (e) => (t) => {
t.stopPropagation(), e();
-}, XNe = (0, b.memo)(function() {
+}, ZNe = (0, b.memo)(function() {
let e = (0, b.useRef)(null), t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => (mG({
root: e.current,
@@ -72899,7 +72907,7 @@ var AG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => mG(null)), []), (0, b.useEffect)(() => QNe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
+ }), () => mG(null)), []), (0, b.useEffect)(() => $Ne(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -72949,8 +72957,8 @@ var AG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: jG(qNe),
- dangerouslySetInnerHTML: YNe
+ onClick: jG(JNe),
+ dangerouslySetInnerHTML: XNe
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
@@ -72989,7 +72997,7 @@ var AG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
})
});
});
-function ZNe(e, t, n) {
+function QNe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -73011,7 +73019,7 @@ function ZNe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function QNe(e, t) {
+function $Ne(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -73037,7 +73045,7 @@ function QNe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), ZNe(e, i.dx, i.dy));
+ }, 0), QNe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -73057,25 +73065,25 @@ function BG() {
if (!MG) throw Error("舞台还没有接上宿主(configureStage)");
return MG;
}
-function $Ne(e) {
+function ePe(e) {
return PG.add(e), () => {
PG.delete(e);
};
}
-function ePe() {
+function tPe() {
for (let e of [...PG]) e();
}
function VG() {
- (0, mt.flushSync)(ePe);
+ (0, mt.flushSync)(tPe);
}
-function tPe({ view: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(nPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(XNe, {})] });
+function nPe({ view: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(rPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(ZNe, {})] });
}
var HG = () => /* @__PURE__ */ (0, x.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: yMe() }
+ dangerouslySetInnerHTML: { __html: bMe() }
});
function UG(e) {
let t = e.currentTarget;
@@ -73083,7 +73091,7 @@ function UG(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function nPe({ view: e }) {
+function rPe({ view: e }) {
let t = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
@@ -73091,7 +73099,7 @@ function nPe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(dNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(MNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(GMe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(fNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(NNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(KMe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, x.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -73208,7 +73216,7 @@ function KG(e) {
}
};
}
-function rPe(e, t) {
+function iPe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
@@ -73225,10 +73233,10 @@ function qG(e) {
let t = zG();
return !NG || NG.content.kind !== e || LG || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function iPe(e) {
+async function aPe(e) {
let t = qG(e.kind);
if (t) {
- await aPe(e, t);
+ await oPe(e, t);
return;
}
NG && JG({ miniplayer: !1 });
@@ -73244,7 +73252,7 @@ async function iPe(e) {
Vo(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
let a = NG.content;
try {
- a.kind === "item" ? await Kue(a.props, r.signal) : a.kind === "jav" ? await LW(a.props, r.signal) : await lW(a.props, r.signal);
+ a.kind === "item" ? await que(a.props, r.signal) : a.kind === "jav" ? await LW(a.props, r.signal) : await lW(a.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
@@ -73253,23 +73261,23 @@ async function iPe(e) {
NG = {
...NG,
phase: o ? "content" : "reveal"
- }, VG(), o || rPe(i, n), Ao(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, VG(), o || iPe(i, n), Ao(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let s = document.activeElement;
(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();
}
-async function aPe(e, t) {
+async function oPe(e, t) {
let n = ++FG;
IG?.abort();
let r = new AbortController();
IG = r, RG = !1;
let i = KG(e);
try {
- i.kind === "item" ? await Kue(i.props, r.signal) : i.kind === "jav" ? await LW(i.props, r.signal) : await lW(i.props, r.signal);
+ i.kind === "item" ? await que(i.props, r.signal) : i.kind === "jav" ? await LW(i.props, r.signal) : await lW(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
if (n !== FG || !NG || qG(e.kind) !== t) return;
- e.kind === "jav" ? TG() : pG(e.kind, e.id ?? NaN), cc(t), FE(), NG = {
+ e.kind === "jav" ? TG() : pG(e.kind, e.id ?? NaN), cc(t), PE(), NG = {
...NG,
request: e,
content: i,
@@ -73278,7 +73286,7 @@ async function aPe(e, t) {
let a = document.activeElement;
(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function oPe() {
+function sPe() {
let e = zG();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
@@ -73292,9 +73300,9 @@ function oPe() {
function JG({ miniplayer: e = !0 } = {}) {
if (FG++, IG?.abort(), IG = null, fG(e), !NG) return;
let t = zG();
- t && cc(t), FE(), t?.open && t.close(), NG = null, LG = !1, RG = !1, VG(), lG(null), document.body.removeAttribute("data-detail-open");
+ t && cc(t), PE(), t?.open && t.close(), NG = null, LG = !1, RG = !1, VG(), lG(null), document.body.removeAttribute("data-detail-open");
}
-function sPe(e) {
+function cPe(e) {
NG && (NG = {
...NG,
content: NG.content.kind === "item" ? {
@@ -73312,62 +73320,62 @@ function sPe(e) {
}
}, VG());
}
-function cPe() {
- let e = BNe(), t = e?.kind === "item" ? e.item : null, n = t ? ma(t, BG().player.settings().javImage) : "";
+function lPe() {
+ let e = VNe(), t = e?.kind === "item" ? e.item : null, n = t ? ma(t, BG().player.settings().javImage) : "";
if (!n) return;
let r = dG();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var lPe = {
- open: iPe,
- update: sPe,
- exit: oPe,
+var uPe = {
+ open: aPe,
+ update: cPe,
+ exit: sPe,
dispose: JG,
requestClose: WG,
- repaintPoster: cPe,
+ repaintPoster: lPe,
isOpen: () => !!NG,
showing: () => NG && qG(NG.content.kind) ? NG.content.kind : null,
- activeVideo: () => WNe(),
- mountWallPlayer: VNe,
+ activeVideo: () => GNe(),
+ mountWallPlayer: HNe,
toggleTheater: () => {
- NG && Fle(!BG().player.settings().theaterMode);
+ NG && Ile(!BG().player.settings().theaterMode);
},
toggleMiniplayer: () => DG(),
closeMiniplayer: () => TG(),
miniplayerActive: () => hG(),
miniplayerTakesCard: (e) => kG(e),
miniplayerPlay: (e) => {
- JNe(e);
+ YNe(e);
}
};
-function uPe(e) {
- return MG = e, zNe(e, {
+function dPe(e) {
+ return MG = e, BNe(e, {
isOpen: () => !!NG,
requestClose: WG
- }), lPe;
+ }), uPe;
}
-function dPe() {
- let e = (0, b.useSyncExternalStore)($Ne, () => NG);
- return MG ? /* @__PURE__ */ (0, x.jsx)(tPe, { view: e }) : null;
+function fPe() {
+ let e = (0, b.useSyncExternalStore)(ePe, () => NG);
+ return MG ? /* @__PURE__ */ (0, x.jsx)(nPe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var fPe = "/api/stats", YG = ["stats"], XG = (e) => V(fPe, e);
-async function pPe(e) {
+var pPe = "/api/stats", YG = ["stats"], XG = (e) => V(pPe, e);
+async function mPe(e) {
await U.fetchQuery({
queryKey: YG,
queryFn: () => XG(e)
});
}
-var ZG = (e) => e != null && Number.isFinite(e), QG = (e) => ZG(e) ? e.toLocaleString() : "未取得", mPe = (e, t) => ZG(e) && ZG(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, $G = (e, t) => {
- let n = mPe(e, t);
+var ZG = (e) => e != null && Number.isFinite(e), QG = (e) => ZG(e) ? e.toLocaleString() : "未取得", hPe = (e, t) => ZG(e) && ZG(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, $G = (e, t) => {
+ let n = hPe(e, t);
return !n && ZG(e) && e > 0 && ZG(t) && t > 0 ? "<1%" : `${n}%`;
}, eK = (e) => {
if (!ZG(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, tK = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, nK = (e) => (e.max_reached || 0) * 100, hPe = (e) => e.kind === "online" ? "在线直接观看" : tK(e) < nK(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", gPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function _Pe(e, t = 6) {
+}, tK = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, nK = (e) => (e.max_reached || 0) * 100, gPe = (e) => e.kind === "online" ? "在线直接观看" : tK(e) < nK(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", _Pe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function vPe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);
@@ -73377,7 +73385,7 @@ function _Pe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var vPe = (e) => Math.max(1, ...e) * 1.1, yPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, bPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), xPe = {
+var yPe = (e) => Math.max(1, ...e) * 1.1, bPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, xPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), SPe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -73385,10 +73393,10 @@ var vPe = (e) => Math.max(1, ...e) * 1.1, yPe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, SPe = (e) => e.map((e) => ({
- name: xPe[e.k] ?? e.k,
+}, CPe = (e) => e.map((e) => ({
+ name: SPe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), CPe = {
+})).sort((e, t) => t.value - e.value), wPe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
@@ -73396,7 +73404,7 @@ var vPe = (e) => Math.max(1, ...e) * 1.1, yPe = (e, t) => e > 0 ? Math.max(e, t
}, rK = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), wPe = (e) => rK(e, CPe), TPe = [
+})), TPe = (e) => rK(e, wPe), EPe = [
[
1,
1,
@@ -73432,18 +73440,18 @@ var vPe = (e) => Math.max(1, ...e) * 1.1, yPe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], EPe = (e) => TPe.map(([t, n, r]) => ({
+], DPe = (e) => EPe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), DPe = /* @__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(".");
+})), OPe = /* @__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 iK(e) {
- return typeof e == "string" && DPe.includes(e);
+ return typeof e == "string" && OPe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var OPe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
+var kPe = /* @__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 aK(e) {
- return typeof e == "string" && OPe.has(e);
+ return typeof e == "string" && kPe.has(e);
}
function oK(e) {
return typeof e == "string" && e.startsWith("data-");
@@ -73469,12 +73477,12 @@ function lK(e) {
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (aK(n) || oK(n) || iK(n)) && (t[n] = e[n]);
return t;
}
-function kPe(e) {
+function APe(e) {
return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? lK(e.props) : typeof e == "object" && !Array.isArray(e) ? lK(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var APe = [
+var jPe = [
"children",
"width",
"height",
@@ -73493,16 +73501,16 @@ function uK() {
return e;
}, uK.apply(null, arguments);
}
-function jPe(e, t) {
+function MPe(e, t) {
if (e == null) return {};
- var n, r, i = MPe(e, t);
+ var n, r, i = NPe(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 MPe(e, t) {
+function NPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -73512,7 +73520,7 @@ function MPe(e, t) {
return n;
}
var dK = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = jPe(e, APe), d = a || {
+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = MPe(e, jPe), d = a || {
width: r,
height: i,
x: 0,
@@ -73526,7 +73534,7 @@ var dK = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ b.createElement("title", null, c), /*#__PURE__*/ b.createElement("desc", null, l), n);
-}), NPe = ["children", "className"];
+}), PPe = ["children", "className"];
function fK() {
return fK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -73536,16 +73544,16 @@ function fK() {
return e;
}, fK.apply(null, arguments);
}
-function PPe(e, t) {
+function FPe(e, t) {
if (e == null) return {};
- var n, r, i = FPe(e, t);
+ var n, r, i = IPe(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 FPe(e, t) {
+function IPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -73555,7 +73563,7 @@ function FPe(e, t) {
return n;
}
var pK = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = PPe(e, NPe), a = Fv("recharts-layer", r);
+ var n = e.children, r = e.className, i = FPe(e, PPe), a = Fv("recharts-layer", r);
return /*#__PURE__*/ b.createElement("g", fK({ className: a }, lK(i), { ref: t }), n);
});
//#endregion
@@ -73565,12 +73573,12 @@ function mK(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var IPe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+var LPe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
function hK(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : IPe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : LPe.test(e);
default: return !1;
}
}
@@ -73586,7 +73594,7 @@ function _K(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function LPe(e) {
+function RPe(e) {
return e == null ? "" : vK(e);
}
function vK(e) {
@@ -73601,7 +73609,7 @@ function vK(e) {
function yK(e) {
if (Array.isArray(e)) return e.map(gK);
if (typeof e == "symbol") return [e];
- e = LPe(e);
+ e = RPe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -73644,14 +73652,14 @@ function bK(e, t, n) {
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return RPe(e, t, n);
+ if (Array.isArray(t)) return zPe(e, t, n);
if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), mK(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function RPe(e, t, n) {
+function zPe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
@@ -73662,9 +73670,9 @@ function RPe(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var zPe = 4;
+var BPe = 4;
function xK(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : zPe), n = Math.round(e * t) / t;
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : BPe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
function SK(e) {
@@ -73676,8 +73684,8 @@ function SK(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var CK = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, wK = (e) => typeof e == "number" && e != +e, TK = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, EK = (e) => (typeof e == "number" || e instanceof Number) && !wK(e), DK = (e) => EK(e) || typeof e == "string", BPe = 0, OK = (e) => {
- var t = ++BPe;
+var CK = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, wK = (e) => typeof e == "number" && e != +e, TK = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, EK = (e) => (typeof e == "number" || e instanceof Number) && !wK(e), DK = (e) => EK(e) || typeof e == "string", VPe = 0, OK = (e) => {
+ var t = ++VPe;
return `${e || ""}${t}`;
}, kK = 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];
@@ -73734,26 +73742,26 @@ function zK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? RK(Object(n), !0).forEach(function(t) {
- VPe(e, t, n[t]);
+ HPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RK(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) {
@@ -73856,18 +73864,18 @@ var BK = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, WPe = [
+}, GPe = [
"top",
"left",
"right",
"bottom"
];
function VK(e) {
- return e == null ? !1 : typeof e == "object" || WPe.includes(e);
+ return e == null ? !1 : typeof e == "object" || GPe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var HK = /*#__PURE__*/ (0, b.createContext)(null), GPe = () => (0, b.useContext)(HK);
+var HK = /*#__PURE__*/ (0, b.createContext)(null), KPe = () => (0, b.useContext)(HK);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
function UK(e) {
@@ -73879,12 +73887,12 @@ function UK(e) {
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
var WK = Math.cos, GK = Math.sin, KK = Math.sqrt, qK = Math.PI;
qK / 2;
-var JK = 2 * qK, YK = Math.PI, XK = 2 * YK, ZK = 1e-6, KPe = XK - ZK;
+var JK = 2 * qK, YK = Math.PI, XK = 2 * YK, ZK = 1e-6, qPe = XK - ZK;
function QK(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function qPe(e) {
+function JPe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
if (t > 15) return QK;
@@ -73896,7 +73904,7 @@ function qPe(e) {
}
var $K = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? QK : qPe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? QK : JPe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -73928,7 +73936,7 @@ var $K = class {
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > ZK || Math.abs(this._y1 - l) > ZK) && this._append`L${c},${l}`, n && (d < 0 && (d = d % XK + XK), d > KPe ? 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 > ZK && this._append`A${n},${n},0,${+(d >= YK)},${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) > ZK || Math.abs(this._y1 - l) > ZK) && this._append`L${c},${l}`, n && (d < 0 && (d = d % XK + XK), d > qPe ? 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 > ZK && this._append`A${n},${n},0,${+(d >= YK)},${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`;
@@ -74095,10 +74103,10 @@ var cq = class {
this._x0 = e, this._y0 = t;
}
};
-function JPe(e) {
+function YPe(e) {
return new cq(e, !0);
}
-function YPe(e) {
+function XPe(e) {
return new cq(e, !1);
}
//#endregion
@@ -74106,33 +74114,33 @@ function YPe(e) {
var lq = { draw(e, t) {
let n = KK(t / qK);
e.moveTo(n, 0), e.arc(0, 0, n, 0, JK);
-} }, XPe = { draw(e, t) {
+} }, ZPe = { draw(e, t) {
let n = KK(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();
-} }, uq = KK(1 / 3), ZPe = uq * 2, QPe = { draw(e, t) {
- let n = KK(t / ZPe), r = n * uq;
+} }, uq = KK(1 / 3), QPe = uq * 2, $Pe = { draw(e, t) {
+ let n = KK(t / QPe), r = n * uq;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, $Pe = { draw(e, t) {
+} }, eFe = { draw(e, t) {
let n = KK(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, eFe = .8908130915292852, dq = GK(qK / 10) / GK(7 * qK / 10), tFe = GK(JK / 10) * dq, nFe = -WK(JK / 10) * dq, rFe = { draw(e, t) {
- let n = KK(t * eFe), r = tFe * n, i = nFe * n;
+} }, tFe = .8908130915292852, dq = GK(qK / 10) / GK(7 * qK / 10), nFe = GK(JK / 10) * dq, rFe = -WK(JK / 10) * dq, iFe = { draw(e, t) {
+ let n = KK(t * tFe), r = nFe * n, i = rFe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
let a = JK * t / 5, o = WK(a), s = GK(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, fq = KK(3), iFe = { draw(e, t) {
+} }, fq = KK(3), aFe = { draw(e, t) {
let n = -KK(t / (fq * 3));
e.moveTo(0, n * 2), e.lineTo(-fq * n, -n), e.lineTo(fq * n, -n), e.closePath();
-} }, pq = -.5, mq = KK(3) / 2, hq = 1 / KK(12), aFe = (hq / 2 + 1) * 3, oFe = { draw(e, t) {
- let n = KK(t / aFe), r = n / 2, i = n * hq, a = r, o = n * hq + n, s = -a, c = o;
+} }, pq = -.5, mq = KK(3) / 2, hq = 1 / KK(12), oFe = (hq / 2 + 1) * 3, sFe = { draw(e, t) {
+ let n = KK(t / oFe), r = n / 2, i = n * hq, a = r, o = n * hq + n, s = -a, c = o;
e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(pq * r - mq * i, mq * r + pq * i), e.lineTo(pq * a - mq * o, mq * a + pq * o), e.lineTo(pq * s - mq * c, mq * s + pq * c), e.lineTo(pq * r + mq * i, pq * i - mq * r), e.lineTo(pq * a + mq * o, pq * o - mq * a), e.lineTo(pq * s + mq * c, pq * c - mq * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function sFe(e, t) {
+function cFe(e, t) {
let n = null, r = eq(i);
e = typeof e == "function" ? e : UK(e || lq), t = typeof t == "function" ? t : UK(t === void 0 ? 64 : +t);
function i() {
@@ -74189,7 +74197,7 @@ vq.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function cFe(e) {
+function lFe(e) {
return new vq(e);
}
//#endregion
@@ -74230,7 +74238,7 @@ yq.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function lFe(e) {
+function uFe(e) {
return new yq(e);
}
//#endregion
@@ -74270,7 +74278,7 @@ bq.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function uFe(e) {
+function dFe(e) {
return new bq(e);
}
//#endregion
@@ -74291,7 +74299,7 @@ xq.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function dFe(e) {
+function fFe(e) {
return new xq(e);
}
//#endregion
@@ -74375,10 +74383,10 @@ Oq.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function fFe(e) {
+function pFe(e) {
return new Eq(e);
}
-function pFe(e) {
+function mFe(e) {
return new Dq(e);
}
//#endregion
@@ -74416,7 +74424,7 @@ function Aq(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 mFe(e) {
+function hFe(e) {
return new kq(e);
}
//#endregion
@@ -74452,13 +74460,13 @@ jq.prototype = {
this._x = e, this._y = t;
}
};
-function hFe(e) {
+function gFe(e) {
return new jq(e, .5);
}
-function gFe(e) {
+function _Fe(e) {
return new jq(e, 0);
}
-function _Fe(e) {
+function vFe(e) {
return new jq(e, 1);
}
//#endregion
@@ -74474,17 +74482,17 @@ function Nq(e) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function vFe(e, t) {
+function yFe(e, t) {
return e[t];
}
-function yFe(e) {
+function bFe(e) {
let t = [];
return t.key = e, t;
}
-function bFe() {
- var e = UK([]), t = Nq, n = Mq, r = vFe;
+function xFe() {
+ var e = UK([]), t = Nq, n = Mq, r = yFe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), yFe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), bFe), 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 = tq(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
@@ -74501,7 +74509,7 @@ function bFe() {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function xFe(e, t) {
+function SFe(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;
@@ -74512,7 +74520,7 @@ function xFe(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function SFe(e, t) {
+function CFe(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;
@@ -74523,7 +74531,7 @@ function SFe(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function CFe(e, t) {
+function wFe(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) {
@@ -74540,7 +74548,7 @@ function CFe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var wFe = [
+var TFe = [
"type",
"size",
"sizeType"
@@ -74568,26 +74576,26 @@ function Iq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Fq(Object(n), !0).forEach(function(t) {
- TFe(e, t, n[t]);
+ EFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TFe(e, t, n) {
- return (t = EFe(t)) in e ? Object.defineProperty(e, t, {
+function EFe(e, t, n) {
+ return (t = DFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EFe(e) {
- var t = DFe(e, "string");
+function DFe(e) {
+ var t = OFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DFe(e, t) {
+function OFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74597,16 +74605,16 @@ function DFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function OFe(e, t) {
+function kFe(e, t) {
if (e == null) return {};
- var n, r, i = kFe(e, t);
+ var n, r, i = AFe(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 kFe(e, t) {
+function AFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -74617,36 +74625,36 @@ function kFe(e, t) {
}
var Lq = {
symbolCircle: lq,
- symbolCross: XPe,
- symbolDiamond: QPe,
- symbolSquare: $Pe,
- symbolStar: rFe,
- symbolTriangle: iFe,
- symbolWye: oFe
-}, AFe = Math.PI / 180, jFe = (e) => Lq[`symbol${PK(e)}`] || lq, MFe = (e, t, n) => {
+ symbolCross: ZPe,
+ symbolDiamond: $Pe,
+ symbolSquare: eFe,
+ symbolStar: iFe,
+ symbolTriangle: aFe,
+ symbolWye: sFe
+}, jFe = Math.PI / 180, MFe = (e) => Lq[`symbol${PK(e)}`] || lq, NFe = (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 * AFe;
+ var r = 18 * jFe;
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;
}
-}, NFe = (e, t) => {
+}, PFe = (e, t) => {
Lq[`symbol${PK(e)}`] = t;
}, Rq = (e) => {
- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = Iq(Iq({}, OFe(e, wFe)), {}, {
+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = Iq(Iq({}, kFe(e, TFe)), {}, {
type: n,
size: i,
sizeType: o
}), c = "circle";
typeof n == "string" && (c = n);
var l = () => {
- var e = jFe(c), t = sFe().type(e).size(MFe(i, o, c))();
+ var e = MFe(c), t = cFe().type(e).size(NFe(i, o, c))();
if (t !== null) return t;
}, u = s.className, d = s.cx, f = s.cy, p = lK(s);
return EK(d) && EK(f) && EK(i) ? /*#__PURE__*/ b.createElement("path", Pq({}, p, {
@@ -74655,7 +74663,7 @@ var Lq = {
d: l()
})) : null;
};
-Rq.registerSymbol = NFe;
+Rq.registerSymbol = PFe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
var zq = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Bq = (e, t) => {
@@ -74666,12 +74674,12 @@ var zq = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Bq = (e,
return Object.keys(n).forEach((e) => {
iK(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, PFe = (e, t, n) => (r) => (e(t, n, r), null), Vq = (e, t, n) => {
+}, FFe = (e, t, n) => (r) => (e(t, n, r), null), Vq = (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];
- iK(i) && typeof a == "function" && (r ||= {}, r[i] = PFe(a, t, n));
+ iK(i) && typeof a == "function" && (r ||= {}, r[i] = FFe(a, t, n));
}), r;
};
//#endregion
@@ -74686,30 +74694,30 @@ function Hq(e, t) {
}
return n;
}
-function FFe(e) {
+function IFe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Hq(Object(n), !0).forEach(function(t) {
- IFe(e, t, n[t]);
+ LFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Hq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IFe(e, t, n) {
- return (t = LFe(t)) in e ? Object.defineProperty(e, t, {
+function LFe(e, t, n) {
+ return (t = RFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LFe(e) {
- var t = RFe(e, "string");
+function RFe(e) {
+ var t = zFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RFe(e, t) {
+function zFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74720,7 +74728,7 @@ function RFe(e, t) {
return (t === "string" ? String : Number)(e);
}
function Uq(e, t) {
- var n = FFe({}, e), r = t;
+ var n = IFe({}, 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
@@ -74748,26 +74756,26 @@ function Kq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Gq(Object(n), !0).forEach(function(t) {
- zFe(e, t, n[t]);
+ BFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zFe(e, t, n) {
- return (t = BFe(t)) in e ? Object.defineProperty(e, t, {
+function BFe(e, t, n) {
+ return (t = VFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function BFe(e) {
- var t = VFe(e, "string");
+function VFe(e) {
+ var t = HFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function VFe(e, t) {
+function HFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74777,7 +74785,7 @@ function VFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qq = 32, HFe = {
+var qq = 32, UFe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -74785,17 +74793,17 @@ var qq = 32, HFe = {
verticalAlign: "middle",
labelStyle: {}
};
-function UFe(e) {
+function WFe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function WFe(e) {
+function GFe(e) {
var t = e.data, n = e.iconType, r = e.inactiveColor, i = qq / 2, a = qq / 6, o = qq / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ b.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: UFe(t.payload),
+ strokeDasharray: WFe(t.payload),
x1: 0,
y1: i,
x2: qq,
@@ -74831,7 +74839,7 @@ function WFe(e) {
type: c
});
}
-function GFe(e) {
+function KFe(e) {
var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {
x: 0,
y: 0,
@@ -74866,7 +74874,7 @@ function GFe(e) {
viewBox: c,
style: u,
"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`
- }, /*#__PURE__*/ b.createElement(WFe, {
+ }, /*#__PURE__*/ b.createElement(GFe, {
data: t,
iconType: o,
inactiveColor: a
@@ -74876,8 +74884,8 @@ function GFe(e) {
}, m));
});
}
-var KFe = (e) => {
- var t = Uq(e, HFe), n = t.payload, r = t.layout, i = t.align;
+var qFe = (e) => {
+ var t = Uq(e, UFe), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -74887,11 +74895,11 @@ var KFe = (e) => {
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ b.createElement(GFe, Wq({}, t, { payload: n })));
+ }, /*#__PURE__*/ b.createElement(KFe, Wq({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function qFe(e, t) {
+function JFe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -74901,7 +74909,7 @@ function qFe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function JFe(e, t) {
+function YFe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
@@ -74913,17 +74921,17 @@ function Jq(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function YFe(e) {
+function XFe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
function Yq(e) {
- return e != null && typeof e != "function" && YFe(e.length);
+ return e != null && typeof e != "function" && XFe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function XFe(e) {
+function ZFe(e) {
return function(t) {
return bK(t, e);
};
@@ -74935,7 +74943,7 @@ function Xq(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function ZFe(e) {
+function QFe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
@@ -74950,7 +74958,7 @@ function Qq(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var $q = "[object RegExp]", eJ = "[object String]", tJ = "[object Number]", nJ = "[object Boolean]", rJ = "[object Arguments]", iJ = "[object Symbol]", aJ = "[object Date]", oJ = "[object Map]", sJ = "[object Set]", cJ = "[object Array]", QFe = "[object Function]", lJ = "[object ArrayBuffer]", uJ = "[object Object]", $Fe = "[object Error]", dJ = "[object DataView]", fJ = "[object Uint8Array]", pJ = "[object Uint8ClampedArray]", mJ = "[object Uint16Array]", hJ = "[object Uint32Array]", eIe = "[object BigUint64Array]", gJ = "[object Int8Array]", _J = "[object Int16Array]", vJ = "[object Int32Array]", tIe = "[object BigInt64Array]", yJ = "[object Float32Array]", bJ = "[object Float64Array]", xJ = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var $q = "[object RegExp]", eJ = "[object String]", tJ = "[object Number]", nJ = "[object Boolean]", rJ = "[object Arguments]", iJ = "[object Symbol]", aJ = "[object Date]", oJ = "[object Map]", sJ = "[object Set]", cJ = "[object Array]", $Fe = "[object Function]", lJ = "[object ArrayBuffer]", uJ = "[object Object]", eIe = "[object Error]", dJ = "[object DataView]", fJ = "[object Uint8Array]", pJ = "[object Uint8ClampedArray]", mJ = "[object Uint16Array]", hJ = "[object Uint32Array]", tIe = "[object BigUint64Array]", gJ = "[object Int8Array]", _J = "[object Int16Array]", vJ = "[object Int32Array]", nIe = "[object BigInt64Array]", yJ = "[object Float32Array]", bJ = "[object Float64Array]", xJ = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
@@ -74960,7 +74968,7 @@ function SJ(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function nIe(e, t) {
+function rIe(e, t) {
return CJ(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
function CJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
@@ -74992,7 +75000,7 @@ function CJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
return t;
}
if (SJ(e)) return e.subarray();
- if (ZFe(e)) {
+ if (QFe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
for (let a = 0; a < e.length; a++) t[a] = CJ(e[a], a, n, r, i);
@@ -75027,7 +75035,7 @@ function CJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let t = new String(e.valueOf());
return r.set(e, t), wJ(t, e, n, r, i), t;
}
- if (typeof e == "object" && rIe(e)) {
+ if (typeof e == "object" && iIe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
return r.set(e, t), wJ(t, e, n, r, i), t;
}
@@ -75040,7 +75048,7 @@ function wJ(e, t, n = e, r, i) {
(c == null || c.writable) && (e[s] = CJ(t[s], s, n, r, i));
}
}
-function rIe(e) {
+function iIe(e) {
switch (Qq(e)) {
case rJ:
case cJ:
@@ -75069,7 +75077,7 @@ function rIe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function iIe(e) {
+function aIe(e) {
return CJ(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
@@ -75093,16 +75101,16 @@ function DJ(e, t, n) {
function OJ(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return aIe(e, t, n, r, i);
+ case "object": return oIe(e, t, n, r, i);
case "function": return Object.keys(t).length > 0 ? OJ(e, { ...t }, n, r, i) : TJ(e, t);
default: return EJ(e) && i ? typeof t != "string" || t === "" : TJ(e, t);
}
}
-function aIe(e, t, n, r, i = !1) {
+function oIe(e, t, n, r, i = !1) {
if (t == null) return !0;
if (Array.isArray(t)) return kJ(e, t, n, r);
- if (t instanceof Map) return oIe(e, t, n, r);
- if (t instanceof Set) return sIe(e, t, n, r);
+ if (t instanceof Map) return sIe(e, t, n, r);
+ if (t instanceof Set) return cIe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
if (i) Xq(e) && (e = Object(e));
@@ -75123,7 +75131,7 @@ function aIe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function oIe(e, t, n, r) {
+function sIe(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;
@@ -75147,7 +75155,7 @@ function kJ(e, t, n, r) {
}
return !0;
}
-function sIe(e, t, n, r) {
+function cIe(e, t, n, r) {
return t.size === 0 || e instanceof Set && kJ([...e], [...t], n, r);
}
//#endregion
@@ -75157,13 +75165,13 @@ function AJ(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function cIe(e) {
- return e = iIe(e), (t) => AJ(t, e);
+function lIe(e) {
+ return e = aIe(e), (t) => AJ(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function lIe(e, t) {
- return nIe(e, (n, r, i, a) => {
+function uIe(e, t) {
+ return rIe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
@@ -75189,49 +75197,49 @@ function lIe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function uIe(e) {
- return lIe(e);
+function dIe(e) {
+ return uIe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var dIe = /^(?:0|[1-9]\d*)$/;
+var fIe = /^(?:0|[1-9]\d*)$/;
function jJ(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 dIe.test(e);
+ case "string": return fIe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function fIe(e) {
+function pIe(e) {
return typeof e == "object" && !!e && Qq(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function pIe(e, t) {
+function mIe(e, t) {
let n;
if (n = Array.isArray(t) ? t : typeof t == "string" && hK(t) && !(t in Object(e)) ? yK(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
let t = gK(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || fIe(r)) && jJ(t) && Number(t) < r.length)) return !1;
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || pIe(r)) && jJ(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function mIe(e, t) {
+function hIe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
case "number": e = gK(e);
}
- return t = uIe(t), function(n) {
+ return t = dIe(t), function(n) {
let r = bK(n, e);
- return r === void 0 ? pIe(n, e) : t === void 0 ? r === void 0 : AJ(r, t);
+ return r === void 0 ? mIe(n, e) : t === void 0 ? r === void 0 : AJ(r, t);
};
}
//#endregion
@@ -75240,19 +75248,19 @@ function MJ(e) {
if (e == null) return Jq;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? mIe(e[0], e[1]) : cIe(e);
- default: return XFe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? hIe(e[0], e[1]) : lIe(e);
+ default: return ZFe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function hIe(e) {
+function gIe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
function NJ(e, t = Jq) {
- return Yq(e) ? qFe(Array.from(e), JFe(MJ(t), 1)).map(hIe) : [];
+ return Yq(e) ? JFe(Array.from(e), YFe(MJ(t), 1)).map(gIe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
@@ -75261,7 +75269,7 @@ function PJ(e, t, n) {
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var gIe = /* @__PURE__ */ o(((e) => {
+var _Ie = /* @__PURE__ */ o(((e) => {
var t = d(), n = Yv();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -75306,56 +75314,56 @@ var gIe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), _Ie = /* @__PURE__ */ o(((e, t) => {
- t.exports = gIe();
-})), FJ = /*#__PURE__*/ (0, b.createContext)(null), vIe = _Ie(), yIe = (e) => e, IJ = () => {
+})), vIe = /* @__PURE__ */ o(((e, t) => {
+ t.exports = _Ie();
+})), FJ = /*#__PURE__*/ (0, b.createContext)(null), yIe = vIe(), bIe = (e) => e, IJ = () => {
var e = (0, b.useContext)(FJ);
- return e ? e.store.dispatch : yIe;
-}, LJ = () => {}, bIe = () => LJ, xIe = (e, t) => e === t;
+ return e ? e.store.dispatch : bIe;
+}, LJ = () => {}, xIe = () => LJ, SIe = (e, t) => e === t;
function J(e) {
var t = (0, b.useContext)(FJ), n = (0, b.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
} : LJ, [t, e]);
- return (0, vIe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : bIe, t ? t.store.getState : LJ, t ? t.store.getState : LJ, n, xIe);
+ return (0, yIe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : xIe, t ? t.store.getState : LJ, t ? t.store.getState : LJ, n, SIe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function SIe(e, t = `expected a function, instead received ${typeof e}`) {
+function CIe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function CIe(e, t = "expected all items to be functions, instead received the following types: ") {
+function wIe(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 RJ = (e) => Array.isArray(e) ? e : [e];
-function wIe(e) {
+function TIe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return CIe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return wIe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function TIe(e, t) {
+function EIe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var EIe = class {
+var DIe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, zJ = typeof WeakRef > "u" ? EIe : WeakRef, DIe = 0, BJ = 1;
+}, zJ = typeof WeakRef > "u" ? DIe : WeakRef, OIe = 0, BJ = 1;
function VJ() {
return {
- s: DIe,
+ s: OIe,
v: void 0,
o: null,
p: null
};
}
-function OIe(e) {
+function kIe(e) {
return e instanceof zJ ? e.deref() : e;
}
function HJ(e, t = {}) {
@@ -75379,7 +75387,7 @@ function HJ(e, t = {}) {
let s = t, c;
if (t.s === BJ) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = OIe(i);
+ let e = kIe(i);
e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new zJ(c) : c;
}
return s.s = BJ, s.v = c, c;
@@ -75390,21 +75398,21 @@ function HJ(e, t = {}) {
a = 0;
}, o;
}
-function kIe(e, ...t) {
+function AIe(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()), SIe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ typeof o == "object" && (a = o, o = e.pop()), CIe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
let { memoize: s, memoizeOptions: c = [], argsMemoize: l = HJ, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = RJ(c), f = RJ(u), p = wIe(e), m = s(function() {
+ }, d = RJ(c), f = RJ(u), p = TIe(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
- let e = TIe(p, arguments);
+ let e = EIe(p, arguments);
return i = m.apply(null, e), i;
}, ...f);
return Object.assign(h, {
@@ -75426,10 +75434,10 @@ function kIe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ kIe(HJ);
+var Y = /* @__PURE__ */ AIe(HJ);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function AIe(e, t = 1) {
+function jIe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -75448,7 +75456,7 @@ function UJ(e, t, n) {
function WJ(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var jIe = (e, t, n) => {
+var MIe = (e, t, n) => {
if (e !== t) {
let r = WJ(e), i = WJ(t);
if (r === i && r === 0) {
@@ -75458,13 +75466,13 @@ var jIe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, MIe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, NIe = /^\w*$/;
-function PIe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || _K(e) ? !0 : typeof e == "string" && (NIe.test(e) || !MIe.test(e)) || t != null && Object.hasOwn(t, e);
+}, NIe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, PIe = /^\w*$/;
+function FIe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || _K(e) ? !0 : typeof e == "string" && (PIe.test(e) || !NIe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function FIe(e, t, n, r) {
+function IIe(e, t, n, r) {
if (e == null) return [];
n = r ? void 0 : n, Array.isArray(e) || (e = Yq(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) => {
@@ -75474,7 +75482,7 @@ function FIe(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) || PIe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || FIe(e) ? e : {
key: e,
path: yK(e)
}));
@@ -75483,7 +75491,7 @@ function FIe(e, t, n, r) {
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = jIe(e.criteria[r], t.criteria[r], n[r]);
+ let i = MIe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -75493,28 +75501,28 @@ function FIe(e, t, n, r) {
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
function GJ(e, ...t) {
let n = t.length;
- return n > 1 && UJ(e, t[0], t[1]) ? t = [] : n > 2 && UJ(t[0], t[1], t[2]) && (t = [t[0]]), FIe(e, AIe(t), ["asc"]);
+ return n > 1 && UJ(e, t[0], t[1]) ? t = [] : n > 2 && UJ(t[0], t[1], t[2]) && (t = [t[0]]), IIe(e, jIe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var KJ = (e) => e.legend.settings, IIe = (e) => e.legend.size, LIe = Y([(e) => e.legend.payload, KJ], (e, t) => {
+var KJ = (e) => e.legend.settings, LIe = (e) => e.legend.size, RIe = Y([(e) => e.legend.payload, KJ], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
return n ? GJ(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function RIe() {
- return J(LIe);
+function zIe() {
+ return J(RIe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function zIe(e, t) {
- return UIe(e) || HIe(e, t) || VIe(e, t) || BIe();
+function BIe(e, t) {
+ return WIe(e) || UIe(e, t) || HIe(e, t) || VIe();
}
-function BIe() {
+function VIe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function VIe(e, t) {
+function HIe(e, t) {
if (e) {
if (typeof e == "string") return qJ(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -75526,7 +75534,7 @@ function qJ(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function HIe(e, t) {
+function UIe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -75547,7 +75555,7 @@ function HIe(e, t) {
return s;
}
}
-function UIe(e) {
+function WIe(e) {
if (Array.isArray(e)) return e;
}
var JJ = 1;
@@ -75564,7 +75572,7 @@ function XJ(e) {
};
}
function ZJ() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = zIe((0, b.useState)({
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = BIe((0, b.useState)({
height: 0,
left: 0,
top: 0,
@@ -75676,7 +75684,7 @@ function rY(e, t, n) {
[$J]: m
};
}
-function WIe(e) {
+function GIe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
if (n(void 0, { type: tY.INIT }) === void 0) throw Error(QJ(12));
@@ -75691,7 +75699,7 @@ function iY(e) {
}
let r = Object.keys(n), i;
try {
- WIe(n);
+ GIe(n);
} catch (e) {
i = e;
}
@@ -75709,7 +75717,7 @@ function iY(e) {
function aY(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function GIe(...e) {
+function KIe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
throw Error(QJ(15));
@@ -75736,7 +75744,7 @@ var dY = Object, fY = dY.getPrototypeOf, pY = "constructor", mY = "prototype", h
function bY(e) {
return e ? SY(e) || OY(e) || !!e[cY] || !!e[pY]?.[cY] || kY(e) || AY(e) : !1;
}
-var KIe = dY[mY][pY].toString(), xY = /* @__PURE__ */ new WeakMap();
+var qIe = dY[mY][pY].toString(), xY = /* @__PURE__ */ new WeakMap();
function SY(e) {
if (!e || !jY(e)) return !1;
let t = fY(e);
@@ -75745,7 +75753,7 @@ function SY(e) {
if (n === Object) return !0;
if (!MY(n)) return !1;
let r = xY.get(n);
- return r === void 0 && (r = Function.toString.call(n), xY.set(n, r)), r === KIe;
+ return r === void 0 && (r = Function.toString.call(n), xY.set(n, r)), r === qIe;
}
function CY(e, t, n = !0) {
wY(e) === 0 ? (n ? Reflect.ownKeys(e) : dY.keys(e)).forEach((n) => {
@@ -75759,11 +75767,11 @@ function wY(e) {
var TY = (e, t, n = wY(e)) => n === 2 ? e.has(t) : dY[mY].hasOwnProperty.call(e, t), EY = (e, t, n = wY(e)) => n === 2 ? e.get(t) : e[t], DY = (e, t, n, r = wY(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function qIe(e, t) {
+function JIe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var OY = Array.isArray, kY = (e) => e instanceof Map, AY = (e) => e instanceof Set, jY = (e) => typeof e == "object", MY = (e) => typeof e == "function", NY = (e) => typeof e == "boolean";
-function JIe(e) {
+function YIe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -75805,10 +75813,10 @@ function LY(e, t = !1) {
LY(t, !0);
}, !1)), e;
}
-function YIe() {
+function XIe() {
uY(2);
}
-var RY = { [vY]: YIe };
+var RY = { [vY]: XIe };
function zY(e) {
return e === null || !jY(e) || dY.isFrozen(e);
}
@@ -75817,7 +75825,7 @@ function WY(e) {
let t = UY[e];
return t || uY(0, e), t;
}
-var GY = (e) => !!UY[e], KY, qY = () => KY, XIe = (e, t) => ({
+var GY = (e) => !!UY[e], KY, qY = () => KY, ZIe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -75832,13 +75840,13 @@ function JY(e, t) {
t && (e.patchPlugin_ = WY(VY), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function YY(e) {
- XY(e), e.drafts_.forEach(ZIe), e.drafts_ = null;
+ XY(e), e.drafts_.forEach(QIe), e.drafts_ = null;
}
function XY(e) {
e === KY && (KY = e.parent_);
}
-var ZY = (e) => KY = XIe(KY, e);
-function ZIe(e) {
+var ZY = (e) => KY = ZIe(KY, e);
+function QIe(e) {
let t = e[lY];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -75850,7 +75858,7 @@ function QY(e, t) {
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[lY].base_, e, t);
} else e = $Y(t, n);
- return QIe(t, e, !0), YY(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === sY ? void 0 : e;
+ return $Ie(t, e, !0), YY(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === sY ? void 0 : e;
}
function $Y(e, t) {
if (zY(t)) return t;
@@ -75865,13 +75873,13 @@ function $Y(e, t) {
}
return n.copy_;
}
-function QIe(e, t, n = !1) {
+function $Ie(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && LY(t, n);
}
function eX(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var tX = (e, t) => e.scope_ === t, $Ie = [];
+var tX = (e, t) => e.scope_ === t, eLe = [];
function nX(e, t, n, r) {
let i = PY(e), a = e.type_;
if (r !== void 0 && EY(i, r, a) === t) {
@@ -75887,10 +75895,10 @@ function nX(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? $Ie;
+ let o = e.draftLocations_.get(t) ?? eLe;
for (let e of o) DY(i, e, n, a);
}
-function eLe(e, t, n) {
+function tLe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !tX(i, r)) return;
@@ -75909,7 +75917,7 @@ function rX(e, t) {
eX(e);
}
}
-function tLe(e, t, n) {
+function nLe(e, t, n) {
let { scope_: r } = e;
if (yY(n)) {
let i = n[lY];
@@ -75929,7 +75937,7 @@ function iX(e, t, n) {
} else bY(i) && iX(i, t, n);
})), e;
}
-function nLe(e, t) {
+function rLe(e, t) {
let n = OY(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : qY(),
@@ -75954,10 +75962,10 @@ var aX = {
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = PY(e);
- if (!TY(i, t, e.type_)) return iLe(e, i, t);
+ if (!TY(i, t, e.type_)) return aLe(e, i, t);
let a = i[t];
- if (e.finalized_ || !bY(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && JIe(t)) return a;
- if (a === sX(e.base_, t) || rLe(e, t, a)) {
+ if (e.finalized_ || !bY(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && YIe(t)) return a;
+ if (a === sX(e.base_, t) || iLe(e, t, a)) {
uX(e);
let n = e.type_ === 1 ? +t : t, r = dX(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -75976,10 +75984,10 @@ var aX = {
if (!e.modified_) {
let r = sX(PY(e), t), i = r?.[lY];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if (qIe(n, r) && (n !== void 0 || TY(e.base_, t, e.type_))) return !0;
+ if (JIe(n, r) && (n !== void 0 || TY(e.base_, t, e.type_))) return !0;
uX(e), lX(e);
}
- return e.copy_[t] === n && (n !== void 0 || TY(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), tLe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || TY(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), nLe(e, t, n)), !0;
},
deleteProperty(e, t) {
return uX(e), sX(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), lX(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -76019,10 +76027,10 @@ function sX(e, t) {
let n = e[lY];
return (n ? PY(n) : e)[t];
}
-function rLe(e, t, n) {
+function iLe(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !bY(n) || n[lY] ? !1 : e.baseRefs_.has(n);
}
-function iLe(e, t, n) {
+function aLe(e, t, n) {
let r = cX(t, n);
return r ? vY in r ? r[vY] : r.get?.call(e.draft_) : void 0;
}
@@ -76041,7 +76049,7 @@ function lX(e) {
function uX(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), IY(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var aLe = class {
+var oLe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (MY(e) && !MY(t)) {
@@ -76124,8 +76132,8 @@ var aLe = class {
}
};
function dX(e, t, n, r) {
- let [i, a] = kY(t) ? WY(BY).proxyMap_(t, n) : AY(t) ? WY(BY).proxySet_(t, n) : nLe(t, n);
- return (n?.scope_ ?? qY()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? eLe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = kY(t) ? WY(BY).proxyMap_(t, n) : AY(t) ? WY(BY).proxySet_(t, n) : rLe(t, n);
+ return (n?.scope_ ?? qY()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? tLe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
@@ -76146,13 +76154,13 @@ function pX(e) {
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var mX = new aLe().produce, hX = (e) => e;
+var mX = new oLe().produce, hX = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
function gX(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var oLe = gX(), sLe = gX, cLe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+var sLe = gX(), cLe = gX, lLe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
if (arguments.length !== 0) return typeof arguments[0] == "object" ? aY : aY.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
@@ -76195,23 +76203,23 @@ function yX(e) {
function bX(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function lLe(e) {
+function uLe(e) {
return typeof e == "boolean";
}
-var uLe = () => function(e) {
+var dLe = () => function(e) {
let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new vX();
- return t && (lLe(t) ? a.push(oLe) : a.push(sLe(t.extraArgument))), a;
+ return t && (uLe(t) ? a.push(sLe) : a.push(cLe(t.extraArgument))), a;
}, xX = "RTK_autoBatch", SX = () => (e) => ({
payload: e,
meta: { [xX]: !0 }
}), CX = (e) => (t) => {
setTimeout(t, e);
-}, dLe = (e, t) => (n) => {
+}, fLe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
}, wX = (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 ? dLe(window.requestAnimationFrame, 100) : CX(10) : e.type === "callback" ? e.queueNotification : CX(e.timeout), l = () => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? fLe(window.requestAnimationFrame, 100) : CX(10) : e.type === "callback" ? e.queueNotification : CX(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -76229,23 +76237,23 @@ var uLe = () => function(e) {
}
}
});
-}, fLe = (e) => function(t) {
+}, pLe = (e) => function(t) {
let { autoBatch: n = !0 } = t ?? {}, r = new vX(e);
return n && r.push(wX(typeof n == "object" ? n : void 0)), r;
};
-function pLe(e) {
- let t = uLe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function mLe(e) {
+ let t = dLe(), { 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 (nY(n)) c = iY(n);
else throw Error(QX(1));
let l;
l = typeof r == "function" ? r(t) : t();
let u = aY;
- i && (u = cLe({
+ i && (u = lLe({
trace: !1,
...typeof i == "object" && i
}));
- let d = fLe(GIe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ let d = pLe(KIe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
return rY(c, o, p);
}
function TX(e) {
@@ -76278,12 +76286,12 @@ function TX(e) {
r
];
}
-function mLe(e) {
+function hLe(e) {
return typeof e == "function";
}
-function hLe(e, t) {
+function gLe(e, t) {
let [n, r, i] = TX(t), a;
- if (mLe(e)) a = () => yX(e());
+ if (hLe(e)) a = () => yX(e());
else {
let t = yX(e);
a = () => t;
@@ -76311,20 +76319,20 @@ function hLe(e, t) {
}
return o.getInitialState = a, o;
}
-var gLe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", _Le = (e = 21) => {
+var _Le = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", vLe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += gLe[Math.random() * 64 | 0];
+ for (; n--;) t += _Le[Math.random() * 64 | 0];
return t;
-}, vLe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function yLe(e, t) {
+}, yLe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function bLe(e, t) {
return `${e}/${t}`;
}
-function bLe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[vLe];
+function xLe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[yLe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(QX(11));
- let i = (typeof e.reducers == "function" ? e.reducers(SLe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(CLe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -76352,17 +76360,17 @@ function bLe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: yLe(n, r),
+ type: bLe(n, r),
createNotation: typeof e.reducers == "function"
};
- wLe(a) ? ELe(o, a, s, t) : CLe(o, a, s);
+ TLe(a) ? DLe(o, a, s, t) : wLe(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? TX(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return hLe(e.initialState, (e) => {
+ return gLe(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);
@@ -76384,7 +76392,7 @@ function bLe({ creators: e } = {}) {
function i(t = l) {
return bX(bX(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = xLe(a, t, () => bX(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = SLe(a, t, () => bX(d, t, m), n);
return r;
});
}
@@ -76418,15 +76426,15 @@ function bLe({ creators: e } = {}) {
return g;
};
}
-function xLe(e, t, n, r) {
+function SLe(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 EX = /* @__PURE__ */ bLe();
-function SLe() {
+var EX = /* @__PURE__ */ xLe();
+function CLe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -76450,21 +76458,21 @@ function SLe() {
asyncThunk: e
};
}
-function CLe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function wLe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !TLe(r)) throw Error(QX(17));
+ if (n && !ELe(r)) throw Error(QX(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? _X(e, o) : _X(e));
}
-function wLe(e) {
+function TLe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function TLe(e) {
+function ELe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function ELe({ type: e, reducerName: t }, n, r, i) {
+function DLe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(QX(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, {
@@ -76475,9 +76483,9 @@ function ELe({ type: e, reducerName: t }, n, r, i) {
});
}
function DX() {}
-var DLe = "task", OX = "listener", kX = "completed", AX = "cancelled", OLe = `task-${AX}`, kLe = `task-${kX}`, jX = `${OX}-${AX}`, ALe = `${OX}-${kX}`, MX = class {
+var OLe = "task", OX = "listener", kX = "completed", AX = "cancelled", kLe = `task-${AX}`, ALe = `task-${kX}`, jX = `${OX}-${AX}`, jLe = `${OX}-${kX}`, MX = class {
constructor(e) {
- this.code = e, this.message = `${DLe} ${AX} (reason: ${e})`;
+ this.code = e, this.message = `${OLe} ${AX} (reason: ${e})`;
}
code;
name = "TaskAbortError";
@@ -76496,7 +76504,7 @@ function RX(e, t) {
n = PX;
});
}
-var jLe = async (e, t) => {
+var MLe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -76513,13 +76521,13 @@ var jLe = async (e, t) => {
}, zX = (e) => (t) => FX(RX(e, t).then((t) => (LX(e), t))), BX = (e) => {
let t = zX(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: VX } = Object, HX = {}, UX = "listenerMiddleware", MLe = (e, t) => {
+}, { assign: VX } = Object, HX = {}, UX = "listenerMiddleware", NLe = (e, t) => {
let n = (t) => IX(e, () => t.abort(e.reason));
return (r, i) => {
NX(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = jLe(async () => {
+ let o = MLe(async () => {
LX(e), LX(a.signal);
let t = await r({
pause: zX(a.signal),
@@ -76527,15 +76535,15 @@ var jLe = async (e, t) => {
signal: a.signal
});
return LX(a.signal), t;
- }, () => a.abort(kLe));
+ }, () => a.abort(ALe));
return i?.autoJoin && t.push(o.catch(PX)), {
result: zX(e)(o),
cancel() {
- a.abort(OLe);
+ a.abort(kLe);
}
};
};
-}, NLe = (e, t) => {
+}, PLe = (e, t) => {
let n = async (n, r) => {
LX(t);
let i = () => {}, a = [new Promise((t, r) => {
@@ -76576,7 +76584,7 @@ var jLe = async (e, t) => {
}, GX = /* @__PURE__ */ VX((e) => {
let { type: t, predicate: n, effect: r } = WX(e);
return {
- id: _Le(),
+ id: vLe(),
effect: r,
type: t,
predicate: n,
@@ -76592,7 +76600,7 @@ var jLe = async (e, t) => {
e.pending.forEach((e) => {
e.abort(jX);
});
-}, PLe = (e, t) => () => {
+}, FLe = (e, t) => () => {
for (let e of t.keys()) qX(e);
e.clear();
}, JX = (e, t, n) => {
@@ -76603,7 +76611,7 @@ var jLe = async (e, t) => {
throw e;
}, 0);
}
-}, YX = /* @__PURE__ */ VX(/* @__PURE__ */ _X(`${UX}/add`), { withTypes: () => YX }), FLe = /* @__PURE__ */ _X(`${UX}/removeAll`), XX = /* @__PURE__ */ VX(/* @__PURE__ */ _X(`${UX}/remove`), { withTypes: () => XX }), ILe = (...e) => {
+}, YX = /* @__PURE__ */ VX(/* @__PURE__ */ _X(`${UX}/add`), { withTypes: () => YX }), ILe = /* @__PURE__ */ _X(`${UX}/removeAll`), XX = /* @__PURE__ */ VX(/* @__PURE__ */ _X(`${UX}/remove`), { withTypes: () => XX }), LLe = (...e) => {
console.error(`${UX}/error`, ...e);
}, ZX = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
@@ -76612,7 +76620,7 @@ var jLe = async (e, t) => {
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = ILe } = e;
+ }, { extra: a, onError: o = LLe } = e;
NX(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
e.unsubscribe(), t?.cancelActive && qX(e);
@@ -76627,7 +76635,7 @@ var jLe = async (e, t) => {
};
VX(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = NLe(c, u.signal), f = [];
+ let u = new AbortController(), d = PLe(c, u.signal), f = [];
try {
e.pending.add(u), r(e), await Promise.resolve(e.effect(n, VX({}, s, {
getOriginalState: l,
@@ -76637,7 +76645,7 @@ var jLe = async (e, t) => {
pause: zX(u.signal),
extra: a,
signal: u.signal,
- fork: MLe(u.signal, f),
+ fork: NLe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
@@ -76657,14 +76665,14 @@ var jLe = async (e, t) => {
} catch (e) {
e instanceof MX || JX(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(ALe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(jLe), i(e), e.pending.delete(u);
}
- }, d = PLe(t, n);
+ }, d = FLe(t, n);
return {
middleware: (e) => (n) => (r) => {
if (!oY(r)) return n(r);
if (YX.match(r)) return c(r.payload);
- if (FLe.match(r)) {
+ if (ILe.match(r)) {
d();
return;
}
@@ -76729,7 +76737,7 @@ var $X = EX({
e.scale = t.payload;
}
}
-}), eZ = $X.actions, LLe = eZ.setMargin, RLe = eZ.setLayout, zLe = eZ.setChartSize, BLe = eZ.setScale, VLe = $X.reducer;
+}), eZ = $X.actions, RLe = eZ.setMargin, zLe = eZ.setLayout, BLe = eZ.setChartSize, VLe = eZ.setScale, HLe = $X.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
function tZ(e, t, n) {
@@ -76759,26 +76767,26 @@ function aZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? iZ(Object(n), !0).forEach(function(t) {
- HLe(e, t, n[t]);
+ ULe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HLe(e, t, n) {
- return (t = ULe(t)) in e ? Object.defineProperty(e, t, {
+function ULe(e, t, n) {
+ return (t = WLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ULe(e) {
- var t = WLe(e, "string");
+function WLe(e) {
+ var t = GLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WLe(e, t) {
+function GLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76791,7 +76799,7 @@ function WLe(e, t) {
function oZ(e, t, n) {
return NK(e) || NK(t) ? n : DK(t) ? bK(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var GLe = (e, t, n) => {
+var KLe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
@@ -76853,7 +76861,7 @@ var GLe = (e, t, n) => {
if (!t || t.length !== 2 || !EK(t[0]) || !EK(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!EK(e[0]) || e[0] < n) && (i[0] = n), (!EK(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, KLe = {
+}, qLe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -76867,10 +76875,10 @@ var GLe = (e, t, n) => {
}
}
},
- expand: xFe,
+ expand: SFe,
none: Mq,
- silhouette: SFe,
- wiggle: CFe,
+ silhouette: CFe,
+ wiggle: wFe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -76884,8 +76892,8 @@ var GLe = (e, t, n) => {
}
}
}
-}, qLe = (e, t, n) => {
- var r = KLe[n] ?? Mq, i = bFe().keys(t).value((e, t) => Number(oZ(e, t, 0))).order(Nq).offset(r)(e);
+}, JLe = (e, t, n) => {
+ var r = qLe[n] ?? Mq, i = xFe().keys(t).value((e, t) => Number(oZ(e, t, 0))).order(Nq).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = oZ(e[i], t[r], 0);
@@ -76922,15 +76930,15 @@ var pZ = (e) => {
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, JLe = (e) => {
+}, YLe = (e) => {
var t = e.flat(2).filter(EK);
return [Math.min(...t), Math.max(...t)];
-}, YLe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], XLe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return YLe(Object.keys(e).reduce((r, i) => {
+}, XLe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], ZLe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return XLe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = JLe(tZ(r, t, n));
+ var i = YLe(tZ(r, t, n));
return !nZ(i[0]) || !nZ(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];
@@ -76964,10 +76972,10 @@ function yZ(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var ZLe = (e, t) => {
+var QLe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, QLe = (e, t) => t === "centric" ? e.angle : e.radius, bZ = (e) => e.layout.width, xZ = (e) => e.layout.height, $Le = (e) => e.layout.scale, SZ = (e) => e.layout.margin, CZ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), wZ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), eRe = "data-recharts-item-index";
+}, $Le = (e, t) => t === "centric" ? e.angle : e.radius, bZ = (e) => e.layout.width, xZ = (e) => e.layout.height, eRe = (e) => e.layout.scale, SZ = (e) => e.layout.margin, CZ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), wZ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), tRe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
function TZ(e, t) {
@@ -76984,26 +76992,26 @@ function EZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? TZ(Object(n), !0).forEach(function(t) {
- tRe(e, t, n[t]);
+ nRe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tRe(e, t, n) {
- return (t = nRe(t)) in e ? Object.defineProperty(e, t, {
+function nRe(e, t, n) {
+ return (t = rRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nRe(e) {
- var t = rRe(e, "string");
+function rRe(e) {
+ var t = iRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rRe(e, t) {
+function iRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77013,30 +77021,30 @@ function rRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var iRe = (e) => e.brush.height;
-function aRe(e) {
+var aRe = (e) => e.brush.height;
+function oRe(e) {
return wZ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function oRe(e) {
+function sRe(e) {
return wZ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function sRe(e) {
+function cRe(e) {
return CZ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-function cRe(e) {
+function lRe(e) {
return CZ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
var DZ = Y([
bZ,
xZ,
SZ,
- iRe,
aRe,
oRe,
sRe,
cRe,
+ lRe,
KJ,
- IIe
+ LIe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -77045,7 +77053,7 @@ var DZ = Y([
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = GLe(d, c, l);
+ d.bottom += r, d = KLe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
return EZ(EZ({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
@@ -77061,7 +77069,7 @@ var DZ = Y([
y: 0,
width: e,
height: t
-})), lRe = /*#__PURE__*/ (0, b.createContext)(null), AZ = () => (0, b.useContext)(lRe) != null, jZ = (e) => e.brush, MZ = Y([
+})), uRe = /*#__PURE__*/ (0, b.createContext)(null), AZ = () => (0, b.useContext)(uRe) != null, jZ = (e) => e.brush, MZ = Y([
jZ,
DZ,
SZ
@@ -77073,7 +77081,7 @@ var DZ = Y([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function uRe(e, t, { signal: n, edges: r } = {}) {
+function dRe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -77098,11 +77106,11 @@ function uRe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function dRe(e, t = 0, n = {}) {
+function fRe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = uRe(function(...t) {
+ let s, c = null, l = dRe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -77111,9 +77119,9 @@ function dRe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function fRe(e, t = 0, n = {}) {
+function pRe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return dRe(e, t, {
+ return fRe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -77145,21 +77153,21 @@ var NZ = function(e, t) {
calculatedWidth: l,
calculatedHeight: u
};
-}, pRe = {
+}, mRe = {
width: 0,
height: 0,
overflow: "visible"
-}, mRe = {
+}, hRe = {
width: 0,
overflowX: "visible"
-}, hRe = {
+}, gRe = {
height: 0,
overflowY: "visible"
-}, gRe = {}, _Re = (e) => {
+}, _Re = {}, vRe = (e) => {
var t = e.width, n = e.height, r = TK(t), i = TK(n);
- return r && i ? pRe : r ? mRe : i ? hRe : gRe;
+ return r && i ? mRe : r ? hRe : i ? gRe : _Re;
};
-function vRe(e) {
+function yRe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
return i === void 0 && a === void 0 ? (i = PZ.width, a = PZ.height) : i === void 0 ? i = r && r > 0 ? void 0 : PZ.width : a === void 0 && (a = r && r > 0 ? void 0 : PZ.height), {
width: i,
@@ -77168,7 +77176,7 @@ function vRe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var yRe = [
+var bRe = [
"aspect",
"initialDimension",
"width",
@@ -77206,26 +77214,26 @@ function RZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? LZ(Object(n), !0).forEach(function(t) {
- bRe(e, t, n[t]);
+ xRe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bRe(e, t, n) {
- return (t = xRe(t)) in e ? Object.defineProperty(e, t, {
+function xRe(e, t, n) {
+ return (t = SRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xRe(e) {
- var t = SRe(e, "string");
+function SRe(e) {
+ var t = CRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SRe(e, t) {
+function CRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77235,13 +77243,13 @@ function SRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function CRe(e, t) {
- return DRe(e) || ERe(e, t) || TRe(e, t) || wRe();
+function wRe(e, t) {
+ return ORe(e) || DRe(e, t) || ERe(e, t) || TRe();
}
-function wRe() {
+function TRe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function TRe(e, t) {
+function ERe(e, t) {
if (e) {
if (typeof e == "string") return zZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -77253,7 +77261,7 @@ function zZ(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function ERe(e, t) {
+function DRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -77274,19 +77282,19 @@ function ERe(e, t) {
return s;
}
}
-function DRe(e) {
+function ORe(e) {
if (Array.isArray(e)) return e;
}
-function ORe(e, t) {
+function kRe(e, t) {
if (e == null) return {};
- var n, r, i = kRe(e, t);
+ var n, r, i = ARe(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 kRe(e, t) {
+function ARe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77296,7 +77304,7 @@ function kRe(e, t) {
return n;
}
var BZ = /*#__PURE__*/ (0, b.createContext)(PZ.initialDimension);
-function ARe(e) {
+function jRe(e) {
return rZ(e.width) && rZ(e.height);
}
function VZ(e) {
@@ -77304,12 +77312,12 @@ function VZ(e) {
width: n,
height: r
}), [n, r]);
- return ARe(i) ? /*#__PURE__*/ b.createElement(BZ.Provider, { value: i }, t) : null;
+ return jRe(i) ? /*#__PURE__*/ b.createElement(BZ.Provider, { value: i }, t) : null;
}
-var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? PZ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? PZ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? PZ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = ORe(e, yRe), x = (0, b.useRef)(null), S = (0, b.useRef)();
+var HZ = () => (0, b.useContext)(BZ), MRe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? PZ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? PZ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? PZ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = kRe(e, bRe), x = (0, b.useRef)(null), S = (0, b.useRef)();
S.current = g, (0, b.useImperativeHandle)(t, () => x.current);
- var C = CRe((0, b.useState)({
+ var C = wRe((0, b.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, b.useCallback)((e, t) => {
@@ -77330,7 +77338,7 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
E(i, a), (t = S.current) == null || t.call(S, i, a);
}
};
- p > 0 && (e = fRe(e, p, {
+ p > 0 && (e = pRe(e, p, {
trailing: !0,
leading: !1
}));
@@ -77358,7 +77366,7 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
maxHeight: u
}),
ref: x
- }, y), /*#__PURE__*/ b.createElement("div", { style: _Re({
+ }, y), /*#__PURE__*/ b.createElement("div", { style: vRe({
width: a,
height: o
}) }, /*#__PURE__*/ b.createElement(VZ, {
@@ -77368,7 +77376,7 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
}), UZ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = HZ();
if (rZ(n.width) && rZ(n.height)) return e.children;
- var r = vRe({
+ var r = yRe({
width: e.width,
height: e.height,
aspect: e.aspect
@@ -77381,7 +77389,7 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
return EK(s) && EK(c) ? /*#__PURE__*/ b.createElement(VZ, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ b.createElement(jRe, IZ({}, e, {
+ }, e.children) : /*#__PURE__*/ b.createElement(MRe, IZ({}, e, {
width: i,
height: a,
ref: t
@@ -77394,7 +77402,7 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
x: r.left,
y: r.top
};
-}, MRe = {
+}, NRe = {
top: 0,
bottom: 0,
left: 0,
@@ -77402,16 +77410,16 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, GZ = () => J(DZ) ?? MRe, KZ = () => J(bZ), qZ = () => J(xZ), NRe = () => J((e) => e.layout.margin), JZ = (e) => e.layout.layoutType, YZ = () => J(JZ), XZ = () => {
+}, GZ = () => J(DZ) ?? NRe, KZ = () => J(bZ), qZ = () => J(xZ), PRe = () => J((e) => e.layout.margin), JZ = (e) => e.layout.layoutType, YZ = () => J(JZ), XZ = () => {
var e = YZ();
if (e === "horizontal" || e === "vertical") return e;
}, ZZ = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, QZ = () => J(ZZ), PRe = () => YZ() !== void 0, $Z = (e) => {
+}, QZ = () => J(ZZ), FRe = () => YZ() !== void 0, $Z = (e) => {
var t = IJ(), n = AZ(), r = e.width, i = e.height, a = HZ(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {
- !n && rZ(o) && rZ(s) && t(zLe({
+ !n && rZ(o) && rZ(s) && t(BLe({
width: o,
height: s
}));
@@ -77466,24 +77474,24 @@ var HZ = () => (0, b.useContext)(BZ), jRe = /*#__PURE__*/ (0, b.forwardRef)((e,
prepare: SX()
}
}
-}), tQ = eQ.actions, nQ = tQ.setLegendSize, FRe = tQ.setLegendSettings, rQ = tQ.addLegendPayload, iQ = tQ.replaceLegendPayload, aQ = tQ.removeLegendPayload, IRe = eQ.reducer, LRe = /* @__PURE__ */ o(((e) => {
+}), tQ = eQ.actions, nQ = tQ.setLegendSize, IRe = tQ.setLegendSettings, rQ = tQ.addLegendPayload, iQ = tQ.replaceLegendPayload, aQ = tQ.removeLegendPayload, LRe = eQ.reducer, RRe = /* @__PURE__ */ o(((e) => {
var t = d();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = LRe();
+ t.exports = RRe();
})))();
-function RRe(e) {
+function zRe(e) {
e();
}
-function zRe() {
+function BRe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- RRe(() => {
+ zRe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -77509,7 +77517,7 @@ var oQ = {
notify() {},
get: () => []
};
-function BRe(e, t) {
+function VRe(e, t) {
let n, r = oQ, i = 0, a = !1;
function o(e) {
u();
@@ -77528,7 +77536,7 @@ function BRe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = zRe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = BRe());
}
function d() {
i--, n && i === 0 && (n(), n = void 0, r.clear(), r = oQ);
@@ -77550,11 +77558,11 @@ function BRe(e, t) {
};
return m;
}
-var VRe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, HRe = typeof navigator < "u" && navigator.product === "ReactNative", URe = VRe || HRe ? b.useLayoutEffect : b.useEffect;
+var HRe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, URe = typeof navigator < "u" && navigator.product === "ReactNative", WRe = HRe || URe ? b.useLayoutEffect : b.useEffect;
function sQ(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function WRe(e, t) {
+function GRe(e, t) {
if (sQ(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
@@ -77562,32 +77570,32 @@ function WRe(e, t) {
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !sQ(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var GRe = /* @__PURE__ */ Symbol.for("react-redux-context"), KRe = typeof globalThis < "u" ? globalThis : {};
-function qRe() {
+var KRe = /* @__PURE__ */ Symbol.for("react-redux-context"), qRe = typeof globalThis < "u" ? globalThis : {};
+function JRe() {
if (!b.createContext) return {};
- let e = KRe[GRe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
+ let e = qRe[KRe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
return t || (t = b.createContext(null), e.set(b.createContext, t)), t;
}
-var JRe = /* @__PURE__ */ qRe();
-function YRe(e) {
+var YRe = /* @__PURE__ */ JRe();
+function XRe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = b.useMemo(() => {
- let e = BRe(i);
+ let e = VRe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = b.useMemo(() => i.getState(), [i]);
- URe(() => {
+ WRe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || JRe;
+ let s = n || YRe;
return /* @__PURE__ */ b.createElement(s.Provider, { value: a }, t);
}
-var XRe = YRe, ZRe = /* @__PURE__ */ new Set([
+var ZRe = XRe, QRe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -77610,19 +77618,19 @@ var XRe = YRe, ZRe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function QRe(e, t) {
+function $Re(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
function cQ(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (ZRe.has(n)) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (QRe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!WRe(e[n], t[n])) return !1;
- } else if (!QRe(e[n], t[n])) return !1;
+ if (!GRe(e[n], t[n])) return !1;
+ } else if (!$Re(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var $Re = Y([
+var eze = Y([
bZ,
xZ,
SZ
@@ -77634,7 +77642,7 @@ var $Re = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function eze(e, t) {
+function tze(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -77647,7 +77655,7 @@ function eze(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var tze = ["contextPayload"];
+var nze = ["contextPayload"];
function lQ() {
return lQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -77657,13 +77665,13 @@ function lQ() {
return e;
}, lQ.apply(null, arguments);
}
-function nze(e, t) {
- return oze(e) || aze(e, t) || ize(e, t) || rze();
+function rze(e, t) {
+ return sze(e) || oze(e, t) || aze(e, t) || ize();
}
-function rze() {
+function ize() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function ize(e, t) {
+function aze(e, t) {
if (e) {
if (typeof e == "string") return uQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -77675,7 +77683,7 @@ function uQ(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function aze(e, t) {
+function oze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -77696,7 +77704,7 @@ function aze(e, t) {
return s;
}
}
-function oze(e) {
+function sze(e) {
if (Array.isArray(e)) return e;
}
function dQ(e, t) {
@@ -77713,26 +77721,26 @@ function fQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? dQ(Object(n), !0).forEach(function(t) {
- sze(e, t, n[t]);
+ cze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sze(e, t, n) {
- return (t = cze(t)) in e ? Object.defineProperty(e, t, {
+function cze(e, t, n) {
+ return (t = lze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cze(e) {
- var t = lze(e, "string");
+function lze(e) {
+ var t = uze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lze(e, t) {
+function uze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77742,16 +77750,16 @@ function lze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uze(e, t) {
+function dze(e, t) {
if (e == null) return {};
- var n, r, i = dze(e, t);
+ var n, r, i = fze(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 dze(e, t) {
+function fze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77760,30 +77768,30 @@ function dze(e, t) {
}
return n;
}
-function fze(e) {
- return e.value;
-}
function pze(e) {
- var t = e.contextPayload, n = uze(e, tze), r = PJ(t, e.payloadUniqBy, fze), i = fQ(fQ({}, n), {}, { payload: r });
- return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(KFe, i);
+ return e.value;
}
function mze(e) {
+ var t = e.contextPayload, n = dze(e, nze), r = PJ(t, e.payloadUniqBy, pze), i = fQ(fQ({}, n), {}, { payload: r });
+ return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(qFe, i);
+}
+function hze(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function hze(e, t) {
- return t == null ? null : VK(t) ? $Re(e) : OZ(e);
+function gze(e, t) {
+ return t == null ? null : VK(t) ? eze(e) : OZ(e);
}
-function gze(e, t, n) {
+function _ze(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
}
-function _ze(e, t, n, r, i, a) {
+function vze(e, t, n, r, i, a) {
var o = t.layout, s = t.align, c = t.verticalAlign, 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 }), fQ(fQ({}, l), u);
}
-function vze(e) {
+function yze(e) {
var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = IJ();
return (0, b.useLayoutEffect)(() => {
- s(FRe({
+ s(IRe({
align: t,
layout: n,
verticalAlign: r,
@@ -77801,7 +77809,7 @@ function vze(e) {
o
]), null;
}
-function yze(e) {
+function bze(e) {
var t = e.width, n = e.height, r = IJ();
return (0, b.useLayoutEffect)(() => {
r(nQ({
@@ -77819,10 +77827,10 @@ function yze(e) {
}));
}, [r]), null;
}
-function bze(e, t, n, r) {
+function xze(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var xze = {
+var Sze = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -77832,10 +77840,10 @@ var xze = {
verticalAlign: "bottom",
offset: 0
};
-function Sze(e) {
- var t = Uq(e, xze), n = e.layout && e.layout !== "auto" ? e.layout : mze(t.position), r = RIe(), i = GPe(), a = NRe(), o = J((e) => hze(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || VK(t.position)), f = nze(ZJ([r]), 2), p = f[0], m = f[1], h = KZ(), g = qZ();
+function Cze(e) {
+ var t = Uq(e, Sze), n = e.layout && e.layout !== "auto" ? e.layout : hze(t.position), r = zIe(), i = KPe(), a = PRe(), o = J((e) => gze(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || VK(t.position)), f = rze(ZJ([r]), 2), p = f[0], m = f[1], h = KZ(), g = qZ();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = bze(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : BK({
+ var _ = xze(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : BK({
viewBox: o ?? {
x: 0,
y: 0,
@@ -77844,7 +77852,7 @@ function Sze(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = gze(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
+ }), y = _ze(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
width: "max-content",
height: "max-content",
maxWidth: x,
@@ -77852,8 +77860,8 @@ function Sze(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: eze(v.horizontalAnchor, v.verticalAnchor)
- } : _ze(l, t, a, h, g, p), w = u ? l : fQ(fQ({
+ transform: tze(v.horizontalAnchor, v.verticalAnchor)
+ } : vze(l, t, a, h, g, p), w = u ? l : fQ(fQ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -77863,14 +77871,14 @@ function Sze(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ b.createElement(vze, {
+ }, /*#__PURE__*/ b.createElement(yze, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ b.createElement(yze, p), /*#__PURE__*/ b.createElement(pze, lQ({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ b.createElement(bze, p), /*#__PURE__*/ b.createElement(mze, lQ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -77878,7 +77886,7 @@ function Sze(e) {
})));
return /*#__PURE__*/ (0, mt.createPortal)(E, T);
}
-var pQ = /*#__PURE__*/ b.memo(Sze, cQ);
+var pQ = /*#__PURE__*/ b.memo(Cze, cQ);
pQ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
@@ -77905,26 +77913,26 @@ function gQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? hQ(Object(n), !0).forEach(function(t) {
- Cze(e, t, n[t]);
+ wze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cze(e, t, n) {
- return (t = wze(t)) in e ? Object.defineProperty(e, t, {
+function wze(e, t, n) {
+ return (t = Tze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wze(e) {
- var t = Tze(e, "string");
+function Tze(e) {
+ var t = Eze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tze(e, t) {
+function Eze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77934,13 +77942,13 @@ function Tze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Eze(e, t) {
- return Aze(e) || kze(e, t) || Oze(e, t) || Dze();
+function Dze(e, t) {
+ return jze(e) || Aze(e, t) || kze(e, t) || Oze();
}
-function Dze() {
+function Oze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Oze(e, t) {
+function kze(e, t) {
if (e) {
if (typeof e == "string") return _Q(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -77952,7 +77960,7 @@ function _Q(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function kze(e, t) {
+function Aze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -77973,10 +77981,10 @@ function kze(e, t) {
return s;
}
}
-function Aze(e) {
+function jze(e) {
if (Array.isArray(e)) return e;
}
-function jze(e) {
+function Mze(e) {
return Array.isArray(e) && DK(e[0]) && DK(e[1]) ? e.join(" ~ ") : e;
}
var vQ = {
@@ -77997,22 +78005,22 @@ var vQ = {
labelStyle: {},
accessibilityLayer: !1
};
-function Mze(e, t) {
+function Nze(e, t) {
return t == null ? e : GJ(e, t);
}
-var Nze = (e) => {
+var Pze = (e) => {
var t = e.separator, n = t === void 0 ? vQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? vQ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? vQ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = Mze(s, l).map((e, t) => {
+ }, t = Nze(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || jze, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || Mze, a = e.value, o = e.name, l = a, u = o;
if (r) {
var d = r(a, o, e, t, s);
if (Array.isArray(d)) {
- var f = Eze(d, 2);
+ var f = Dze(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
@@ -78043,8 +78051,8 @@ var Nze = (e) => {
className: C,
style: v
}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());
-}, yQ = "recharts-tooltip-wrapper", Pze = { visibility: "hidden" };
-function Fze(e) {
+}, yQ = "recharts-tooltip-wrapper", Fze = { visibility: "hidden" };
+function Ize(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
return Fv(yQ, {
[`${yQ}-right`]: EK(n) && t && EK(t.x) && n >= t.x,
@@ -78061,11 +78069,11 @@ function bQ(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Ize(e) {
+function Lze(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function Lze(e) {
+function Rze(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;
return s && s.height > 0 && s.width > 0 && n ? (d = bQ({
allowEscapeViewBox: t,
@@ -78087,13 +78095,13 @@ function Lze(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Ize({
+ }), u = Lze({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = Pze, {
+ })) : u = Fze, {
cssProperties: u,
- cssClasses: Fze({
+ cssClasses: Ize({
translateX: d,
translateY: f,
coordinate: n
@@ -78106,13 +78114,13 @@ var xQ = {
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function Rze(e, t) {
- return Hze(e) || Vze(e, t) || Bze(e, t) || zze();
+function zze(e, t) {
+ return Uze(e) || Hze(e, t) || Vze(e, t) || Bze();
}
-function zze() {
+function Bze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Bze(e, t) {
+function Vze(e, t) {
if (e) {
if (typeof e == "string") return SQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -78124,7 +78132,7 @@ function SQ(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Vze(e, t) {
+function Hze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78145,11 +78153,11 @@ function Vze(e, t) {
return s;
}
}
-function Hze(e) {
+function Uze(e) {
if (Array.isArray(e)) return e;
}
function CQ() {
- var e = Rze((0, b.useState)(() => xQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+ var e = zze((0, b.useState)(() => xQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
return (0, b.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
@@ -78177,26 +78185,26 @@ function TQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? wQ(Object(n), !0).forEach(function(t) {
- Uze(e, t, n[t]);
+ Wze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uze(e, t, n) {
- return (t = Wze(t)) in e ? Object.defineProperty(e, t, {
+function Wze(e, t, n) {
+ return (t = Gze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wze(e) {
- var t = Gze(e, "string");
+function Gze(e) {
+ var t = Kze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gze(e, t) {
+function Kze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78206,13 +78214,13 @@ function Gze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Kze(e, t) {
- return Xze(e) || Yze(e, t) || Jze(e, t) || qze();
+function qze(e, t) {
+ return Zze(e) || Xze(e, t) || Yze(e, t) || Jze();
}
-function qze() {
+function Jze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Jze(e, t) {
+function Yze(e, t) {
if (e) {
if (typeof e == "string") return EQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -78224,7 +78232,7 @@ function EQ(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Yze(e, t) {
+function Xze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78245,17 +78253,17 @@ function Yze(e, t) {
return s;
}
}
-function Xze(e) {
+function Zze(e) {
if (Array.isArray(e)) return e;
}
-function Zze(e) {
+function Qze(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {
var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";
return `transform ${e.animationDuration}ms ${t}`;
}
}
-function Qze(e) {
- var t = CQ(), n = Kze(b.useState(() => ({
+function $ze(e) {
+ var t = CQ(), n = qze(b.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -78276,7 +78284,7 @@ function Qze(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(TQ(TQ({}, r), {}, { dismissed: !1 }));
- var a = Lze({
+ var a = Rze({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -78286,7 +78294,7 @@ function Qze(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = TQ(TQ({}, e.hasPortalFromProps ? {} : TQ(TQ({ transition: Zze({
+ }), o = a.cssClasses, s = a.cssProperties, c = TQ(TQ({}, e.hasPortalFromProps ? {} : TQ(TQ({ transition: Qze({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -78306,7 +78314,7 @@ function Qze(e) {
ref: e.innerRef
}, e.children);
}
-var $ze = /*#__PURE__*/ b.memo(Qze), DQ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
+var eBe = /*#__PURE__*/ b.memo($ze), DQ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function OQ() {
@@ -78332,26 +78340,26 @@ function AQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? kQ(Object(n), !0).forEach(function(t) {
- eBe(e, t, n[t]);
+ tBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eBe(e, t, n) {
- return (t = tBe(t)) in e ? Object.defineProperty(e, t, {
+function tBe(e, t, n) {
+ return (t = nBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tBe(e) {
- var t = nBe(e, "string");
+function nBe(e) {
+ var t = rBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nBe(e, t) {
+function rBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78362,20 +78370,20 @@ function nBe(e, t) {
return (t === "string" ? String : Number)(e);
}
var jQ = {
- curveBasisClosed: lFe,
- curveBasisOpen: uFe,
- curveBasis: cFe,
- curveBumpX: JPe,
- curveBumpY: YPe,
- curveLinearClosed: dFe,
+ curveBasisClosed: uFe,
+ curveBasisOpen: dFe,
+ curveBasis: lFe,
+ curveBumpX: YPe,
+ curveBumpY: XPe,
+ curveLinearClosed: fFe,
curveLinear: rq,
- curveMonotoneX: fFe,
- curveMonotoneY: pFe,
- curveNatural: mFe,
- curveStep: hFe,
- curveStepAfter: _Fe,
- curveStepBefore: gFe
-}, MQ = (e) => nZ(e.x) && nZ(e.y), NQ = (e) => e.base != null && MQ(e.base) && MQ(e), PQ = (e) => e.x, FQ = (e) => e.y, rBe = (e, t) => {
+ curveMonotoneX: pFe,
+ curveMonotoneY: mFe,
+ curveNatural: hFe,
+ curveStep: gFe,
+ curveStepAfter: vFe,
+ curveStepBefore: _Fe
+}, MQ = (e) => nZ(e.x) && nZ(e.y), NQ = (e) => e.base != null && MQ(e.base) && MQ(e), PQ = (e) => e.x, FQ = (e) => e.y, iBe = (e, t) => {
if (typeof e == "function") return e;
var n = `curve${PK(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
@@ -78386,8 +78394,8 @@ var jQ = {
}, IQ = {
connectNulls: !1,
type: "linear"
-}, iBe = (e) => {
- var t = e.type, n = t === void 0 ? IQ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? IQ.connectNulls : s, l = rBe(n, o), u = c ? i.filter(MQ) : i;
+}, aBe = (e) => {
+ var t = e.type, n = t === void 0 ? IQ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? IQ.connectNulls : s, l = iBe(n, o), u = c ? i.filter(MQ) : i;
if (Array.isArray(a)) {
var d, f = i.map((e, t) => AQ(AQ({}, e), {}, { base: a[t] }));
return d = o === "vertical" ? sq().y(FQ).x1(PQ).x0((e) => e.base.x) : sq().x(PQ).y1(FQ).y0((e) => e.base.y), d.defined(NQ).curve(l)(c ? f.filter(NQ) : f);
@@ -78402,13 +78410,13 @@ var jQ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? iBe(o) : r;
+ }, s = n && n.length ? aBe(o) : r;
return /*#__PURE__*/ b.createElement("path", OQ({}, sK(e), Bq(e), {
className: Fv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, aBe = [
+}, oBe = [
"x",
"y",
"top",
@@ -78436,30 +78444,30 @@ function zQ(e, t) {
}
return n;
}
-function oBe(e) {
+function sBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? zQ(Object(n), !0).forEach(function(t) {
- sBe(e, t, n[t]);
+ cBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sBe(e, t, n) {
- return (t = cBe(t)) in e ? Object.defineProperty(e, t, {
+function cBe(e, t, n) {
+ return (t = lBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cBe(e) {
- var t = lBe(e, "string");
+function lBe(e) {
+ var t = uBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lBe(e, t) {
+function uBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78469,16 +78477,16 @@ function lBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uBe(e, t) {
+function dBe(e, t) {
if (e == null) return {};
- var n, r, i = dBe(e, t);
+ var n, r, i = fBe(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 dBe(e, t) {
+function fBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78487,8 +78495,8 @@ function dBe(e, t) {
}
return n;
}
-var fBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, pBe = (e) => {
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = uBe(e, aBe), h = oBe({
+var pBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, mBe = (e) => {
+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = dBe(e, oBe), h = sBe({
x: n,
y: i,
top: o,
@@ -78498,12 +78506,12 @@ var fBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, pBe = (e) => {
}, m);
return !EK(n) || !EK(i) || !EK(u) || !EK(f) || !EK(o) || !EK(c) ? null : /*#__PURE__*/ b.createElement("path", RQ({}, lK(h), {
className: Fv("recharts-cross", p),
- d: fBe(n, i, u, f, o, c)
+ d: pBe(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function mBe(e, t, n, r) {
+function hBe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -78519,7 +78527,7 @@ var BQ = (e, t) => [
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], VQ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), HQ = (e, t) => (n) => VQ(BQ(e, t), n), hBe = (e, t) => (n) => VQ([...BQ(e, t).map((e, t) => e * t).slice(1), 0], n), gBe = (e) => {
+], VQ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), HQ = (e, t) => (n) => VQ(BQ(e, t), n), gBe = (e, t) => (n) => VQ([...BQ(e, t).map((e, t) => e * t).slice(1), 0], n), _Be = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -78531,7 +78539,7 @@ var BQ = (e, t) => [
i[2],
i[3]
];
-}, _Be = function() {
+}, vBe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -78565,7 +78573,7 @@ var BQ = (e, t) => [
1
];
default:
- var t = gBe(e[0]);
+ var t = _Be(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -78574,8 +78582,8 @@ var BQ = (e, t) => [
1,
1
];
-}, vBe = (e, t, n, r) => {
- var i = HQ(e, n), a = HQ(t, r), o = hBe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, yBe = (e, t, n, r) => {
+ var i = HQ(e, n), a = HQ(t, r), o = gBe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -78585,8 +78593,8 @@ var BQ = (e, t) => [
};
return c.isStepper = !1, c;
}, UQ = function() {
- return vBe(..._Be(...arguments));
-}, yBe = function() {
+ return yBe(...vBe(...arguments));
+}, bBe = function() {
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {
var p = -(l - s) * n, m = u * i;
if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;
@@ -78600,14 +78608,14 @@ var BQ = (e, t) => [
var t = e * h, n = Math.floor(t), r = t - n;
return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;
};
-}, bBe = (e) => {
+}, xBe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return UQ(e);
- case "spring": return yBe();
+ case "spring": return bBe();
default: if (e.split("(")[0] === "cubic-bezier") return UQ(e);
}
return typeof e == "function" ? e : null;
@@ -78625,25 +78633,25 @@ var BQ = (e, t) => [
return r = e.setTimeout(i, 0), () => r?.();
});
WQ.Provider;
-function xBe(e) {
+function SBe(e) {
var t = (0, b.useContext)(WQ);
return (0, b.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function SBe(e, t, n) {
- return (t = CBe(t)) in e ? Object.defineProperty(e, t, {
+function CBe(e, t, n) {
+ return (t = wBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CBe(e) {
- var t = wBe(e, "string");
+function wBe(e) {
+ var t = TBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wBe(e, t) {
+function TBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78653,11 +78661,11 @@ function wBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var GQ = "init", KQ = "pending", qQ = "active", TBe = "completed";
+var GQ = "init", KQ = "pending", qQ = "active", EBe = "completed";
function JQ(e) {
return Math.max(0, e);
}
-var EBe = class {
+var DBe = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -78666,7 +78674,7 @@ var EBe = class {
}
constructor(e) {
var t;
- SBe(this, "state", GQ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = JQ(e.animationDuration), this.animationBegin = JQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ CBe(this, "state", GQ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = JQ(e.animationDuration), this.animationBegin = JQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
}
getState() {
return this.state;
@@ -78702,7 +78710,7 @@ var EBe = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = TBe;
+ this.state = EBe;
}
getFrom() {
return this.from;
@@ -78716,14 +78724,14 @@ var EBe = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, DBe = class extends EBe {
+}, OBe = class extends DBe {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
return this.easing(jK(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, OBe = class {
+}, kBe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : r = requestAnimationFrame(i);
@@ -78735,13 +78743,13 @@ var EBe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function kBe(e, t) {
- return NBe(e) || MBe(e, t) || jBe(e, t) || ABe();
+function ABe(e, t) {
+ return PBe(e) || NBe(e, t) || MBe(e, t) || jBe();
}
-function ABe() {
+function jBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function jBe(e, t) {
+function MBe(e, t) {
if (e) {
if (typeof e == "string") return YQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
@@ -78753,7 +78761,7 @@ function YQ(e, t) {
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function MBe(e, t) {
+function NBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78774,10 +78782,10 @@ function MBe(e, t) {
return s;
}
}
-function NBe(e) {
+function PBe(e) {
if (Array.isArray(e)) return e;
}
-var PBe = {
+var FBe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -78786,13 +78794,13 @@ var PBe = {
onAnimationEnd: () => {},
onAnimationStart: () => {}
}, XQ = 0, ZQ = 1;
-function QQ(e) {
- var t = Uq(e, PBe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = CQ(), f = r === "auto" ? !xQ.isSsr && !d : r, p = xBe(t.animationController), m = kBe((0, b.useState)(f ? XQ : ZQ), 2), h = m[0], g = m[1];
+function IBe(e) {
+ var t = Uq(e, FBe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = CQ(), f = r === "auto" ? !xQ.isSsr && !d : r, p = SBe(t.animationController), m = ABe((0, b.useState)(f ? XQ : ZQ), 2), h = m[0], g = m[1];
return (0, b.useEffect)(() => {
f || g(ZQ);
}, [f]), (0, b.useEffect)(() => {
- var e = bBe(o);
- return !f || !i || e == null ? IK : p(new OBe(), new DBe({
+ var e = xBe(o);
+ return !f || !i || e == null ? IK : p(new kBe(), new OBe({
animationId: n,
easing: e,
animationDuration: a,
@@ -78816,14 +78824,14 @@ function QQ(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function FBe(e) {
+function LBe(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(OK(t)), r = (0, b.useRef)(e);
return r.current !== e && (n.current = OK(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var IBe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), LBe = (e, t, n) => e.map((e) => `${IBe(e)} ${t}ms ${n}`).join(","), RBe = ["radius"], zBe = ["radius"], BBe, VBe, HBe, UBe, WBe, GBe, KBe, qBe, JBe, YBe;
-function XBe(e, t) {
+var RBe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), zBe = (e, t, n) => e.map((e) => `${RBe(e)} ${t}ms ${n}`).join(","), BBe = ["radius"], VBe = ["radius"], HBe, UBe, WBe, GBe, KBe, qBe, JBe, YBe, XBe, ZBe;
+function QBe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78833,30 +78841,30 @@ function XBe(e, t) {
}
return n;
}
-function ZBe(e) {
+function $Be(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? XBe(Object(n), !0).forEach(function(t) {
- QBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XBe(Object(n)).forEach(function(t) {
+ t % 2 ? QBe(Object(n), !0).forEach(function(t) {
+ eVe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QBe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QBe(e, t, n) {
- return (t = $Be(t)) in e ? Object.defineProperty(e, t, {
+function eVe(e, t, n) {
+ return (t = tVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Be(e) {
- var t = eVe(e, "string");
+function tVe(e) {
+ var t = nVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eVe(e, t) {
+function nVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78866,25 +78874,25 @@ function eVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $Q() {
- return $Q = Object.assign ? Object.assign.bind() : function(e) {
+function QQ() {
+ return QQ = 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;
- }, $Q.apply(null, arguments);
+ }, QQ.apply(null, arguments);
}
-function tVe(e, t) {
+function rVe(e, t) {
if (e == null) return {};
- var n, r, i = nVe(e, t);
+ var n, r, i = iVe(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 nVe(e, t) {
+function iVe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78893,25 +78901,25 @@ function nVe(e, t) {
}
return n;
}
-function rVe(e, t) {
- return cVe(e) || sVe(e, t) || aVe(e, t) || iVe();
+function aVe(e, t) {
+ return uVe(e) || lVe(e, t) || sVe(e, t) || oVe();
}
-function iVe() {
+function oVe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function aVe(e, t) {
+function sVe(e, t) {
if (e) {
- if (typeof e == "string") return oVe(e, t);
+ if (typeof e == "string") return cVe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oVe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cVe(e, t) : void 0;
}
}
-function oVe(e, t) {
+function cVe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function sVe(e, t) {
+function lVe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78932,13 +78940,13 @@ function sVe(e, t) {
return s;
}
}
-function cVe(e) {
+function uVe(e) {
if (Array.isArray(e)) return e;
}
-function e$(e, t) {
+function $Q(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var lVe = (e, t, n, r, i) => {
+var dVe = (e, t, n, r, i) => {
var a = xK(n), o = xK(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 = [
@@ -78950,44 +78958,44 @@ var lVe = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = SK(BBe ||= e$([
+ d = SK(HBe ||= $Q([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += SK(VBe ||= e$([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += SK(UBe ||= $Q([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += SK(HBe ||= e$([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += SK(WBe ||= $Q([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += SK(UBe ||= e$([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += SK(GBe ||= $Q([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += SK(WBe ||= e$([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += SK(KBe ||= $Q([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += SK(GBe ||= e$([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += SK(qBe ||= $Q([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += SK(KBe ||= e$([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += SK(JBe ||= $Q([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += SK(qBe ||= e$([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += SK(YBe ||= $Q([
"A ",
",",
",0,0,",
@@ -78997,8 +79005,8 @@ var lVe = (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 = SK(JBe ||= e$(/* @__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 = SK(YBe ||= e$([
+ d = SK(XBe ||= $Q(/* @__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 = SK(ZBe ||= $Q([
"M ",
",",
" h ",
@@ -79007,7 +79015,7 @@ var lVe = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, uVe = {
+}, fVe = {
x: 0,
y: 0,
width: 0,
@@ -79018,15 +79026,15 @@ var lVe = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, t$ = (e) => {
- var t = Uq(e, uVe), n = (0, b.useRef)(null), r = rVe((0, b.useState)(-1), 2), i = r[0], a = r[1];
+}, e$ = (e) => {
+ var t = Uq(e, fVe), n = (0, b.useRef)(null), r = aVe((0, b.useState)(-1), 2), i = r[0], a = r[1];
(0, b.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && a(e);
} catch {}
}, []);
- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = FBe((0, b.useMemo)(() => ({
+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = LBe((0, b.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -79044,19 +79052,19 @@ var lVe = (e, t, n, r, i) => {
if (!g) {
var w = lK(t);
w.radius;
- var T = tVe(w, RBe);
- return /*#__PURE__*/ b.createElement("path", $Q({}, T, {
+ var T = rVe(w, BBe);
+ return /*#__PURE__*/ b.createElement("path", QQ({}, T, {
x: xK(o),
y: xK(s),
width: xK(c),
height: xK(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: lVe(o, s, c, l, u)
+ d: dVe(o, s, c, l, u)
}));
}
- var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = LBe(["strokeDasharray"], p, typeof f == "string" ? f : uVe.animationEasing);
- return /*#__PURE__*/ b.createElement(QQ, {
+ var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = zBe(["strokeDasharray"], p, typeof f == "string" ? f : fVe.animationEasing);
+ return /*#__PURE__*/ b.createElement(IBe, {
animationId: S,
key: S,
canBegin: i > 0,
@@ -79072,19 +79080,19 @@ var lVe = (e, t, n, r, i) => {
strokeDasharray: j
} : { strokeDasharray: A } : { strokeDasharray: j }, p = lK(t);
p.radius;
- var m = tVe(p, zBe);
- return /*#__PURE__*/ b.createElement("path", $Q({}, m, {
+ var m = rVe(p, VBe);
+ return /*#__PURE__*/ b.createElement("path", QQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: lVe(a, d, r, i, u),
+ d: dVe(a, d, r, i, u),
ref: n,
- style: ZBe(ZBe({}, f), t.style)
+ style: $Be($Be({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function dVe(e, t) {
+function pVe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79094,30 +79102,30 @@ function dVe(e, t) {
}
return n;
}
-function fVe(e) {
+function mVe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dVe(Object(n), !0).forEach(function(t) {
- pVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dVe(Object(n)).forEach(function(t) {
+ t % 2 ? pVe(Object(n), !0).forEach(function(t) {
+ hVe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pVe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pVe(e, t, n) {
- return (t = mVe(t)) in e ? Object.defineProperty(e, t, {
+function hVe(e, t, n) {
+ return (t = gVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mVe(e) {
- var t = hVe(e, "string");
+function gVe(e) {
+ var t = _Ve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hVe(e, t) {
+function _Ve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79127,10 +79135,10 @@ function hVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var n$ = Math.PI / 180, r$ = (e) => e * Math.PI / 180, gVe = (e) => e * 180 / Math.PI, i$ = (e, t, n, r) => ({
- x: e + Math.cos(-n$ * r) * n,
- y: t + Math.sin(-n$ * r) * n
-}), _Ve = function(e, t) {
+var t$ = Math.PI / 180, n$ = (e) => e * Math.PI / 180, vVe = (e) => e * 180 / Math.PI, r$ = (e, t, n, r) => ({
+ x: e + Math.cos(-t$ * r) * n,
+ y: t + Math.sin(-t$ * r) * n
+}), yVe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -79141,11 +79149,11 @@ var n$ = Math.PI / 180, r$ = (e) => e * Math.PI / 180, gVe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, vVe = (e, t) => {
+}, bVe = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, yVe = (e, t) => {
- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = vVe({
+}, xVe = (e, t) => {
+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = bVe({
x: n,
y: r
}, {
@@ -79159,25 +79167,25 @@ var n$ = Math.PI / 180, r$ = (e) => e * Math.PI / 180, gVe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: gVe(c),
+ angle: vVe(c),
angleInRadian: c
};
-}, bVe = (e) => {
+}, SVe = (e) => {
var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, xVe = (e, t) => {
+}, CVe = (e, t) => {
var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, SVe = (e, t) => {
- var n = e.relativeX, r = e.relativeY, i = yVe({
+}, wVe = (e, t) => {
+ var n = e.relativeX, r = e.relativeY, i = xVe({
x: n,
y: r
}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;
if (a < s || a > c || a === 0) return null;
- var l = bVe(t), u = l.startAngle, d = l.endAngle, f = o, p;
+ var l = SVe(t), u = l.startAngle, d = l.endAngle, f = o, p;
if (u <= d) {
for (; f > d;) f -= 360;
for (; f < u;) f += 360;
@@ -79187,17 +79195,17 @@ var n$ = Math.PI / 180, r$ = (e) => e * Math.PI / 180, gVe = (e) => e * 180 / Ma
for (; f < d;) f += 360;
p = f >= d && f <= u;
}
- return p ? fVe(fVe({}, t), {}, {
+ return p ? mVe(mVe({}, t), {}, {
radius: a,
- angle: xVe(f, t)
+ angle: CVe(f, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function CVe(e) {
+function TVe(e) {
var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;
return {
- points: [i$(t, n, r, i), i$(t, n, r, a)],
+ points: [r$(t, n, r, i), r$(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -79207,29 +79215,29 @@ function CVe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var wVe, TVe, EVe, DVe, OVe, kVe, AVe;
-function a$() {
- return a$ = Object.assign ? Object.assign.bind() : function(e) {
+var EVe, DVe, OVe, kVe, AVe, jVe, MVe;
+function i$() {
+ return i$ = 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;
- }, a$.apply(null, arguments);
+ }, i$.apply(null, arguments);
}
-function o$(e, t) {
+function a$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / n$, d = c ? i : i + a * u, f = i$(t, n, l, d), p = i$(t, n, r, d), m = c ? i - a * u : i;
+var NVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / t$, d = c ? i : i + a * u, f = r$(t, n, l, d), p = r$(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: i$(t, n, l * Math.cos(u * n$), m),
+ lineTangency: r$(t, n, l * Math.cos(u * t$), m),
theta: u
};
-}, MVe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = jVe(a, o), c = a + s, l = i$(t, n, i, a), u = i$(t, n, i, c), d = SK(wVe ||= o$([
+}, PVe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = NVe(a, o), c = a + s, l = r$(t, n, i, a), u = r$(t, n, i, c), d = SK(EVe ||= a$([
"M ",
",",
"\n A ",
@@ -79241,8 +79249,8 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = i$(t, n, r, a), p = i$(t, n, r, c);
- d += SK(TVe ||= o$([
+ var f = r$(t, n, r, a), p = r$(t, n, r, c);
+ d += SK(DVe ||= a$([
"L ",
",",
"\n A ",
@@ -79253,14 +79261,14 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += SK(EVe ||= o$([
+ } else d += SK(OVe ||= a$([
"L ",
",",
" Z"
]), t, n);
return d;
-}, NVe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = CK(l - c), d = s$({
+}, FVe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = CK(l - c), d = o$({
cx: t,
cy: n,
radius: i,
@@ -79268,7 +79276,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = s$({
+ }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = o$({
cx: t,
cy: n,
radius: i,
@@ -79277,7 +79285,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? SK(DVe ||= o$([
+ if (y < 0) return o ? SK(kVe ||= a$([
"M ",
",",
"\n a",
@@ -79287,7 +79295,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
",",
",0,0,1,",
",0\n "
- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : MVe({
+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : PVe({
cx: t,
cy: n,
innerRadius: r,
@@ -79295,7 +79303,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
startAngle: c,
endAngle: l
});
- var b = SK(OVe ||= o$([
+ var b = SK(AVe ||= a$([
"M ",
",",
"\n A",
@@ -79317,7 +79325,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
"\n "
]), p.x, p.y, a, a, +(u < 0), f.x, f.y, i, i, +(y > 180), +(u < 0), g.x, g.y, a, a, +(u < 0), _.x, _.y);
if (r > 0) {
- var x = s$({
+ var x = o$({
cx: t,
cy: n,
radius: r,
@@ -79326,7 +79334,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = s$({
+ }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = o$({
cx: t,
cy: n,
radius: r,
@@ -79337,7 +79345,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += SK(kVe ||= o$([
+ b += SK(jVe ||= a$([
"L",
",",
"\n A",
@@ -79358,13 +79366,13 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += SK(AVe ||= o$([
+ } else b += SK(MVe ||= a$([
"L",
",",
"Z"
]), t, n);
return b;
-}, PVe = {
+}, IVe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -79374,10 +79382,10 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, c$ = (e) => {
- var t = Uq(e, PVe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
+}, s$ = (e) => {
+ var t = Uq(e, IVe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = Fv("recharts-sector", d), p = a - i, m = kK(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? NVe({
+ var f = Fv("recharts-sector", d), p = a - i, m = kK(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? FVe({
cx: n,
cy: r,
innerRadius: i,
@@ -79387,7 +79395,7 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : MVe({
+ }) : PVe({
cx: n,
cy: r,
innerRadius: i,
@@ -79395,14 +79403,14 @@ var jVe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ b.createElement("path", a$({}, lK(t), {
+ return /*#__PURE__*/ b.createElement("path", i$({}, lK(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function FVe(e, t, n) {
+function LVe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -79419,7 +79427,7 @@ function FVe(e, t, n) {
}];
if (zq(t)) {
if (e === "centric") {
- var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = i$(r, i, a, s), l = i$(r, i, o, s);
+ var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = r$(r, i, a, s), l = r$(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -79428,30 +79436,30 @@ function FVe(e, t, n) {
y: l.y
}];
}
- return CVe(t);
+ return TVe(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function IVe(e) {
+function RVe(e) {
return _K(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function l$(e) {
- return e ? (e = IVe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function c$(e) {
+ return e ? (e = RVe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function LVe(e, t, n) {
- n && typeof n != "number" && UJ(e, t, n) && (t = n = void 0), e = l$(e), t === void 0 ? (t = e, e = 0) : t = l$(t), n = n === void 0 ? e < t ? 1 : -1 : l$(n);
+function zVe(e, t, n) {
+ n && typeof n != "number" && UJ(e, t, n) && (t = n = void 0), e = c$(e), t === void 0 ? (t = e, e = 0) : t = c$(t), n = n === void 0 ? e < t ? 1 : -1 : c$(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var u$ = (e) => e.chartData, d$ = Y([u$], (e) => {
+var l$ = (e) => e.chartData, u$ = Y([l$], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -79459,37 +79467,37 @@ var u$ = (e) => e.chartData, d$ = Y([u$], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), f$ = (e, t, n, r) => r ? d$(e) : u$(e), RVe = (e, t, n) => n ? d$(e) : u$(e), zVe = Y([f$], (e) => {
+}), d$ = (e, t, n, r) => r ? u$(e) : l$(e), BVe = (e, t, n) => n ? u$(e) : l$(e), VVe = Y([d$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), BVe = Y([d$], (e) => {
+}), HVe = Y([u$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), VVe = Y([u$], (e) => {
+}), UVe = Y([l$], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
});
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function p$(e, t) {
- return KVe(e) || GVe(e, t) || UVe(e, t) || HVe();
+function f$(e, t) {
+ return JVe(e) || qVe(e, t) || GVe(e, t) || WVe();
}
-function HVe() {
+function WVe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function UVe(e, t) {
+function GVe(e, t) {
if (e) {
- if (typeof e == "string") return WVe(e, t);
+ if (typeof e == "string") return KVe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? WVe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? KVe(e, t) : void 0;
}
}
-function WVe(e, t) {
+function KVe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function GVe(e, t) {
+function qVe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -79510,38 +79518,38 @@ function GVe(e, t) {
return s;
}
}
-function KVe(e) {
+function JVe(e) {
if (Array.isArray(e)) return e;
}
-function m$(e) {
+function p$(e) {
if (Array.isArray(e) && e.length === 2) {
- var t = p$(e, 2), n = t[0], r = t[1];
+ var t = f$(e, 2), n = t[0], r = t[1];
if (nZ(n) && nZ(r)) return !0;
}
return !1;
}
-function qVe(e, t, n) {
+function YVe(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function JVe(e, t) {
+function XVe(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
- var n = p$(e, 2), r = n[0], i = n[1], a, o;
+ var n = f$(e, 2), r = n[0], i = n[1], a, o;
if (nZ(r)) a = r;
else if (typeof r == "function") return;
if (nZ(i)) o = i;
else if (typeof i == "function") return;
var s = [a, o];
- if (m$(s)) return s;
+ if (p$(s)) return s;
}
}
-function YVe(e, t, n) {
+function ZVe(e, t, n) {
if (n || t != null) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (m$(r)) return qVe(r, t, n);
+ if (p$(r)) return YVe(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
- var i = p$(e, 2), a = i[0], o = i[1], s, c;
+ var i = f$(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
else if (EK(a)) s = a;
else if (typeof a == "function") try {
@@ -79569,13 +79577,13 @@ function YVe(e, t, n) {
}
} else c = t?.[1];
var p = [s, c];
- if (m$(p)) return t == null ? p : qVe(p, t, n);
+ if (p$(p)) return t == null ? p : YVe(p, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var h$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var m$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -79950,34 +79958,34 @@ var h$ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function XVe(e) {
- return e === 0 ? 1 : Math.floor(new h$.default(e).abs().log(10).toNumber()) + 1;
+function QVe(e) {
+ return e === 0 ? 1 : Math.floor(new m$.default(e).abs().log(10).toNumber()) + 1;
}
-function ZVe(e, t, n) {
- for (var r = new h$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function $Ve(e, t, n) {
+ for (var r = new m$.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-function g$(e, t) {
- return nHe(e) || tHe(e, t) || $Ve(e, t) || QVe();
+function h$(e, t) {
+ return iHe(e) || rHe(e, t) || tHe(e, t) || eHe();
}
-function QVe() {
+function eHe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function $Ve(e, t) {
+function tHe(e, t) {
if (e) {
- if (typeof e == "string") return eHe(e, t);
+ if (typeof e == "string") return nHe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? eHe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nHe(e, t) : void 0;
}
}
-function eHe(e, t) {
+function nHe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function tHe(e, t) {
+function rHe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -79998,74 +80006,74 @@ function tHe(e, t) {
return s;
}
}
-function nHe(e) {
+function iHe(e) {
if (Array.isArray(e)) return e;
}
-var rHe = (e) => {
- var t = g$(e, 2), n = t[0], r = t[1], i = n, a = r;
+var aHe = (e) => {
+ var t = h$(e, 2), n = t[0], r = t[1], i = n, a = r;
return n > r && (i = r, a = n), [i, a];
-}, _$ = (e, t, n) => {
- if (e.lte(0)) return new h$.default(0);
- var r = XVe(e.toNumber()), i = new h$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new h$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new h$.default(s.toNumber()) : new h$.default(Math.ceil(s.toNumber()));
-}, iHe = (e, t, n) => {
- if (e.lte(0)) return new h$.default(0);
+}, g$ = (e, t, n) => {
+ if (e.lte(0)) return new m$.default(0);
+ var r = QVe(e.toNumber()), i = new m$.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new m$.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new m$.default(s.toNumber()) : new m$.default(Math.ceil(s.toNumber()));
+}, oHe = (e, t, n) => {
+ if (e.lte(0)) return new m$.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new h$.default(i).abs().log(10).toNumber()), o = new h$.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new m$.default(i).abs().log(10).toNumber()), o = new m$.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new h$.default(10).pow(l));
+ c %= r.length, o = o.mul(new m$.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new h$.default(u).mul(o);
- return t ? d : new h$.default(Math.ceil(d.toNumber()));
-}, aHe = (e, t, n) => {
- var r = new h$.default(1), i = new h$.default(e);
+ var u = r[c] ?? 1, d = new m$.default(u).mul(o);
+ return t ? d : new m$.default(Math.ceil(d.toNumber()));
+}, sHe = (e, t, n) => {
+ var r = new m$.default(1), i = new m$.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new h$.default(10).pow(XVe(e) - 1), i = new h$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new h$.default(Math.floor(e)));
- } else e === 0 ? i = new h$.default(Math.floor((t - 1) / 2)) : n || (i = new h$.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new h$.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new m$.default(10).pow(QVe(e) - 1), i = new m$.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new m$.default(Math.floor(e)));
+ } else e === 0 ? i = new m$.default(Math.floor((t - 1) / 2)) : n || (i = new m$.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new m$.default(c - o).mul(r)).toNumber());
return s;
-}, oHe = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : _$;
+}, cHe = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : g$;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new h$.default(0),
- tickMin: new h$.default(0),
- tickMax: new h$.default(0)
- };
- var o = a(new h$.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new h$.default(0) : (s = new h$.default(e).add(t).div(2), s = s.sub(new h$.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new h$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? oHe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ step: new m$.default(0),
+ tickMin: new m$.default(0),
+ tickMax: new m$.default(0)
+ };
+ var o = a(new m$.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new m$.default(0) : (s = new m$.default(e).add(t).div(2), s = s.sub(new m$.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new m$.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? cHe(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new h$.default(c).mul(o)),
- tickMax: s.add(new h$.default(l).mul(o))
+ tickMin: s.sub(new m$.default(c).mul(o)),
+ tickMax: s.add(new m$.default(l).mul(o))
});
-}, sHe = function(e) {
- var t = g$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = g$(rHe([n, r]), 2), l = c[0], u = c[1];
+}, lHe = function(e) {
+ var t = h$(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = h$(aHe([n, r]), 2), l = c[0], u = c[1];
if (l === -Infinity || u === Infinity) {
var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];
return n > r ? d.reverse() : d;
}
- if (l === u) return aHe(l, i, a);
- var f = oHe(l, u, s, a, 0, o === "snap125" ? iHe : _$), p = f.step, m = f.tickMin, h = f.tickMax, g = ZVe(m, h.add(new h$.default(.1).mul(p)), p);
+ if (l === u) return sHe(l, i, a);
+ var f = cHe(l, u, s, a, 0, o === "snap125" ? oHe : g$), p = f.step, m = f.tickMin, h = f.tickMax, g = $Ve(m, h.add(new m$.default(.1).mul(p)), p);
return n > r ? g.reverse() : g;
-}, cHe = function(e, t) {
- var n = g$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = g$(rHe([r, i]), 2), c = s[0], l = s[1];
+}, uHe = function(e, t) {
+ var n = h$(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = h$(aHe([r, i]), 2), c = s[0], l = s[1];
if (c === -Infinity || l === Infinity) return [r, i];
if (c === l) return [c];
- var u = o === "snap125" ? iHe : _$, d = Math.max(t, 2), f = u(new h$.default(l).sub(c).div(d - 1), a, 0), p = [...ZVe(new h$.default(c), new h$.default(l), f), l];
+ var u = o === "snap125" ? oHe : g$, d = Math.max(t, 2), f = u(new m$.default(l).sub(c).div(d - 1), a, 0), p = [...$Ve(new m$.default(c), new m$.default(l), f), l];
if (a === !1) {
p = p.map((e) => Math.round(e));
var m = p.length - 1;
m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));
}
return r > i ? p.reverse() : p;
-}, v$ = (e) => e.rootProps.maxBarSize, lHe = (e) => e.rootProps.barGap, y$ = (e) => e.rootProps.barCategoryGap, uHe = (e) => e.rootProps.barSize, b$ = (e) => e.rootProps.stackOffset, x$ = (e) => e.rootProps.reverseStackOrder, S$ = (e) => e.options.chartName, C$ = (e) => e.rootProps.syncId, dHe = (e) => e.rootProps.syncMethod, w$ = (e) => e.options.eventEmitter, fHe = (e) => e.rootProps.baseValue, T$ = {
+}, _$ = (e) => e.rootProps.maxBarSize, dHe = (e) => e.rootProps.barGap, v$ = (e) => e.rootProps.barCategoryGap, fHe = (e) => e.rootProps.barSize, y$ = (e) => e.rootProps.stackOffset, b$ = (e) => e.rootProps.reverseStackOrder, x$ = (e) => e.options.chartName, S$ = (e) => e.rootProps.syncId, pHe = (e) => e.rootProps.syncMethod, C$ = (e) => e.options.eventEmitter, mHe = (e) => e.rootProps.baseValue, w$ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -80078,7 +80086,7 @@ var rHe = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, E$ = {
+}, T$ = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -80099,8 +80107,8 @@ var rHe = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: T$.axis
-}, D$ = {
+ zIndex: w$.axis
+}, E$ = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -80119,19 +80127,19 @@ var rHe = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: T$.axis
-}, O$ = (e, t) => {
+ zIndex: w$.axis
+}, D$ = (e, t) => {
if (e && t) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function k$(e, t, n) {
+function O$(e, t, n) {
if (n !== "auto") return n;
if (e != null) return sZ(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function pHe(e, t) {
+function hHe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80141,30 +80149,30 @@ function pHe(e, t) {
}
return n;
}
-function A$(e) {
+function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? pHe(Object(n), !0).forEach(function(t) {
- mHe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pHe(Object(n)).forEach(function(t) {
+ t % 2 ? hHe(Object(n), !0).forEach(function(t) {
+ gHe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hHe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mHe(e, t, n) {
- return (t = hHe(t)) in e ? Object.defineProperty(e, t, {
+function gHe(e, t, n) {
+ return (t = _He(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hHe(e) {
- var t = gHe(e, "string");
+function _He(e) {
+ var t = vHe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gHe(e, t) {
+function vHe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80174,69 +80182,69 @@ function gHe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _He = {
- allowDataOverflow: E$.allowDataOverflow,
- allowDecimals: E$.allowDecimals,
+var yHe = {
+ allowDataOverflow: T$.allowDataOverflow,
+ allowDecimals: T$.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: E$.angleAxisId,
+ id: T$.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: E$.reversed,
- scale: E$.scale,
- tick: E$.tick,
+ reversed: T$.reversed,
+ scale: T$.scale,
+ tick: T$.tick,
tickCount: void 0,
ticks: void 0,
- type: E$.type,
+ type: T$.type,
unit: void 0,
niceTicks: "auto"
-}, vHe = {
- allowDataOverflow: D$.allowDataOverflow,
- allowDecimals: D$.allowDecimals,
- allowDuplicatedCategory: D$.allowDuplicatedCategory,
+}, bHe = {
+ allowDataOverflow: E$.allowDataOverflow,
+ allowDecimals: E$.allowDecimals,
+ allowDuplicatedCategory: E$.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: D$.radiusAxisId,
- includeHidden: D$.includeHidden,
+ id: E$.radiusAxisId,
+ includeHidden: E$.includeHidden,
name: void 0,
- reversed: D$.reversed,
- scale: D$.scale,
- tick: D$.tick,
- tickCount: D$.tickCount,
+ reversed: E$.reversed,
+ scale: E$.scale,
+ tick: E$.tick,
+ tickCount: E$.tickCount,
ticks: void 0,
- type: D$.type,
+ type: E$.type,
unit: void 0,
niceTicks: "auto"
-}, j$ = Y([(e, t) => {
+}, A$ = Y([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
}, ZZ], (e, t) => {
if (e != null) return e;
- var n = k$(t, "angleAxis", _He.type) ?? "category";
- return A$(A$({}, _He), {}, { type: n });
-}), M$ = Y([(e, t) => e.polarAxis.radiusAxis[t], ZZ], (e, t) => {
+ var n = O$(t, "angleAxis", yHe.type) ?? "category";
+ return k$(k$({}, yHe), {}, { type: n });
+}), j$ = Y([(e, t) => e.polarAxis.radiusAxis[t], ZZ], (e, t) => {
if (e != null) return e;
- var n = k$(t, "radiusAxis", vHe.type) ?? "category";
- return A$(A$({}, vHe), {}, { type: n });
-}), N$ = (e) => e.polarOptions, P$ = Y([
+ var n = O$(t, "radiusAxis", bHe.type) ?? "category";
+ return k$(k$({}, bHe), {}, { type: n });
+}), M$ = (e) => e.polarOptions, N$ = Y([
bZ,
xZ,
DZ
-], _Ve), yHe = Y([N$, P$], (e, t) => {
+], yVe), xHe = Y([M$, N$], (e, t) => {
if (e != null) return kK(e.innerRadius, t, 0);
-}), bHe = Y([N$, P$], (e, t) => {
+}), SHe = Y([M$, N$], (e, t) => {
if (e != null) return kK(e.outerRadius, t, t * .8);
-}), xHe = Y([N$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), SHe = Y([j$, xHe], O$), CHe = Y([
- P$,
- yHe,
- bHe
+}), CHe = Y([M$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), wHe = Y([A$, CHe], D$), THe = Y([
+ N$,
+ xHe,
+ SHe
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), wHe = Y([M$, CHe], O$), F$ = Y([
+}), EHe = Y([j$, THe], D$), P$ = Y([
JZ,
- N$,
- yHe,
- bHe,
+ M$,
+ xHe,
+ SHe,
bZ,
xZ
], (e, t, n, r, i, a) => {
@@ -80252,20 +80260,20 @@ var _He = {
clockWise: !1
};
}
-}), I$ = (e, t) => t, L$ = (e, t, n) => n;
+}), F$ = (e, t) => t, I$ = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function R$(e) {
+function L$(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function z$(e, t, n) {
+function R$(e, t, n) {
var r = t.chartData, i = r === void 0 ? [] : r, a = n.allowDuplicatedCategory, o = n.dataKey, s = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? i;
if (t != null && t.length !== 0) {
- var n = R$(e);
+ var n = L$(e);
t.forEach((t, r) => {
var i = o == null || a ? r : String(oZ(t, o, null)), c = oZ(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
Object.assign(l, { [n]: c }), s.set(i, l);
@@ -80275,18 +80283,18 @@ function z$(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function B$(e) {
+function z$(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var V$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var B$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function H$(e, t) {
+function V$(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function THe(e, t) {
+function DHe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -80295,13 +80303,13 @@ function THe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var U$ = (e) => {
+var H$ = (e) => {
var t = JZ(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, W$ = (e) => e.tooltip.settings.axisId;
+}, U$ = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function G$(e) {
+function W$(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -80342,10 +80350,10 @@ function G$(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var EHe = (e, t) => {
+var OHe = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!m$(t)) {
+ if (!p$(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
nZ(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
@@ -80358,14 +80366,14 @@ var EHe = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function K$(e, t) {
+function G$(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function q$(e) {
+function K$(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = DHe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = kHe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -80391,15 +80399,15 @@ function q$(e) {
right: i
};
}
-function DHe(e) {
- return (t, n) => K$(e(t), n);
+function kHe(e) {
+ return (t, n) => G$(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function OHe(e) {
+function AHe(e) {
return e === null ? NaN : +e;
}
-function* kHe(e, t) {
+function* jHe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -80408,52 +80416,52 @@ function* kHe(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var AHe = q$(K$), J$ = AHe.right;
-AHe.left, q$(OHe).center;
+var MHe = K$(G$), q$ = MHe.right;
+MHe.left, K$(AHe).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var jHe = class extends Map {
- constructor(e, t = FHe) {
+var NHe = class extends Map {
+ constructor(e, t = LHe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(MHe(this, e));
+ return super.get(PHe(this, e));
}
has(e) {
- return super.has(MHe(this, e));
+ return super.has(PHe(this, e));
}
set(e, t) {
- return super.set(NHe(this, e), t);
+ return super.set(FHe(this, e), t);
}
delete(e) {
- return super.delete(PHe(this, e));
+ return super.delete(IHe(this, e));
}
};
-function MHe({ _intern: e, _key: t }, n) {
+function PHe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function NHe({ _intern: e, _key: t }, n) {
+function FHe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function PHe({ _intern: e, _key: t }, n) {
+function IHe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function FHe(e) {
+function LHe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var Y$ = Math.sqrt(50), X$ = Math.sqrt(10), Z$ = Math.sqrt(2);
-function Q$(e, t, n) {
+var J$ = Math.sqrt(50), Y$ = Math.sqrt(10), X$ = Math.sqrt(2);
+function Z$(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = IHe(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = RHe(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -80464,17 +80472,17 @@ function Q$(e, t, n) {
}
return r && o.reverse(), o;
}
-function IHe(e, t, n) {
+function RHe(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= Y$ ? 10 : a >= X$ ? 5 : a >= Z$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= Y$ ? 10 : a >= X$ ? 5 : a >= Z$ ? 2 : 1);
+ return i >= 0 ? (a >= J$ ? 10 : a >= Y$ ? 5 : a >= X$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= J$ ? 10 : a >= Y$ ? 5 : a >= X$ ? 2 : 1);
}
-function $$(e, t, n) {
+function Q$(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= Y$ ? i *= 10 : a >= X$ ? i *= 5 : a >= Z$ && (i *= 2), t < e ? -i : i;
+ return a >= J$ ? i *= 10 : a >= Y$ ? i *= 5 : a >= X$ && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function e1(e, t) {
+function $$(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -80485,7 +80493,7 @@ function e1(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function t1(e, t) {
+function e1(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -80496,36 +80504,36 @@ function t1(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function LHe(e, t, n = 0, r = e.length - 1, i = K$) {
+function zHe(e, t, n = 0, r = e.length - 1, i = G$) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- LHe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ zHe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (n1(e, n, t), i(e[r], a) > 0 && n1(e, n, r); o < s;) {
- for (n1(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (t1(e, n, t), i(e[r], a) > 0 && t1(e, n, r); o < s;) {
+ for (t1(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? n1(e, n, s) : (++s, n1(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? t1(e, n, s) : (++s, t1(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function n1(e, t, n) {
+function t1(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function RHe(e, t, n) {
- if (e = Float64Array.from(kHe(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return t1(e);
- if (t >= 1) return e1(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = e1(LHe(e, a).subarray(0, a + 1));
- return o + (t1(e.subarray(a + 1)) - o) * (i - a);
+function BHe(e, t, n) {
+ if (e = Float64Array.from(jHe(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return e1(e);
+ if (t >= 1) return $$(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = $$(zHe(e, a).subarray(0, a + 1));
+ return o + (e1(e.subarray(a + 1)) - o) * (i - a);
}
}
-function zHe(e, t, n = OHe) {
+function VHe(e, t, n = AHe) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -80535,14 +80543,14 @@ function zHe(e, t, n = OHe) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function BHe(e, t, n) {
+function HHe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function r1(e, t) {
+function n1(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -80553,7 +80561,7 @@ function r1(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function i1(e, t) {
+function r1(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -80563,7 +80571,7 @@ function i1(e, t) {
}
return this;
}
-function a1(e, t) {
+function i1(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -80575,20 +80583,20 @@ function a1(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var o1 = Symbol("implicit");
-function s1() {
- var e = new jHe(), t = [], n = [], r = o1;
+var a1 = Symbol("implicit");
+function o1() {
+ var e = new NHe(), t = [], n = [], r = a1;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== o1) return r;
+ if (r !== a1) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new jHe();
+ t = [], e = new NHe();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -80596,18 +80604,18 @@ function s1() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return s1(t, n).unknown(r);
- }, i1.apply(i, arguments), i;
+ return o1(t, n).unknown(r);
+ }, r1.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function c1() {
- var e = s1().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function s1() {
+ var e = o1().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = BHe(e).map(function(e) {
+ var m = HHe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -80633,32 +80641,32 @@ function c1() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return c1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, i1.apply(d(), arguments);
+ return s1(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, r1.apply(d(), arguments);
}
-function VHe(e) {
+function UHe(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return VHe(t());
+ return UHe(t());
}, e;
}
-function HHe() {
- return VHe(c1.apply(null, arguments).paddingInner(1));
+function WHe() {
+ return UHe(s1.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function l1(e, t, n) {
+function c1(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function UHe(e, t) {
+function GHe(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function u1() {}
-var d1 = .7, f1 = 1 / d1, p1 = "\\s*([+-]?\\d+)\\s*", m1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", h1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", WHe = /^#([0-9a-f]{3,8})$/, GHe = RegExp(`^rgb\\(${p1},${p1},${p1}\\)$`), KHe = RegExp(`^rgb\\(${h1},${h1},${h1}\\)$`), qHe = RegExp(`^rgba\\(${p1},${p1},${p1},${m1}\\)$`), JHe = RegExp(`^rgba\\(${h1},${h1},${h1},${m1}\\)$`), YHe = RegExp(`^hsl\\(${m1},${h1},${h1}\\)$`), XHe = RegExp(`^hsla\\(${m1},${h1},${h1},${m1}\\)$`), ZHe = {
+function l1() {}
+var u1 = .7, d1 = 1 / u1, f1 = "\\s*([+-]?\\d+)\\s*", p1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", m1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", KHe = /^#([0-9a-f]{3,8})$/, qHe = RegExp(`^rgb\\(${f1},${f1},${f1}\\)$`), JHe = RegExp(`^rgb\\(${m1},${m1},${m1}\\)$`), YHe = RegExp(`^rgba\\(${f1},${f1},${f1},${p1}\\)$`), XHe = RegExp(`^rgba\\(${m1},${m1},${m1},${p1}\\)$`), ZHe = RegExp(`^hsl\\(${p1},${m1},${m1}\\)$`), QHe = RegExp(`^hsla\\(${p1},${m1},${m1},${p1}\\)$`), $He = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -80808,170 +80816,170 @@ var d1 = .7, f1 = 1 / d1, p1 = "\\s*([+-]?\\d+)\\s*", m1 = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-l1(u1, g1, {
+c1(l1, h1, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: QHe,
- formatHex: QHe,
- formatHex8: $He,
- formatHsl: eUe,
- formatRgb: tUe,
- toString: tUe
+ hex: eUe,
+ formatHex: eUe,
+ formatHex8: tUe,
+ formatHsl: nUe,
+ formatRgb: rUe,
+ toString: rUe
});
-function QHe() {
+function eUe() {
return this.rgb().formatHex();
}
-function $He() {
+function tUe() {
return this.rgb().formatHex8();
}
-function eUe() {
- return cUe(this).formatHsl();
+function nUe() {
+ return uUe(this).formatHsl();
}
-function tUe() {
+function rUe() {
return this.rgb().formatRgb();
}
-function g1(e) {
+function h1(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = WHe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? nUe(t) : n === 3 ? new y1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? _1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? _1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = GHe.exec(e)) ? new y1(t[1], t[2], t[3], 1) : (t = KHe.exec(e)) ? new y1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = qHe.exec(e)) ? _1(t[1], t[2], t[3], t[4]) : (t = JHe.exec(e)) ? _1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = YHe.exec(e)) ? sUe(t[1], t[2] / 100, t[3] / 100, 1) : (t = XHe.exec(e)) ? sUe(t[1], t[2] / 100, t[3] / 100, t[4]) : ZHe.hasOwnProperty(e) ? nUe(ZHe[e]) : e === "transparent" ? new y1(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = KHe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? iUe(t) : n === 3 ? new v1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? g1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? g1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = qHe.exec(e)) ? new v1(t[1], t[2], t[3], 1) : (t = JHe.exec(e)) ? new v1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = YHe.exec(e)) ? g1(t[1], t[2], t[3], t[4]) : (t = XHe.exec(e)) ? g1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = ZHe.exec(e)) ? lUe(t[1], t[2] / 100, t[3] / 100, 1) : (t = QHe.exec(e)) ? lUe(t[1], t[2] / 100, t[3] / 100, t[4]) : $He.hasOwnProperty(e) ? iUe($He[e]) : e === "transparent" ? new v1(NaN, NaN, NaN, 0) : null;
}
-function nUe(e) {
- return new y1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
+function iUe(e) {
+ return new v1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
-function _1(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new y1(e, t, n, r);
+function g1(e, t, n, r) {
+ return r <= 0 && (e = t = n = NaN), new v1(e, t, n, r);
}
-function rUe(e) {
- return e instanceof u1 || (e = g1(e)), e ? (e = e.rgb(), new y1(e.r, e.g, e.b, e.opacity)) : new y1();
+function aUe(e) {
+ return e instanceof l1 || (e = h1(e)), e ? (e = e.rgb(), new v1(e.r, e.g, e.b, e.opacity)) : new v1();
}
-function v1(e, t, n, r) {
- return arguments.length === 1 ? rUe(e) : new y1(e, t, n, r ?? 1);
+function _1(e, t, n, r) {
+ return arguments.length === 1 ? aUe(e) : new v1(e, t, n, r ?? 1);
}
-function y1(e, t, n, r) {
+function v1(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-l1(y1, v1, UHe(u1, {
+c1(v1, _1, GHe(l1, {
brighter(e) {
- return e = e == null ? f1 : f1 ** +e, new y1(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? d1 : d1 ** +e, new v1(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? d1 : d1 ** +e, new y1(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? u1 : u1 ** +e, new v1(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new y1(x1(this.r), x1(this.g), x1(this.b), b1(this.opacity));
+ return new v1(b1(this.r), b1(this.g), b1(this.b), y1(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: iUe,
- formatHex: iUe,
- formatHex8: aUe,
- formatRgb: oUe,
- toString: oUe
+ hex: oUe,
+ formatHex: oUe,
+ formatHex8: sUe,
+ formatRgb: cUe,
+ toString: cUe
}));
-function iUe() {
- return `#${S1(this.r)}${S1(this.g)}${S1(this.b)}`;
+function oUe() {
+ return `#${x1(this.r)}${x1(this.g)}${x1(this.b)}`;
}
-function aUe() {
- return `#${S1(this.r)}${S1(this.g)}${S1(this.b)}${S1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function sUe() {
+ return `#${x1(this.r)}${x1(this.g)}${x1(this.b)}${x1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function oUe() {
- let e = b1(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${x1(this.r)}, ${x1(this.g)}, ${x1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function cUe() {
+ let e = y1(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${b1(this.r)}, ${b1(this.g)}, ${b1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function b1(e) {
+function y1(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function x1(e) {
+function b1(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function S1(e) {
- return e = x1(e), (e < 16 ? "0" : "") + e.toString(16);
+function x1(e) {
+ return e = b1(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function sUe(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new C1(e, t, n, r);
+function lUe(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new S1(e, t, n, r);
}
-function cUe(e) {
- if (e instanceof C1) return new C1(e.h, e.s, e.l, e.opacity);
- if (e instanceof u1 || (e = g1(e)), !e) return new C1();
- if (e instanceof C1) return e;
+function uUe(e) {
+ if (e instanceof S1) return new S1(e.h, e.s, e.l, e.opacity);
+ if (e instanceof l1 || (e = h1(e)), !e) return new S1();
+ if (e instanceof S1) return e;
e = e.rgb();
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new C1(o, s, c, e.opacity);
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new S1(o, s, c, e.opacity);
}
-function lUe(e, t, n, r) {
- return arguments.length === 1 ? cUe(e) : new C1(e, t, n, r ?? 1);
+function dUe(e, t, n, r) {
+ return arguments.length === 1 ? uUe(e) : new S1(e, t, n, r ?? 1);
}
-function C1(e, t, n, r) {
+function S1(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-l1(C1, lUe, UHe(u1, {
+c1(S1, dUe, GHe(l1, {
brighter(e) {
- return e = e == null ? f1 : f1 ** +e, new C1(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? d1 : d1 ** +e, new S1(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? d1 : d1 ** +e, new C1(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? u1 : u1 ** +e, new S1(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new y1(T1(e >= 240 ? e - 240 : e + 120, i, r), T1(e, i, r), T1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new v1(w1(e >= 240 ? e - 240 : e + 120, i, r), w1(e, i, r), w1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new C1(uUe(this.h), w1(this.s), w1(this.l), b1(this.opacity));
+ return new S1(fUe(this.h), C1(this.s), C1(this.l), y1(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = b1(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${uUe(this.h)}, ${w1(this.s) * 100}%, ${w1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = y1(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${fUe(this.h)}, ${C1(this.s) * 100}%, ${C1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function uUe(e) {
+function fUe(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function w1(e) {
+function C1(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function T1(e, t, n) {
+function w1(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var E1 = (e) => () => e;
+var T1 = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function dUe(e, t) {
+function pUe(e, t) {
return function(n) {
return e + n * t;
};
}
-function fUe(e, t, n) {
+function mUe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function pUe(e) {
- return (e = +e) == 1 ? mUe : function(t, n) {
- return n - t ? fUe(t, n, e) : E1(isNaN(t) ? n : t);
+function hUe(e) {
+ return (e = +e) == 1 ? gUe : function(t, n) {
+ return n - t ? mUe(t, n, e) : T1(isNaN(t) ? n : t);
};
}
-function mUe(e, t) {
+function gUe(e, t) {
var n = t - e;
- return n ? dUe(e, n) : E1(isNaN(e) ? t : e);
+ return n ? pUe(e, n) : T1(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var hUe = (function e(t) {
- var n = pUe(t);
+var _Ue = (function e(t) {
+ var n = hUe(t);
function r(e, t) {
- var r = n((e = v1(e)).r, (t = v1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = mUe(e.opacity, t.opacity);
+ var r = n((e = _1(e)).r, (t = _1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = gUe(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -80980,7 +80988,7 @@ var hUe = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function gUe(e, t) {
+function vUe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -80988,13 +80996,13 @@ function gUe(e, t) {
return r;
};
}
-function _Ue(e) {
+function yUe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function vUe(e, t) {
- for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = A1(e[o], t[o]);
+function bUe(e, t) {
+ for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = k1(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -81003,7 +81011,7 @@ function vUe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function yUe(e, t) {
+function xUe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -81011,16 +81019,16 @@ function yUe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function D1(e, t) {
+function E1(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function bUe(e, t) {
+function SUe(e, t) {
var n = {}, r = {}, i;
- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = A1(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = k1(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -81028,45 +81036,45 @@ function bUe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var O1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, k1 = new RegExp(O1.source, "g");
-function xUe(e) {
+var D1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, O1 = new RegExp(D1.source, "g");
+function CUe(e) {
return function() {
return e;
};
}
-function SUe(e) {
+function wUe(e) {
return function(t) {
return e(t) + "";
};
}
-function CUe(e, t) {
- var n = O1.lastIndex = k1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = O1.exec(e)) && (i = k1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
+function TUe(e, t) {
+ var n = D1.lastIndex = O1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = D1.exec(e)) && (i = O1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
- x: D1(r, i)
- })), n = k1.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? SUe(c[0].x) : xUe(t) : (t = c.length, function(e) {
+ x: E1(r, i)
+ })), n = O1.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? wUe(c[0].x) : CUe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function A1(e, t) {
+function k1(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? E1(t) : (n === "number" ? D1 : n === "string" ? (r = g1(t)) ? (t = r, hUe) : CUe : t instanceof g1 ? hUe : t instanceof Date ? yUe : _Ue(t) ? gUe : Array.isArray(t) ? vUe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? bUe : D1)(e, t);
+ return t == null || n === "boolean" ? T1(t) : (n === "number" ? E1 : n === "string" ? (r = h1(t)) ? (t = r, _Ue) : TUe : t instanceof h1 ? _Ue : t instanceof Date ? xUe : yUe(t) ? vUe : Array.isArray(t) ? bUe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? SUe : E1)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function j1(e, t) {
+function A1(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function wUe(e, t) {
- t === void 0 && (t = e, e = A1);
+function EUe(e, t) {
+ t === void 0 && (t = e, e = k1);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -81075,69 +81083,69 @@ function wUe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function TUe(e) {
+function DUe(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function M1(e) {
+function j1(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var EUe = [0, 1];
-function N1(e) {
+var OUe = [0, 1];
+function M1(e) {
return e;
}
-function P1(e, t) {
+function N1(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : TUe(isNaN(t) ? NaN : .5);
+ } : DUe(isNaN(t) ? NaN : .5);
}
-function DUe(e, t) {
+function kUe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function OUe(e, t, n) {
+function AUe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = P1(i, r), a = n(o, a)) : (r = P1(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = N1(i, r), a = n(o, a)) : (r = N1(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function kUe(e, t, n) {
+function jUe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = P1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = N1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = J$(e, t, 1, r) - 1;
+ var n = q$(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function F1(e, t) {
+function P1(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function I1() {
- var e = EUe, t = EUe, n = A1, r, i, a, o = N1, s, c, l;
+function F1() {
+ var e = OUe, t = OUe, n = k1, r, i, a, o = M1, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== N1 && (o = DUe(e[0], e[n - 1])), s = n > 2 ? kUe : OUe, c = l = null, d;
+ return o !== M1 && (o = kUe(e[0], e[n - 1])), s = n > 2 ? jUe : AUe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), D1))(n)));
+ return o(i((l ||= s(t, e.map(r), E1))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, M1), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, j1), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = j1, u();
+ return t = Array.from(e), n = A1, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : N1, u()) : o !== N1;
+ return arguments.length ? (o = e ? !0 : M1, u()) : o !== M1;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -81146,27 +81154,27 @@ function I1() {
return r = e, i = t, u();
};
}
-function L1() {
- return I1()(N1, N1);
+function I1() {
+ return F1()(M1, M1);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function AUe(e) {
+function MUe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function R1(e, t) {
+function L1(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function z1(e) {
- return e = R1(Math.abs(e)), e ? e[1] : NaN;
+function R1(e) {
+ return e = L1(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function jUe(e, t) {
+function NUe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -81174,7 +81182,7 @@ function jUe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function MUe(e) {
+function PUe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -81183,11 +81191,11 @@ function MUe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var NUe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function B1(e) {
- if (!(t = NUe.exec(e))) throw Error("invalid format: " + e);
+var FUe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function z1(e) {
+ if (!(t = FUe.exec(e))) throw Error("invalid format: " + e);
var t;
- return new V1({
+ return new B1({
fill: t[1],
align: t[2],
sign: t[3],
@@ -81200,16 +81208,16 @@ function B1(e) {
type: t[10]
});
}
-B1.prototype = V1.prototype;
-function V1(e) {
+z1.prototype = B1.prototype;
+function B1(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-V1.prototype.toString = function() {
+B1.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function PUe(e) {
+function IUe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -81225,46 +81233,46 @@ function PUe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var H1;
-function FUe(e, t) {
- var n = R1(e, t);
- if (!n) return H1 = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (H1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + R1(e, Math.max(0, t + a - 1))[0];
+var V1;
+function LUe(e, t) {
+ var n = L1(e, t);
+ if (!n) return V1 = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (V1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + L1(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function IUe(e, t) {
- var n = R1(e, t);
+function RUe(e, t) {
+ var n = L1(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var LUe = {
+var zUe = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: AUe,
+ d: MUe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => IUe(e * 100, t),
- r: IUe,
- s: FUe,
+ p: (e, t) => RUe(e * 100, t),
+ r: RUe,
+ s: LUe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function RUe(e) {
+function BUe(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var zUe = Array.prototype.map, BUe = [
+var VUe = Array.prototype.map, HUe = [
"y",
"z",
"a",
@@ -81283,13 +81291,13 @@ var zUe = Array.prototype.map, BUe = [
"Z",
"Y"
];
-function VUe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? RUe : jUe(zUe.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? RUe : MUe(zUe.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function UUe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? BUe : NUe(VUe.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? BUe : PUe(VUe.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
- e = B1(e);
+ e = z1(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : LUe[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = LUe[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : zUe[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = zUe[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -81297,7 +81305,7 @@ function VUe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = PUe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && H1 !== void 0 ? BUe[8 + H1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = IUe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && V1 !== void 0 ? HUe[8 + V1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -81325,7 +81333,7 @@ function VUe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(z1(t) / 3))) * 3, r = 10 ** -n, i = l((e = B1(e), e.type = "f", e), { suffix: BUe[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(R1(t) / 3))) * 3, r = 10 ** -n, i = l((e = z1(e), e.type = "f", e), { suffix: HUe[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -81337,65 +81345,65 @@ function VUe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var U1, W1, HUe;
-UUe({
+var H1, U1, WUe;
+GUe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function UUe(e) {
- return U1 = VUe(e), W1 = U1.format, HUe = U1.formatPrefix, U1;
+function GUe(e) {
+ return H1 = UUe(e), U1 = H1.format, WUe = H1.formatPrefix, H1;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function WUe(e) {
- return Math.max(0, -z1(Math.abs(e)));
+function KUe(e) {
+ return Math.max(0, -R1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function GUe(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(z1(t) / 3))) * 3 - z1(Math.abs(e)));
+function qUe(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(R1(t) / 3))) * 3 - R1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function KUe(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, z1(t) - z1(e)) + 1;
+function JUe(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, R1(t) - R1(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function qUe(e, t, n, r) {
- var i = $$(e, t, n), a;
- switch (r = B1(r ?? ",f"), r.type) {
+function YUe(e, t, n, r) {
+ var i = Q$(e, t, n), a;
+ switch (r = z1(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = GUe(i, o)) && (r.precision = a), HUe(r, o);
+ return r.precision == null && !isNaN(a = qUe(i, o)) && (r.precision = a), WUe(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = KUe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = JUe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = WUe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = KUe(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return W1(r);
+ return U1(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function G1(e) {
+function W1(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return Q$(n[0], n[n.length - 1], e ?? 10);
+ return Z$(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return qUe(r[0], r[r.length - 1], e ?? 10, n);
+ return YUe(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = IHe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = RHe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -81404,64 +81412,64 @@ function G1(e) {
return e;
}, e;
}
-function JUe() {
- var e = L1();
+function XUe() {
+ var e = I1();
return e.copy = function() {
- return F1(e, JUe());
- }, i1.apply(e, arguments), G1(e);
+ return P1(e, XUe());
+ }, r1.apply(e, arguments), W1(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function YUe(e) {
+function ZUe(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, M1), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, j1), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return YUe(e).unknown(t);
- }, e = arguments.length ? Array.from(e, M1) : [0, 1], G1(n);
+ return ZUe(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, j1) : [0, 1], W1(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function XUe(e, t) {
+function QUe(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function ZUe(e) {
+function $Ue(e) {
return Math.log(e);
}
-function QUe(e) {
+function eWe(e) {
return Math.exp(e);
}
-function $Ue(e) {
+function tWe(e) {
return -Math.log(-e);
}
-function eWe(e) {
+function nWe(e) {
return -Math.exp(-e);
}
-function tWe(e) {
+function rWe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function nWe(e) {
- return e === 10 ? tWe : e === Math.E ? Math.exp : (t) => e ** +t;
+function iWe(e) {
+ return e === 10 ? rWe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function rWe(e) {
+function aWe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
-function iWe(e) {
+function oWe(e) {
return (t, n) => -e(-t, n);
}
-function K1(e) {
- let t = e(ZUe, QUe), n = t.domain, r = 10, i, a;
+function G1(e) {
+ let t = e($Ue, eWe), n = t.domain, r = 10, i, a;
function o() {
- return i = rWe(r), a = nWe(r), n()[0] < 0 ? (i = iWe(i), a = iWe(a), e($Ue, eWe)) : e(ZUe, QUe), t;
+ return i = aWe(r), a = iWe(r), n()[0] < 0 ? (i = oWe(i), a = oWe(a), e(tWe, nWe)) : e($Ue, eWe), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -81481,100 +81489,100 @@ function K1(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = Q$(o, s, p));
- } else m = Q$(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = Z$(o, s, p));
+ } else m = Z$(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = B1(n)).precision == null && (n.trim = !0), n = W1(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = z1(n)).precision == null && (n.trim = !0), n = U1(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(XUe(n(), {
+ }, t.nice = () => n(QUe(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function aWe() {
- let e = K1(I1()).domain([1, 10]);
- return e.copy = () => F1(e, aWe()).base(e.base()), i1.apply(e, arguments), e;
+function sWe() {
+ let e = G1(F1()).domain([1, 10]);
+ return e.copy = () => P1(e, sWe()).base(e.base()), r1.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function oWe(e) {
+function cWe(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function sWe(e) {
+function lWe(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function q1(e) {
- var t = 1, n = e(oWe(t), sWe(t));
+function K1(e) {
+ var t = 1, n = e(cWe(t), lWe(t));
return n.constant = function(n) {
- return arguments.length ? e(oWe(t = +n), sWe(t)) : t;
- }, G1(n);
+ return arguments.length ? e(cWe(t = +n), lWe(t)) : t;
+ }, W1(n);
}
-function cWe() {
- var e = q1(I1());
+function uWe() {
+ var e = K1(F1());
return e.copy = function() {
- return F1(e, cWe()).constant(e.constant());
- }, i1.apply(e, arguments);
+ return P1(e, uWe()).constant(e.constant());
+ }, r1.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function lWe(e) {
+function dWe(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function uWe(e) {
+function fWe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function dWe(e) {
+function pWe(e) {
return e < 0 ? -e * e : e * e;
}
-function J1(e) {
- var t = e(N1, N1), n = 1;
+function q1(e) {
+ var t = e(M1, M1), n = 1;
function r() {
- return n === 1 ? e(N1, N1) : n === .5 ? e(uWe, dWe) : e(lWe(n), lWe(1 / n));
+ return n === 1 ? e(M1, M1) : n === .5 ? e(fWe, pWe) : e(dWe(n), dWe(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, G1(t);
+ }, W1(t);
}
-function Y1() {
- var e = J1(I1());
+function J1() {
+ var e = q1(F1());
return e.copy = function() {
- return F1(e, Y1()).exponent(e.exponent());
- }, i1.apply(e, arguments), e;
+ return P1(e, J1()).exponent(e.exponent());
+ }, r1.apply(e, arguments), e;
}
-function fWe() {
- return Y1.apply(null, arguments).exponent(.5);
+function mWe() {
+ return J1.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function pWe(e) {
+function hWe(e) {
return Math.sign(e) * e * e;
}
-function mWe(e) {
+function gWe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function hWe() {
- var e = L1(), t = [0, 1], n = !1, r;
+function _We() {
+ var e = I1(), t = [0, 1], n = !1, r;
function i(t) {
- var i = mWe(e(t));
+ var i = gWe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(pWe(t));
+ return e.invert(hWe(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, M1)).map(pWe)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, j1)).map(hWe)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -81584,20 +81592,20 @@ function hWe() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return hWe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, i1.apply(i, arguments), G1(i);
+ return _We(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, r1.apply(i, arguments), W1(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function gWe() {
+function vWe() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = zHe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = VHe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[J$(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[q$(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -81606,7 +81614,7 @@ function gWe() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(K$), i();
+ return e.sort(G$), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -81614,15 +81622,15 @@ function gWe() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return gWe().domain(e).range(t).unknown(r);
- }, i1.apply(a, arguments);
+ return vWe().domain(e).range(t).unknown(r);
+ }, r1.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function _We() {
+function yWe() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[J$(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[q$(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -81641,15 +81649,15 @@ function _We() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return _We().domain([e, t]).range(i).unknown(a);
- }, i1.apply(G1(o), arguments);
+ return yWe().domain([e, t]).range(i).unknown(a);
+ }, r1.apply(W1(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function vWe() {
+function bWe() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[J$(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[q$(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -81661,13 +81669,13 @@ function vWe() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return vWe().domain(e).range(t).unknown(n);
- }, i1.apply(i, arguments);
+ return bWe().domain(e).range(t).unknown(n);
+ }, r1.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var X1 = /* @__PURE__ */ new Date(), Z1 = /* @__PURE__ */ new Date();
-function Q1(e, t, n, r) {
+var Y1 = /* @__PURE__ */ new Date(), X1 = /* @__PURE__ */ new Date();
+function Z1(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -81682,226 +81690,226 @@ function Q1(e, t, n, r) {
o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
while (s < n && n < r);
return o;
- }, i.filter = (n) => Q1((t) => {
+ }, i.filter = (n) => Z1((t) => {
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
}, (e, r) => {
if (e >= e) {
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
else for (; --r >= 0;) for (; t(e, 1), !n(e););
}
- }), n && (i.count = (t, r) => (X1.setTime(+t), Z1.setTime(+r), e(X1), e(Z1), Math.floor(n(X1, Z1))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
+ }), n && (i.count = (t, r) => (Y1.setTime(+t), X1.setTime(+r), e(Y1), e(X1), Math.floor(n(Y1, X1))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
}
//#endregion
//#region node_modules/d3-time/src/millisecond.js
-var $1 = Q1(() => {}, (e, t) => {
+var Q1 = Z1(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-$1.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? Q1((t) => {
+Q1.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? Z1((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : $1), $1.range;
+}, (t, n) => (n - t) / e) : Q1), Q1.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var e0 = 1e3, t0 = e0 * 60, n0 = t0 * 60, r0 = n0 * 24, i0 = r0 * 7, yWe = r0 * 30, a0 = r0 * 365, o0 = Q1((e) => {
+var $1 = 1e3, e0 = $1 * 60, t0 = e0 * 60, n0 = t0 * 24, r0 = n0 * 7, xWe = n0 * 30, i0 = n0 * 365, a0 = Z1((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * e0);
-}, (e, t) => (t - e) / e0, (e) => e.getUTCSeconds());
-o0.range;
+ e.setTime(+e + t * $1);
+}, (e, t) => (t - e) / $1, (e) => e.getUTCSeconds());
+a0.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var s0 = Q1((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * e0);
+var o0 = Z1((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * $1);
}, (e, t) => {
- e.setTime(+e + t * t0);
-}, (e, t) => (t - e) / t0, (e) => e.getMinutes());
-s0.range;
-var c0 = Q1((e) => {
+ e.setTime(+e + t * e0);
+}, (e, t) => (t - e) / e0, (e) => e.getMinutes());
+o0.range;
+var s0 = Z1((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * t0);
-}, (e, t) => (t - e) / t0, (e) => e.getUTCMinutes());
-c0.range;
+ e.setTime(+e + t * e0);
+}, (e, t) => (t - e) / e0, (e) => e.getUTCMinutes());
+s0.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var l0 = Q1((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * e0 - e.getMinutes() * t0);
+var c0 = Z1((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * $1 - e.getMinutes() * e0);
}, (e, t) => {
- e.setTime(+e + t * n0);
-}, (e, t) => (t - e) / n0, (e) => e.getHours());
-l0.range;
-var u0 = Q1((e) => {
+ e.setTime(+e + t * t0);
+}, (e, t) => (t - e) / t0, (e) => e.getHours());
+c0.range;
+var l0 = Z1((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * n0);
-}, (e, t) => (t - e) / n0, (e) => e.getUTCHours());
-u0.range;
+ e.setTime(+e + t * t0);
+}, (e, t) => (t - e) / t0, (e) => e.getUTCHours());
+l0.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var d0 = Q1((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * t0) / r0, (e) => e.getDate() - 1);
-d0.range;
-var f0 = Q1((e) => {
+var u0 = Z1((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * e0) / n0, (e) => e.getDate() - 1);
+u0.range;
+var d0 = Z1((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / r0, (e) => e.getUTCDate() - 1);
-f0.range;
-var bWe = Q1((e) => {
+}, (e, t) => (t - e) / n0, (e) => e.getUTCDate() - 1);
+d0.range;
+var SWe = Z1((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / r0, (e) => Math.floor(e / r0));
-bWe.range;
+}, (e, t) => (t - e) / n0, (e) => Math.floor(e / n0));
+SWe.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function p0(e) {
- return Q1((t) => {
+function f0(e) {
+ return Z1((t) => {
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setDate(e.getDate() + t * 7);
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * t0) / i0);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * e0) / r0);
}
-var m0 = p0(0), h0 = p0(1), xWe = p0(2), SWe = p0(3), g0 = p0(4), CWe = p0(5), wWe = p0(6);
-m0.range, h0.range, xWe.range, SWe.range, g0.range, CWe.range, wWe.range;
-function _0(e) {
- return Q1((t) => {
+var p0 = f0(0), m0 = f0(1), CWe = f0(2), wWe = f0(3), h0 = f0(4), TWe = f0(5), EWe = f0(6);
+p0.range, m0.range, CWe.range, wWe.range, h0.range, TWe.range, EWe.range;
+function g0(e) {
+ return Z1((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t * 7);
- }, (e, t) => (t - e) / i0);
+ }, (e, t) => (t - e) / r0);
}
-var v0 = _0(0), y0 = _0(1), TWe = _0(2), EWe = _0(3), b0 = _0(4), DWe = _0(5), OWe = _0(6);
-v0.range, y0.range, TWe.range, EWe.range, b0.range, DWe.range, OWe.range;
+var _0 = g0(0), v0 = g0(1), DWe = g0(2), OWe = g0(3), y0 = g0(4), kWe = g0(5), AWe = g0(6);
+_0.range, v0.range, DWe.range, OWe.range, y0.range, kWe.range, AWe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var x0 = Q1((e) => {
+var b0 = Z1((e) => {
e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setMonth(e.getMonth() + t);
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
-x0.range;
-var S0 = Q1((e) => {
+b0.range;
+var x0 = Z1((e) => {
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCMonth(e.getUTCMonth() + t);
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
-S0.range;
+x0.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var C0 = Q1((e) => {
+var S0 = Z1((e) => {
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setFullYear(e.getFullYear() + t);
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
-C0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Q1((t) => {
+S0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Z1((t) => {
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
}, (t, n) => {
t.setFullYear(t.getFullYear() + n * e);
-}), C0.range;
-var w0 = Q1((e) => {
+}), S0.range;
+var C0 = Z1((e) => {
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCFullYear(e.getUTCFullYear() + t);
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
-w0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Q1((t) => {
+C0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Z1((t) => {
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
}, (t, n) => {
t.setUTCFullYear(t.getUTCFullYear() + n * e);
-}), w0.range;
+}), C0.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function kWe(e, t, n, r, i, a) {
+function jWe(e, t, n, r, i, a) {
let o = [
[
- o0,
+ a0,
1,
- e0
+ $1
],
[
- o0,
+ a0,
5,
- 5 * e0
+ 5 * $1
],
[
- o0,
+ a0,
15,
- 15 * e0
+ 15 * $1
],
[
- o0,
+ a0,
30,
- 30 * e0
+ 30 * $1
],
[
a,
1,
- t0
+ e0
],
[
a,
5,
- 5 * t0
+ 5 * e0
],
[
a,
15,
- 15 * t0
+ 15 * e0
],
[
a,
30,
- 30 * t0
+ 30 * e0
],
[
i,
1,
- n0
+ t0
],
[
i,
3,
- 3 * n0
+ 3 * t0
],
[
i,
6,
- 6 * n0
+ 6 * t0
],
[
i,
12,
- 12 * n0
+ 12 * t0
],
[
r,
1,
- r0
+ n0
],
[
r,
2,
- 2 * r0
+ 2 * n0
],
[
n,
1,
- i0
+ r0
],
[
t,
1,
- yWe
+ xWe
],
[
t,
3,
- 3 * yWe
+ 3 * xWe
],
[
e,
1,
- a0
+ i0
]
];
function s(e, t, n) {
@@ -81911,32 +81919,32 @@ function kWe(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = q$(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every($$(t / a0, n / a0, r));
- if (a === 0) return $1.every(Math.max($$(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = K$(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(Q$(t / i0, n / i0, r));
+ if (a === 0) return Q1.every(Math.max(Q$(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [AWe, jWe] = kWe(w0, S0, v0, bWe, u0, c0), [MWe, NWe] = kWe(C0, x0, m0, d0, l0, s0);
+var [MWe, NWe] = jWe(C0, x0, _0, SWe, l0, s0), [PWe, FWe] = jWe(S0, b0, p0, u0, c0, o0);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function T0(e) {
+function w0(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
return t.setFullYear(e.y), t;
}
return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
}
-function E0(e) {
+function T0(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
return t.setUTCFullYear(e.y), t;
}
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
}
-function D0(e, t, n) {
+function E0(e, t, n) {
return {
y: e,
m: t,
@@ -81947,133 +81955,133 @@ function D0(e, t, n) {
L: 0
};
}
-function PWe(e) {
- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = A0(i), u = j0(i), d = A0(a), f = j0(a), p = A0(o), m = j0(o), h = A0(s), g = j0(s), _ = A0(c), v = j0(c), y = {
+function IWe(e) {
+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = k0(i), u = A0(i), d = k0(a), f = A0(a), p = k0(o), m = A0(o), h = k0(s), g = A0(s), _ = k0(c), v = A0(c), y = {
a: N,
A: P,
b: ee,
B: F,
c: null,
- d: aGe,
- e: aGe,
- f: uGe,
- g: xGe,
- G: CGe,
- H: oGe,
- I: sGe,
- j: cGe,
- L: lGe,
- m: dGe,
- M: fGe,
+ d: sGe,
+ e: sGe,
+ f: fGe,
+ g: CGe,
+ G: TGe,
+ H: cGe,
+ I: lGe,
+ j: uGe,
+ L: dGe,
+ m: pGe,
+ M: mGe,
p: te,
q: I,
- Q: KGe,
- s: qGe,
- S: pGe,
- u: mGe,
- U: hGe,
- V: _Ge,
- w: vGe,
- W: yGe,
+ Q: JGe,
+ s: YGe,
+ S: hGe,
+ u: gGe,
+ U: _Ge,
+ V: yGe,
+ w: bGe,
+ W: xGe,
x: null,
X: null,
- y: bGe,
- Y: SGe,
- Z: wGe,
- "%": GGe
+ y: SGe,
+ Y: wGe,
+ Z: EGe,
+ "%": qGe
}, b = {
a: ne,
A: re,
b: ie,
B: ae,
c: null,
- d: TGe,
- e: TGe,
- f: AGe,
- g: VGe,
- G: UGe,
- H: EGe,
- I: DGe,
- j: OGe,
- L: kGe,
- m: jGe,
- M: MGe,
+ d: DGe,
+ e: DGe,
+ f: MGe,
+ g: UGe,
+ G: GGe,
+ H: OGe,
+ I: kGe,
+ j: AGe,
+ L: jGe,
+ m: NGe,
+ M: PGe,
p: oe,
q: se,
- Q: KGe,
- s: qGe,
- S: NGe,
- u: PGe,
- U: FGe,
- V: LGe,
- w: RGe,
- W: zGe,
+ Q: JGe,
+ s: YGe,
+ S: FGe,
+ u: IGe,
+ U: LGe,
+ V: zGe,
+ w: BGe,
+ W: VGe,
x: null,
X: null,
- y: BGe,
- Y: HGe,
- Z: WGe,
- "%": GGe
+ y: HGe,
+ Y: WGe,
+ Z: KGe,
+ "%": qGe
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: YWe,
- e: YWe,
- f: tGe,
- g: GWe,
- G: WWe,
- H: ZWe,
- I: ZWe,
- j: XWe,
- L: eGe,
- m: JWe,
- M: QWe,
+ d: ZWe,
+ e: ZWe,
+ f: rGe,
+ g: qWe,
+ G: KWe,
+ H: $We,
+ I: $We,
+ j: QWe,
+ L: nGe,
+ m: XWe,
+ M: eGe,
p: T,
- q: qWe,
- Q: rGe,
- s: iGe,
- S: $We,
- u: BWe,
- U: VWe,
- V: HWe,
- w: zWe,
- W: UWe,
+ q: YWe,
+ Q: aGe,
+ s: oGe,
+ S: tGe,
+ u: HWe,
+ U: UWe,
+ V: WWe,
+ w: VWe,
+ W: GWe,
x: j,
X: M,
- y: GWe,
- Y: WWe,
- Z: KWe,
- "%": nGe
+ y: qWe,
+ Y: KWe,
+ Z: JWe,
+ "%": iGe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = FWe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = LWe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
function C(e, t) {
return function(n) {
- var r = D0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = E0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
if (i != n.length) return null;
if ("Q" in r) return new Date(r.Q);
if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
if (r.V < 1 || r.V > 53) return null;
- "w" in r || (r.w = 1), "Z" in r ? (a = E0(D0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? y0.ceil(a) : y0(a), a = f0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = T0(D0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? h0.ceil(a) : h0(a), a = d0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? E0(D0(r.y, 0, 1)).getUTCDay() : T0(D0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, E0(r)) : T0(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = T0(E0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? v0.ceil(a) : v0(a), a = d0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = w0(E0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? m0.ceil(a) : m0(a), a = u0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? T0(E0(r.y, 0, 1)).getUTCDay() : w0(E0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, T0(r)) : w0(r);
};
}
function w(e, t, n, r) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in FWe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in LWe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -82170,244 +82178,244 @@ function PWe(e) {
}
};
}
-var FWe = {
+var LWe = {
"-": "",
_: " ",
0: "0"
-}, O0 = /^\s*\d+/, IWe = /^%/, LWe = /[\\^$*+?|[\]().{}]/g;
-function k0(e, t, n) {
+}, D0 = /^\s*\d+/, RWe = /^%/, zWe = /[\\^$*+?|[\]().{}]/g;
+function O0(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function RWe(e) {
- return e.replace(LWe, "\\$&");
+function BWe(e) {
+ return e.replace(zWe, "\\$&");
}
-function A0(e) {
- return RegExp("^(?:" + e.map(RWe).join("|") + ")", "i");
+function k0(e) {
+ return RegExp("^(?:" + e.map(BWe).join("|") + ")", "i");
}
-function j0(e) {
+function A0(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function zWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 1));
+function VWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function BWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 1));
+function HWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function VWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function UWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function HWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function WWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function UWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function GWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function WWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 4));
+function KWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function GWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function qWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function KWe(e, t, n) {
+function JWe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function qWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 1));
+function YWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function JWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function XWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function YWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function ZWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function XWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 3));
+function QWe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function ZWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function $We(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function QWe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function eGe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function $We(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function tGe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function eGe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 3));
+function nGe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function tGe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 6));
+function rGe(e, t, n) {
+ var r = D0.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function nGe(e, t, n) {
- var r = IWe.exec(t.slice(n, n + 1));
+function iGe(e, t, n) {
+ var r = RWe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function rGe(e, t, n) {
- var r = O0.exec(t.slice(n));
+function aGe(e, t, n) {
+ var r = D0.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function iGe(e, t, n) {
- var r = O0.exec(t.slice(n));
+function oGe(e, t, n) {
+ var r = D0.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function aGe(e, t) {
- return k0(e.getDate(), t, 2);
-}
-function oGe(e, t) {
- return k0(e.getHours(), t, 2);
-}
function sGe(e, t) {
- return k0(e.getHours() % 12 || 12, t, 2);
+ return O0(e.getDate(), t, 2);
}
function cGe(e, t) {
- return k0(1 + d0.count(C0(e), e), t, 3);
+ return O0(e.getHours(), t, 2);
}
function lGe(e, t) {
- return k0(e.getMilliseconds(), t, 3);
+ return O0(e.getHours() % 12 || 12, t, 2);
}
function uGe(e, t) {
- return lGe(e, t) + "000";
+ return O0(1 + u0.count(S0(e), e), t, 3);
}
function dGe(e, t) {
- return k0(e.getMonth() + 1, t, 2);
+ return O0(e.getMilliseconds(), t, 3);
}
function fGe(e, t) {
- return k0(e.getMinutes(), t, 2);
+ return dGe(e, t) + "000";
}
function pGe(e, t) {
- return k0(e.getSeconds(), t, 2);
+ return O0(e.getMonth() + 1, t, 2);
}
-function mGe(e) {
- var t = e.getDay();
- return t === 0 ? 7 : t;
+function mGe(e, t) {
+ return O0(e.getMinutes(), t, 2);
}
function hGe(e, t) {
- return k0(m0.count(C0(e) - 1, e), t, 2);
+ return O0(e.getSeconds(), t, 2);
}
function gGe(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? g0(e) : g0.ceil(e);
+ return t === 0 ? 7 : t;
}
function _Ge(e, t) {
- return e = gGe(e), k0(g0.count(C0(e), e) + (C0(e).getDay() === 4), t, 2);
+ return O0(p0.count(S0(e) - 1, e), t, 2);
}
function vGe(e) {
- return e.getDay();
+ var t = e.getDay();
+ return t >= 4 || t === 0 ? h0(e) : h0.ceil(e);
}
function yGe(e, t) {
- return k0(h0.count(C0(e) - 1, e), t, 2);
+ return e = vGe(e), O0(h0.count(S0(e), e) + (S0(e).getDay() === 4), t, 2);
}
-function bGe(e, t) {
- return k0(e.getFullYear() % 100, t, 2);
+function bGe(e) {
+ return e.getDay();
}
function xGe(e, t) {
- return e = gGe(e), k0(e.getFullYear() % 100, t, 2);
+ return O0(m0.count(S0(e) - 1, e), t, 2);
}
function SGe(e, t) {
- return k0(e.getFullYear() % 1e4, t, 4);
+ return O0(e.getFullYear() % 100, t, 2);
}
function CGe(e, t) {
- var n = e.getDay();
- return e = n >= 4 || n === 0 ? g0(e) : g0.ceil(e), k0(e.getFullYear() % 1e4, t, 4);
+ return e = vGe(e), O0(e.getFullYear() % 100, t, 2);
}
-function wGe(e) {
- var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + k0(t / 60 | 0, "0", 2) + k0(t % 60, "0", 2);
+function wGe(e, t) {
+ return O0(e.getFullYear() % 1e4, t, 4);
}
function TGe(e, t) {
- return k0(e.getUTCDate(), t, 2);
+ var n = e.getDay();
+ return e = n >= 4 || n === 0 ? h0(e) : h0.ceil(e), O0(e.getFullYear() % 1e4, t, 4);
}
-function EGe(e, t) {
- return k0(e.getUTCHours(), t, 2);
+function EGe(e) {
+ var t = e.getTimezoneOffset();
+ return (t > 0 ? "-" : (t *= -1, "+")) + O0(t / 60 | 0, "0", 2) + O0(t % 60, "0", 2);
}
function DGe(e, t) {
- return k0(e.getUTCHours() % 12 || 12, t, 2);
+ return O0(e.getUTCDate(), t, 2);
}
function OGe(e, t) {
- return k0(1 + f0.count(w0(e), e), t, 3);
+ return O0(e.getUTCHours(), t, 2);
}
function kGe(e, t) {
- return k0(e.getUTCMilliseconds(), t, 3);
+ return O0(e.getUTCHours() % 12 || 12, t, 2);
}
function AGe(e, t) {
- return kGe(e, t) + "000";
+ return O0(1 + d0.count(C0(e), e), t, 3);
}
function jGe(e, t) {
- return k0(e.getUTCMonth() + 1, t, 2);
+ return O0(e.getUTCMilliseconds(), t, 3);
}
function MGe(e, t) {
- return k0(e.getUTCMinutes(), t, 2);
+ return jGe(e, t) + "000";
}
function NGe(e, t) {
- return k0(e.getUTCSeconds(), t, 2);
+ return O0(e.getUTCMonth() + 1, t, 2);
}
-function PGe(e) {
- var t = e.getUTCDay();
- return t === 0 ? 7 : t;
+function PGe(e, t) {
+ return O0(e.getUTCMinutes(), t, 2);
}
function FGe(e, t) {
- return k0(v0.count(w0(e) - 1, e), t, 2);
+ return O0(e.getUTCSeconds(), t, 2);
}
function IGe(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? b0(e) : b0.ceil(e);
+ return t === 0 ? 7 : t;
}
function LGe(e, t) {
- return e = IGe(e), k0(b0.count(w0(e), e) + (w0(e).getUTCDay() === 4), t, 2);
+ return O0(_0.count(C0(e) - 1, e), t, 2);
}
function RGe(e) {
- return e.getUTCDay();
+ var t = e.getUTCDay();
+ return t >= 4 || t === 0 ? y0(e) : y0.ceil(e);
}
function zGe(e, t) {
- return k0(y0.count(w0(e) - 1, e), t, 2);
+ return e = RGe(e), O0(y0.count(C0(e), e) + (C0(e).getUTCDay() === 4), t, 2);
}
-function BGe(e, t) {
- return k0(e.getUTCFullYear() % 100, t, 2);
+function BGe(e) {
+ return e.getUTCDay();
}
function VGe(e, t) {
- return e = IGe(e), k0(e.getUTCFullYear() % 100, t, 2);
+ return O0(v0.count(C0(e) - 1, e), t, 2);
}
function HGe(e, t) {
- return k0(e.getUTCFullYear() % 1e4, t, 4);
+ return O0(e.getUTCFullYear() % 100, t, 2);
}
function UGe(e, t) {
+ return e = RGe(e), O0(e.getUTCFullYear() % 100, t, 2);
+}
+function WGe(e, t) {
+ return O0(e.getUTCFullYear() % 1e4, t, 4);
+}
+function GGe(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? b0(e) : b0.ceil(e), k0(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? y0(e) : y0.ceil(e), O0(e.getUTCFullYear() % 1e4, t, 4);
}
-function WGe() {
+function KGe() {
return "+0000";
}
-function GGe() {
+function qGe() {
return "%";
}
-function KGe(e) {
+function JGe(e) {
return +e;
}
-function qGe(e) {
+function YGe(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var M0, JGe, YGe;
-XGe({
+var j0, XGe, ZGe;
+QGe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -82459,26 +82467,26 @@ XGe({
"Dec"
]
});
-function XGe(e) {
- return M0 = PWe(e), JGe = M0.format, M0.parse, YGe = M0.utcFormat, M0.utcParse, M0;
+function QGe(e) {
+ return j0 = IWe(e), XGe = j0.format, j0.parse, ZGe = j0.utcFormat, j0.utcParse, j0;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function ZGe(e) {
+function $Ge(e) {
return new Date(e);
}
-function QGe(e) {
+function eKe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function N0(e, t, n, r, i, a, o, s, c, l) {
- var u = L1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+function M0(e, t, n, r, i, a, o, s, c, l) {
+ var u = I1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, QGe)) : f().map(ZGe);
+ return arguments.length ? f(Array.from(e, eKe)) : f().map($Ge);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -82486,23 +82494,23 @@ function N0(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(XUe(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(QUe(n, e)) : u;
}, u.copy = function() {
- return F1(u, N0(e, t, n, r, i, a, o, s, c, l));
+ return P1(u, M0(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function $Ge() {
- return i1.apply(N0(MWe, NWe, C0, x0, m0, d0, l0, s0, o0, JGe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function tKe() {
+ return r1.apply(M0(PWe, FWe, S0, b0, p0, u0, c0, o0, a0, XGe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function eKe() {
- return i1.apply(N0(AWe, jWe, w0, S0, v0, f0, u0, c0, o0, YGe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function nKe() {
+ return r1.apply(M0(MWe, NWe, C0, x0, _0, d0, l0, s0, a0, ZGe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function P0() {
- var e = 0, t = 1, n, r, i, a, o = N1, s = !1, c;
+function N0() {
+ var e = 0, t = 1, n, r, i, a, o = M1, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -82519,68 +82527,68 @@ function P0() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(A1), l.rangeRound = u(j1), l.unknown = function(e) {
+ return l.range = u(k1), l.rangeRound = u(A1), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
};
}
-function F0(e, t) {
+function P0(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function tKe() {
- var e = G1(P0()(N1));
+function rKe() {
+ var e = W1(N0()(M1));
return e.copy = function() {
- return F0(e, tKe());
- }, a1.apply(e, arguments);
+ return P0(e, rKe());
+ }, i1.apply(e, arguments);
}
-function nKe() {
- var e = K1(P0()).domain([1, 10]);
+function iKe() {
+ var e = G1(N0()).domain([1, 10]);
return e.copy = function() {
- return F0(e, nKe()).base(e.base());
- }, a1.apply(e, arguments);
+ return P0(e, iKe()).base(e.base());
+ }, i1.apply(e, arguments);
}
-function rKe() {
- var e = q1(P0());
+function aKe() {
+ var e = K1(N0());
return e.copy = function() {
- return F0(e, rKe()).constant(e.constant());
- }, a1.apply(e, arguments);
+ return P0(e, aKe()).constant(e.constant());
+ }, i1.apply(e, arguments);
}
-function I0() {
- var e = J1(P0());
+function F0() {
+ var e = q1(N0());
return e.copy = function() {
- return F0(e, I0()).exponent(e.exponent());
- }, a1.apply(e, arguments);
+ return P0(e, F0()).exponent(e.exponent());
+ }, i1.apply(e, arguments);
}
-function iKe() {
- return I0.apply(null, arguments).exponent(.5);
+function oKe() {
+ return F0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function aKe() {
- var e = [], t = N1;
+function sKe() {
+ var e = [], t = M1;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((J$(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((q$(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(K$), n;
+ return e.sort(G$), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => RHe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => BHe(e, r / t));
}, n.copy = function() {
- return aKe(t).domain(e);
- }, a1.apply(n, arguments);
+ return sKe(t).domain(e);
+ }, i1.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function L0() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = N1, u, d = !1, f;
+function I0() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = M1, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -82598,7 +82606,7 @@ function L0() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = wUe(e, [
+ return arguments.length ? ([n, r, i] = t, l = EUe(e, [
n,
r,
i
@@ -82609,122 +82617,122 @@ function L0() {
];
};
}
- return p.range = m(A1), p.rangeRound = m(j1), p.unknown = function(e) {
+ return p.range = m(k1), p.rangeRound = m(A1), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function oKe() {
- var e = G1(L0()(N1));
+function cKe() {
+ var e = W1(I0()(M1));
return e.copy = function() {
- return F0(e, oKe());
- }, a1.apply(e, arguments);
+ return P0(e, cKe());
+ }, i1.apply(e, arguments);
}
-function sKe() {
- var e = K1(L0()).domain([
+function lKe() {
+ var e = G1(I0()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return F0(e, sKe()).base(e.base());
- }, a1.apply(e, arguments);
+ return P0(e, lKe()).base(e.base());
+ }, i1.apply(e, arguments);
}
-function cKe() {
- var e = q1(L0());
+function uKe() {
+ var e = K1(I0());
return e.copy = function() {
- return F0(e, cKe()).constant(e.constant());
- }, a1.apply(e, arguments);
+ return P0(e, uKe()).constant(e.constant());
+ }, i1.apply(e, arguments);
}
-function R0() {
- var e = J1(L0());
+function L0() {
+ var e = q1(I0());
return e.copy = function() {
- return F0(e, R0()).exponent(e.exponent());
- }, a1.apply(e, arguments);
+ return P0(e, L0()).exponent(e.exponent());
+ }, i1.apply(e, arguments);
}
-function lKe() {
- return R0.apply(null, arguments).exponent(.5);
+function dKe() {
+ return L0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var uKe = /* @__PURE__ */ s({
- scaleBand: () => c1,
- scaleDiverging: () => oKe,
- scaleDivergingLog: () => sKe,
- scaleDivergingPow: () => R0,
- scaleDivergingSqrt: () => lKe,
- scaleDivergingSymlog: () => cKe,
- scaleIdentity: () => YUe,
- scaleImplicit: () => o1,
- scaleLinear: () => JUe,
- scaleLog: () => aWe,
- scaleOrdinal: () => s1,
- scalePoint: () => HHe,
- scalePow: () => Y1,
- scaleQuantile: () => gWe,
- scaleQuantize: () => _We,
- scaleRadial: () => hWe,
- scaleSequential: () => tKe,
- scaleSequentialLog: () => nKe,
- scaleSequentialPow: () => I0,
- scaleSequentialQuantile: () => aKe,
- scaleSequentialSqrt: () => iKe,
- scaleSequentialSymlog: () => rKe,
- scaleSqrt: () => fWe,
- scaleSymlog: () => cWe,
- scaleThreshold: () => vWe,
- scaleTime: () => $Ge,
- scaleUtc: () => eKe,
- tickFormat: () => qUe
+var fKe = /* @__PURE__ */ s({
+ scaleBand: () => s1,
+ scaleDiverging: () => cKe,
+ scaleDivergingLog: () => lKe,
+ scaleDivergingPow: () => L0,
+ scaleDivergingSqrt: () => dKe,
+ scaleDivergingSymlog: () => uKe,
+ scaleIdentity: () => ZUe,
+ scaleImplicit: () => a1,
+ scaleLinear: () => XUe,
+ scaleLog: () => sWe,
+ scaleOrdinal: () => o1,
+ scalePoint: () => WHe,
+ scalePow: () => J1,
+ scaleQuantile: () => vWe,
+ scaleQuantize: () => yWe,
+ scaleRadial: () => _We,
+ scaleSequential: () => rKe,
+ scaleSequentialLog: () => iKe,
+ scaleSequentialPow: () => F0,
+ scaleSequentialQuantile: () => sKe,
+ scaleSequentialSqrt: () => oKe,
+ scaleSequentialSymlog: () => aKe,
+ scaleSqrt: () => mWe,
+ scaleSymlog: () => uWe,
+ scaleThreshold: () => bWe,
+ scaleTime: () => tKe,
+ scaleUtc: () => nKe,
+ tickFormat: () => YUe
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function dKe(e) {
- var t = uKe;
+function pKe(e) {
+ var t = fKe;
if (e in t && typeof t[e] == "function") return t[e]();
var n = `scale${PK(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
-function fKe(e, t, n) {
+function mKe(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = dKe(e);
+ var r = pKe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function z0(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? fKe(e.scale, n, r) : fKe(t, n, r);
+function R0(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? mKe(e.scale, n, r) : mKe(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function pKe(e) {
+function hKe(e) {
return `scale${PK(e)}`;
}
-function mKe(e) {
- return pKe(e) in uKe;
+function gKe(e) {
+ return hKe(e) in fKe;
}
-var hKe = (e, t, n) => {
+var _Ke = (e, t, n) => {
if (e != null) {
var r = e.scale, i = e.type;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return mKe(r) ? r : "point";
+ if (typeof r == "string") return gKe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function gKe(e, t) {
+function vKe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function _Ke(e, t) {
+function yKe(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = gKe(r, e);
+ var t = vKe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -82734,12 +82742,12 @@ function _Ke(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function vKe(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : _Ke(e, void 0);
+function bKe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : yKe(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function yKe(e, t) {
+function xKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82749,30 +82757,30 @@ function yKe(e, t) {
}
return n;
}
-function B0(e) {
+function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yKe(Object(n), !0).forEach(function(t) {
- bKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yKe(Object(n)).forEach(function(t) {
+ t % 2 ? xKe(Object(n), !0).forEach(function(t) {
+ SKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bKe(e, t, n) {
- return (t = xKe(t)) in e ? Object.defineProperty(e, t, {
+function SKe(e, t, n) {
+ return (t = CKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xKe(e) {
- var t = SKe(e, "string");
+function CKe(e) {
+ var t = wKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SKe(e, t) {
+function wKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82782,25 +82790,25 @@ function SKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function CKe(e, t) {
- return OKe(e) || DKe(e, t) || TKe(e, t) || wKe();
+function TKe(e, t) {
+ return AKe(e) || kKe(e, t) || DKe(e, t) || EKe();
}
-function wKe() {
+function EKe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function TKe(e, t) {
+function DKe(e, t) {
if (e) {
- if (typeof e == "string") return EKe(e, t);
+ if (typeof e == "string") return OKe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? EKe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? OKe(e, t) : void 0;
}
}
-function EKe(e, t) {
+function OKe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function DKe(e, t) {
+function kKe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82821,10 +82829,10 @@ function DKe(e, t) {
return s;
}
}
-function OKe(e) {
+function AKe(e) {
if (Array.isArray(e)) return e;
}
-var V0 = [0, "auto"], H0 = {
+var B0 = [0, "auto"], V0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -82853,13 +82861,13 @@ var V0 = [0, "auto"], H0 = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, kKe = (e, t) => e.cartesianAxis.xAxis[t], U0 = (e, t) => kKe(e, t) ?? H0, W0 = {
+}, jKe = (e, t) => e.cartesianAxis.xAxis[t], H0 = (e, t) => jKe(e, t) ?? V0, U0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: V0,
+ domain: B0,
hide: !0,
id: 0,
includeHidden: !1,
@@ -82882,7 +82890,7 @@ var V0 = [0, "auto"], H0 = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, AKe = (e, t) => e.cartesianAxis.yAxis[t], G0 = (e, t) => AKe(e, t) ?? W0, jKe = {
+}, MKe = (e, t) => e.cartesianAxis.yAxis[t], W0 = (e, t) => MKe(e, t) ?? U0, NKe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -82895,31 +82903,31 @@ var V0 = [0, "auto"], H0 = {
scale: "auto",
type: "number",
unit: ""
-}, K0 = (e, t) => e.cartesianAxis.zAxis[t] ?? jKe, q0 = (e, t, n) => {
+}, G0 = (e, t) => e.cartesianAxis.zAxis[t] ?? NKe, K0 = (e, t, n) => {
switch (t) {
- case "xAxis": return U0(e, n);
- case "yAxis": return G0(e, n);
- case "zAxis": return K0(e, n);
- case "angleAxis": return j$(e, n);
- case "radiusAxis": return M$(e, n);
+ case "xAxis": return H0(e, n);
+ case "yAxis": return W0(e, n);
+ case "zAxis": return G0(e, n);
+ case "angleAxis": return A$(e, n);
+ case "radiusAxis": return j$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, MKe = (e, t, n) => {
+}, PKe = (e, t, n) => {
switch (t) {
- case "xAxis": return U0(e, n);
- case "yAxis": return G0(e, n);
+ case "xAxis": return H0(e, n);
+ case "yAxis": return W0(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, J0 = (e, t, n) => {
+}, q0 = (e, t, n) => {
switch (t) {
- case "xAxis": return U0(e, n);
- case "yAxis": return G0(e, n);
- case "angleAxis": return j$(e, n);
- case "radiusAxis": return M$(e, n);
+ case "xAxis": return H0(e, n);
+ case "yAxis": return W0(e, n);
+ case "angleAxis": return A$(e, n);
+ case "radiusAxis": return j$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, NKe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function Y0(e, t) {
+}, FKe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function J0(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -82931,254 +82939,254 @@ function Y0(e, t) {
}
};
}
-var X0 = (e) => e.graphicalItems.cartesianItems, PKe = Y([I$, L$], Y0), Z0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), Q0 = Y([
- X0,
- q0,
- PKe
-], Z0, { memoizeOptions: { resultEqualityCheck: H$ } }), FKe = Y([Q0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(B$)), IKe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), LKe = Y([Q0], IKe), $0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), RKe = Y([Q0], (e) => e.some((e) => !e.data)), zKe = Y([Q0], $0, { memoizeOptions: { resultEqualityCheck: H$ } }), e2 = (e, t) => {
+var Y0 = (e) => e.graphicalItems.cartesianItems, IKe = Y([F$, I$], J0), X0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), Z0 = Y([
+ Y0,
+ K0,
+ IKe
+], X0, { memoizeOptions: { resultEqualityCheck: V$ } }), LKe = Y([Z0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(z$)), RKe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), zKe = Y([Z0], RKe), Q0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), BKe = Y([Z0], (e) => e.some((e) => !e.data)), VKe = Y([Z0], Q0, { memoizeOptions: { resultEqualityCheck: V$ } }), $0 = (e, t) => {
var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;
return e.length > 0 ? e : r.slice(i, a + 1);
-}, t2 = Y([zKe, f$], e2), BKe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: oZ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: oZ(e, t.dataKey) })), VKe = (e, t, n, r, i, a) => {
- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = BKe(e, t, n);
+}, e2 = Y([VKe, d$], $0), HKe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: oZ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: oZ(e, t.dataKey) })), UKe = (e, t, n, r, i, a) => {
+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = HKe(e, t, n);
return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: oZ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
-}, n2 = Y([
- t2,
- q0,
- Q0,
- f$,
- RKe,
- zKe
-], VKe);
-function r2(e) {
+}, t2 = Y([
+ e2,
+ K0,
+ Z0,
+ d$,
+ BKe,
+ VKe
+], UKe);
+function n2(e) {
if (DK(e) || e instanceof Date) {
var t = Number(e);
if (nZ(t)) return t;
}
}
-function HKe(e) {
+function WKe(e) {
if (Array.isArray(e)) {
- var t = [r2(e[0]), r2(e[1])];
- return m$(t) ? t : void 0;
+ var t = [n2(e[0]), n2(e[1])];
+ return p$(t) ? t : void 0;
}
- var n = r2(e);
+ var n = n2(e);
if (n != null) return [n, n];
}
-function i2(e) {
- return e.map(r2).filter(FK);
+function r2(e) {
+ return e.map(n2).filter(FK);
}
-function UKe(e, t) {
- var n = r2(e), r = r2(t);
+function GKe(e, t) {
+ var n = n2(e), r = n2(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var WKe = Y([n2], (e) => e?.map((e) => e.value).sort(UKe));
-function GKe(e, t) {
+var KKe = Y([t2], (e) => e?.map((e) => e.value).sort(GKe));
+function qKe(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function KKe(e, t, n) {
+function JKe(e, t, n) {
if (!n || !n.length) return [];
var r;
if (typeof t == "number" && !wK(t)) r = t;
else if (Array.isArray(t)) {
- var i = i2(t);
+ var i = r2(t);
i.length > 0 && (r = Math.max(...i));
}
- return r == null ? [] : i2(n.flatMap((t) => {
+ return r == null ? [] : r2(n.flatMap((t) => {
var n = oZ(e, t.dataKey), i, a;
if (Array.isArray(n)) {
- var o = CKe(n, 2);
+ var o = TKe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
if (nZ(i) && nZ(a)) return [r - i, r + a];
}));
}
-var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), qKe = Y([
- FKe,
- f$,
- a2
-], z$), s2 = (e, t, n, r) => {
+var i2 = (e) => q0(e, H$(e), U$(e)), a2 = Y([i2], (e) => e?.dataKey), YKe = Y([
+ LKe,
+ d$,
+ i2
+], R$), o2 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, {});
return Object.fromEntries(Object.entries(i).map((t) => {
- var i = CKe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
+ var i = TKe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: qLe(e, s.map(R$), n),
+ stackedData: JLe(e, s.map(L$), n),
graphicalItems: s
}];
}));
-}, c2 = Y([
- qKe,
- FKe,
- b$,
- x$
-], s2), JKe = (e, t, n, r) => {
+}, s2 = Y([
+ YKe,
+ LKe,
+ y$,
+ b$
+], o2), XKe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return XLe(e, i, a);
-}, YKe = Y([q0], (e) => e.allowDataOverflow), l2 = (e) => {
- if (e == null || !("domain" in e)) return V0;
+ if (r == null && n !== "zAxis") return ZLe(e, i, a);
+}, ZKe = Y([K0], (e) => e.allowDataOverflow), c2 = (e) => {
+ if (e == null || !("domain" in e)) return B0;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
if (e.type === "number") {
- var t = i2(e.ticks);
+ var t = r2(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? V0;
-}, u2 = Y([q0], l2), d2 = Y([u2, YKe], JVe), XKe = Y([
- c2,
- u$,
- I$,
- d2
-], JKe, { memoizeOptions: { resultEqualityCheck: V$ } }), f2 = (e) => e.errorBars, ZKe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => GKe(n, e)), p2 = function() {
+ return e?.domain ?? B0;
+}, l2 = Y([K0], c2), u2 = Y([l2, ZKe], XVe), QKe = Y([
+ s2,
+ l$,
+ F$,
+ u2
+], XKe, { memoizeOptions: { resultEqualityCheck: B$ } }), d2 = (e) => e.errorBars, $Ke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => qKe(n, e)), f2 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
return [Math.min(...t), Math.max(...t)];
}
-}, m2 = function(e, t, n, r, i) {
+}, p2 = function(e, t, n, r, i) {
var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;
if (n.length > 0 && n.forEach((e) => {
- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => GKe(i, e));
+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => qKe(i, e));
n.forEach((n) => {
- var r = oZ(n, t.dataKey ?? e.dataKey), i = KKe(n, r, c);
+ var r = oZ(n, t.dataKey ?? e.dataKey), i = JKe(n, r, c);
if (i.length >= 2) {
var a = Math.min(...i), l = Math.max(...i);
(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);
}
- var u = HKe(r);
+ var u = WKe(r);
u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));
});
}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {
- var n = HKe(oZ(e, t.dataKey));
+ var n = WKe(oZ(e, t.dataKey));
n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));
}), nZ(o) && nZ(s)) return [o, s];
-}, QKe = Y([
- t2,
- q0,
- LKe,
- f2,
- I$,
- zVe
-], m2, { memoizeOptions: { resultEqualityCheck: V$ } });
-function $Ke(e) {
+}, eqe = Y([
+ e2,
+ K0,
+ zKe,
+ d2,
+ F$,
+ VVe
+], p2, { memoizeOptions: { resultEqualityCheck: B$ } });
+function tqe(e) {
var t = e.value;
if (DK(t) || t instanceof Date) return t;
}
-var eqe = (e, t, n) => {
- var r = e.map($Ke).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && AK(r)) ? LVe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, tqe = (e) => e.referenceElements.dots, h2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), nqe = Y([
- tqe,
- I$,
- L$
-], h2), rqe = (e) => e.referenceElements.areas, iqe = Y([
+var nqe = (e, t, n) => {
+ var r = e.map(tqe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && AK(r)) ? zVe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, rqe = (e) => e.referenceElements.dots, m2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), iqe = Y([
rqe,
- I$,
- L$
-], h2), aqe = (e) => e.referenceElements.lines, oqe = Y([
+ F$,
+ I$
+], m2), aqe = (e) => e.referenceElements.areas, oqe = Y([
aqe,
- I$,
- L$
-], h2), sqe = (e, t) => {
+ F$,
+ I$
+], m2), sqe = (e) => e.referenceElements.lines, cqe = Y([
+ sqe,
+ F$,
+ I$
+], m2), lqe = (e, t) => {
if (e != null) {
- var n = i2(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = r2(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, cqe = Y(nqe, I$, sqe), lqe = (e, t) => {
+}, uqe = Y(iqe, F$, lqe), dqe = (e, t) => {
if (e != null) {
- var n = i2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ var n = r2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, uqe = Y([iqe, I$], lqe);
-function dqe(e) {
- if (e.x != null) return i2([e.x]);
+}, fqe = Y([oqe, F$], dqe);
+function pqe(e) {
+ if (e.x != null) return r2([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : i2(t);
+ return t == null || t.length === 0 ? [] : r2(t);
}
-function fqe(e) {
- if (e.y != null) return i2([e.y]);
+function mqe(e) {
+ if (e.y != null) return r2([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : i2(t);
+ return t == null || t.length === 0 ? [] : r2(t);
}
-var pqe = (e, t) => {
+var hqe = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? dqe(e) : fqe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? pqe(e) : mqe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, mqe = Y(cqe, Y([oqe, I$], pqe), uqe, (e, t, n) => p2(e, n, t)), g2 = (e, t, n, r, i, a, o, s, c) => {
+}, gqe = Y(uqe, Y([cqe, F$], hqe), fqe, (e, t, n) => f2(e, n, t)), h2 = (e, t, n, r, i, a, o, s, c) => {
if (n != null) return n;
- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? p2(r, a, i) : p2(a, i), u = YVe(t, l, e.allowDataOverflow);
+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? f2(r, a, i) : f2(a, i), u = ZVe(t, l, e.allowDataOverflow);
return u == null && e.allowDataOverflow && l == null && c != null ? c : u;
-}, hqe = Y([
- q0,
+}, _qe = Y([
+ K0,
+ l2,
u2,
- d2,
- XKe,
QKe,
- mqe,
+ eqe,
+ gqe,
JZ,
- I$,
- Y([q0], (e) => {
+ F$,
+ Y([K0], (e) => {
if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {
- var t = i2(e.ticks);
+ var t = r2(e.ticks);
if (t.length !== 0) return [Math.min(...t), Math.max(...t)];
}
- }, { memoizeOptions: { resultEqualityCheck: V$ } })
-], g2, { memoizeOptions: { resultEqualityCheck: V$ } }), gqe = [0, 1], _2 = (e, t, n, r, i, a, o) => {
+ }, { memoizeOptions: { resultEqualityCheck: B$ } })
+], h2, { memoizeOptions: { resultEqualityCheck: B$ } }), vqe = [0, 1], g2 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
var s = e.dataKey, c = e.type, l = sZ(t, a);
- return l && s == null ? LVe(0, n?.length ?? 0) : c === "category" ? eqe(r, e, l) : i === "expand" && !l ? gqe : o;
+ return l && s == null ? zVe(0, n?.length ?? 0) : c === "category" ? nqe(r, e, l) : i === "expand" && !l ? vqe : o;
}
-}, v2 = Y([
- q0,
+}, _2 = Y([
+ K0,
JZ,
+ e2,
t2,
- n2,
- b$,
- I$,
- hqe
-], _2), y2 = Y([
- q0,
- NKe,
- S$
-], hKe), b2 = (e, t, n) => {
+ y$,
+ F$,
+ _qe
+], g2), v2 = Y([
+ K0,
+ FKe,
+ x$
+], _Ke), y2 = (e, t, n) => {
var r = t.niceTicks;
if (r !== "none") {
- var i = l2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && m$(e)) {
- if (a) return sHe(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return cHe(e, t.tickCount, t.allowDecimals, r);
+ var i = c2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && p$(e)) {
+ if (a) return lHe(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return uHe(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && m$(e)) return sHe(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && m$(e)) return cHe(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && p$(e)) return lHe(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && p$(e)) return uHe(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, x2 = Y([
- v2,
- J0,
- y2
-], b2), S2 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && m$(t) && Array.isArray(n) && n.length > 0) {
+}, b2 = Y([
+ _2,
+ q0,
+ v2
+], y2), x2 = (e, t, n, r) => {
+ if (r !== "angleAxis" && e?.type === "number" && p$(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, _qe = Y([
- q0,
- v2,
- x2,
- I$
-], S2), vqe = Y(Y(n2, q0, (e, t) => {
+}, yqe = Y([
+ K0,
+ _2,
+ b2,
+ F$
+], x2), bqe = Y(Y(t2, K0, (e, t) => {
if (t && t.type === "number") {
- var n = Infinity, r = Array.from(i2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(r2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
var o = a - i;
if (o === 0) return Infinity;
@@ -83191,7 +83199,7 @@ var pqe = (e, t) => {
}
return n / o;
}
-}), JZ, y$, DZ, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+}), JZ, v$, DZ, (e, t, n, r, i) => i, (e, t, n, r, i) => {
if (!nZ(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
@@ -83200,13 +83208,13 @@ var pqe = (e, t) => {
return s - o - (s - o) / a * o;
}
return 0;
-}), yqe = (e, t, n) => {
- var r = U0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : vqe(e, "xAxis", t, n, r.padding);
-}, bqe = (e, t, n) => {
- var r = G0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : vqe(e, "yAxis", t, n, r.padding);
-}, xqe = Y(U0, yqe, (e, t) => {
+}), xqe = (e, t, n) => {
+ var r = H0(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : bqe(e, "xAxis", t, n, r.padding);
+}, Sqe = (e, t, n) => {
+ var r = W0(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : bqe(e, "yAxis", t, n, r.padding);
+}, Cqe = Y(H0, xqe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -83219,7 +83227,7 @@ var pqe = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), Sqe = Y(G0, bqe, (e, t) => {
+}), wqe = Y(W0, Sqe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -83232,101 +83240,101 @@ var pqe = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), Cqe = Y([
+}), Tqe = Y([
DZ,
- xqe,
+ Cqe,
MZ,
jZ,
(e, t, n) => n
], (e, t, n, r, i) => {
var a = r.padding;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), wqe = Y([
+}), Eqe = Y([
DZ,
JZ,
- Sqe,
+ wqe,
MZ,
jZ,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var o = i.padding;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
-}), C2 = (e, t, n, r) => {
+}), S2 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return Cqe(e, n, r);
- case "yAxis": return wqe(e, n, r);
- case "zAxis": return K0(e, n)?.range;
- case "angleAxis": return xHe(e);
- case "radiusAxis": return CHe(e, n);
+ case "xAxis": return Tqe(e, n, r);
+ case "yAxis": return Eqe(e, n, r);
+ case "zAxis": return G0(e, n)?.range;
+ case "angleAxis": return CHe(e);
+ case "radiusAxis": return THe(e, n);
default: return;
}
-}, Tqe = Y([q0, C2], O$), w2 = Y([
- q0,
- y2,
- Y([y2, _qe], EHe),
- Tqe
-], z0), T2 = (e, t, n, r) => {
+}, Dqe = Y([K0, S2], D$), C2 = Y([
+ K0,
+ v2,
+ Y([v2, yqe], OHe),
+ Dqe
+], R0), w2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
if (sZ(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
-}, E2 = Y([
+}, T2 = Y([
JZ,
- n2,
- J0,
- I$
-], T2), D2 = Y([w2], G$);
-Y([w2], vKe), Y([w2, WKe], _Ke), Y([
- Q0,
- f2,
- I$
-], ZKe);
-function Eqe(e, t) {
+ t2,
+ q0,
+ F$
+], w2), E2 = Y([C2], W$);
+Y([C2], bKe), Y([C2, KKe], yKe), Y([
+ Z0,
+ d2,
+ F$
+], $Ke);
+function Oqe(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var O2 = (e, t) => t, k2 = (e, t, n) => n, Dqe = Y(CZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Eqe)), Oqe = Y(wZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Eqe)), kqe = (e, t) => {
+var D2 = (e, t) => t, O2 = (e, t, n) => n, kqe = Y(CZ, D2, O2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Oqe)), Aqe = Y(wZ, D2, O2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Oqe)), jqe = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
height: n
};
-}, Aqe = (e, t) => ({
+}, Mqe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), jqe = Y(DZ, U0, kqe), Mqe = (e, t, n) => {
+}), Nqe = Y(DZ, H0, jqe), Pqe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Nqe = (e, t, n) => {
+}, Fqe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, Pqe = Y(xZ, DZ, Dqe, O2, k2, (e, t, n, r, i) => {
+}, Iqe = Y(xZ, DZ, kqe, D2, O2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = kqe(t, n);
- o ??= Mqe(t, r, e);
+ var s = jqe(t, n);
+ o ??= Pqe(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), Fqe = Y(bZ, DZ, Oqe, O2, k2, (e, t, n, r, i) => {
+}), Lqe = Y(bZ, DZ, Aqe, D2, O2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = Aqe(t, n);
- o ??= Nqe(t, r, e);
+ var s = Mqe(t, n);
+ o ??= Fqe(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), Iqe = Y([
+}), Rqe = Y([
DZ,
- U0,
+ H0,
(e, t) => {
- var n = U0(e, t);
- if (n != null) return Pqe(e, n.orientation, n.mirror);
+ var n = H0(e, t);
+ if (n != null) return Iqe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -83340,12 +83348,12 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Dqe = Y(CZ, O2, k2, (e, t, n) => e.fi
y: i
};
}
-}), Lqe = Y([
+}), zqe = Y([
DZ,
- G0,
+ W0,
(e, t) => {
- var n = G0(e, t);
- if (n != null) return Fqe(e, n.orientation, n.mirror);
+ var n = W0(e, t);
+ if (n != null) return Lqe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -83359,35 +83367,35 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Dqe = Y(CZ, O2, k2, (e, t, n) => e.fi
y: e.top
};
}
-}), Rqe = Y(DZ, G0, (e, t) => ({
+}), Bqe = Y(DZ, W0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), zqe = (e, t, n) => {
+})), Vqe = (e, t, n) => {
switch (t) {
- case "xAxis": return jqe(e, n).width;
- case "yAxis": return Rqe(e, n).height;
+ case "xAxis": return Nqe(e, n).width;
+ case "yAxis": return Bqe(e, n).height;
default: return;
}
-}, Bqe = (e, t, n, r) => {
+}, Hqe = (e, t, n, r) => {
if (n != null) {
var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = sZ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
if (o && s && a === "category" && i && AK(l)) return c;
}
-}, A2 = Y([
+}, k2 = Y([
JZ,
- n2,
- q0,
- I$
-], Bqe), Vqe = Y([
+ t2,
+ K0,
+ F$
+], Hqe), Uqe = Y([
JZ,
- MKe,
- y2,
- D2,
- A2,
+ PKe,
+ v2,
E2,
- C2,
- x2,
- I$
+ k2,
+ T2,
+ S2,
+ b2,
+ F$
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
var l = sZ(e, c);
@@ -83412,7 +83420,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Dqe = Y(CZ, O2, k2, (e, t, n) => e.fi
scale: r
};
}
-}), Hqe = (e, t, n, r, i, a, o, s, c) => {
+}), Wqe = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = sZ(e, c), u = t.type, d = t.ticks, f = t.tickCount, 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 ? CK(a[0] - a[1]) * 2 * m : m;
@@ -83451,17 +83459,17 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Dqe = Y(CZ, O2, k2, (e, t, n) => e.fi
} : null;
}).filter(FK);
}
-}, Uqe = Y([
+}, Gqe = Y([
JZ,
- J0,
- y2,
- D2,
- x2,
- C2,
- A2,
+ q0,
+ v2,
E2,
- I$
-], Hqe), Wqe = (e, t, n, r, i, a, o) => {
+ b2,
+ S2,
+ k2,
+ T2,
+ F$
+], Wqe), Kqe = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = sZ(e, o), c = t.tickCount, l = 0;
return l = o === "angleAxis" && r?.length >= 2 ? CK(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
@@ -83490,26 +83498,26 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Dqe = Y(CZ, O2, k2, (e, t, n) => e.fi
} : null;
}).filter(FK);
}
-}, j2 = Y([
+}, A2 = Y([
JZ,
- J0,
- D2,
- C2,
- A2,
+ q0,
E2,
- I$
-], Wqe), M2 = Y(q0, D2, (e, t) => {
- if (e != null && t != null) return B0(B0({}, e), {}, { scale: t });
+ S2,
+ k2,
+ T2,
+ F$
+], Kqe), j2 = Y(K0, E2, (e, t) => {
+ if (e != null && t != null) return z0(z0({}, e), {}, { scale: t });
});
-Y((e, t, n) => K0(e, n), Y([Y([
- q0,
- y2,
+Y((e, t, n) => G0(e, n), Y([Y([
+ K0,
v2,
- Tqe
-], z0)], G$), (e, t) => {
- if (e != null && t != null) return B0(B0({}, e), {}, { scale: t });
+ _2,
+ Dqe
+], R0)], W$), (e, t) => {
+ if (e != null && t != null) return z0(z0({}, e), {}, { scale: t });
});
-var Gqe = Y([
+var qqe = Y([
JZ,
CZ,
wZ
@@ -83534,41 +83542,41 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var Kqe = (e) => e.options.defaultTooltipEventType, qqe = (e) => e.options.validateTooltipEventTypes;
-function Jqe(e, t, n) {
+var Jqe = (e) => e.options.defaultTooltipEventType, Yqe = (e) => e.options.validateTooltipEventTypes;
+function Xqe(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function N2(e, t) {
- return Jqe(t, Kqe(e), qqe(e));
+function M2(e, t) {
+ return Xqe(t, Jqe(e), Yqe(e));
}
-function Yqe(e) {
- return J((t) => N2(t, e));
+function Zqe(e) {
+ return J((t) => M2(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var Xqe = (e, t) => {
+var Qqe = (e, t) => {
var n, r = Number(t);
if (!(wK(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Zqe = (e) => e.tooltip.settings, P2 = {
+}, $qe = (e) => e.tooltip.settings, N2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, Qqe = EX({
+}, eJe = EX({
name: "tooltip",
initialState: {
itemInteraction: {
- click: P2,
- hover: P2
+ click: N2,
+ hover: N2
},
axisInteraction: {
- click: P2,
- hover: P2
+ click: N2,
+ hover: N2
},
- keyboardInteraction: P2,
+ keyboardInteraction: N2,
syncInteraction: {
active: !1,
index: null,
@@ -83636,10 +83644,10 @@ var Xqe = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), F2 = Qqe.actions, $qe = F2.addTooltipEntrySettings, eJe = F2.replaceTooltipEntrySettings, tJe = F2.removeTooltipEntrySettings, nJe = F2.setTooltipSettingsState, rJe = F2.setActiveMouseOverItemIndex, iJe = F2.mouseLeaveItem, aJe = F2.mouseLeaveChart, oJe = F2.setActiveClickItemIndex, sJe = F2.setMouseOverAxisIndex, cJe = F2.setMouseClickAxisIndex, I2 = F2.setSyncInteraction, L2 = F2.setKeyboardInteraction, lJe = Qqe.reducer;
+}), P2 = eJe.actions, tJe = P2.addTooltipEntrySettings, nJe = P2.replaceTooltipEntrySettings, rJe = P2.removeTooltipEntrySettings, iJe = P2.setTooltipSettingsState, aJe = P2.setActiveMouseOverItemIndex, oJe = P2.mouseLeaveItem, sJe = P2.mouseLeaveChart, cJe = P2.setActiveClickItemIndex, lJe = P2.setMouseOverAxisIndex, uJe = P2.setMouseClickAxisIndex, F2 = P2.setSyncInteraction, I2 = P2.setKeyboardInteraction, dJe = eJe.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function uJe(e, t) {
+function fJe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83649,30 +83657,30 @@ function uJe(e, t) {
}
return n;
}
-function R2(e) {
+function L2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? uJe(Object(n), !0).forEach(function(t) {
- dJe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uJe(Object(n)).forEach(function(t) {
+ t % 2 ? fJe(Object(n), !0).forEach(function(t) {
+ pJe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fJe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dJe(e, t, n) {
- return (t = fJe(t)) in e ? Object.defineProperty(e, t, {
+function pJe(e, t, n) {
+ return (t = mJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fJe(e) {
- var t = pJe(e, "string");
+function mJe(e) {
+ var t = hJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pJe(e, t) {
+function hJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83682,22 +83690,22 @@ function pJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mJe(e, t, n) {
+function gJe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function hJe(e) {
+function _Je(e) {
return e.index != null;
}
-var gJe = (e, t, n, r) => {
- if (t == null) return P2;
- var i = mJe(e, t, n);
- if (i == null) return P2;
+var vJe = (e, t, n, r) => {
+ if (t == null) return N2;
+ var i = gJe(e, t, n);
+ if (i == null) return N2;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (hJe(i)) {
- if (a) return R2(R2({}, i), {}, { active: !0 });
+ if (_Je(i)) {
+ if (a) return L2(L2({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -83705,11 +83713,11 @@ var gJe = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return R2(R2({}, P2), {}, { coordinate: i.coordinate });
+ return L2(L2({}, N2), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function _Je(e) {
+function yJe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -83718,16 +83726,16 @@ function _Je(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function vJe(e, t) {
- var n = _Je(e), r = t[0], i = t[1];
+function bJe(e, t) {
+ var n = yJe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function yJe(e, t, n) {
+function xJe(e, t, n) {
if (n == null || t == null) return !0;
var r = oZ(e, t);
- return r == null || !m$(n) || vJe(r, n);
+ return r == null || !p$(n) || bJe(r, n);
}
-var z2 = (e, t, n, r) => {
+var R2 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
@@ -83735,8 +83743,8 @@ var z2 = (e, t, n, r) => {
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || yJe(l, n, r) ? String(c) : null;
-}, bJe = (e, t, n, r, i, a, o) => {
+ return l == null || xJe(l, n, r) ? String(c) : null;
+}, SJe = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -83752,7 +83760,7 @@ var z2 = (e, t, n, r) => {
};
}
}
-}, xJe = (e, t, n, r) => {
+}, CJe = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -83762,10 +83770,10 @@ var z2 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, SJe = (e) => e.options.tooltipPayloadSearcher, B2 = (e) => e.tooltip;
+}, wJe = (e) => e.options.tooltipPayloadSearcher, z2 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function CJe(e, t) {
+function TJe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83775,30 +83783,30 @@ function CJe(e, t) {
}
return n;
}
-function wJe(e) {
+function EJe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? CJe(Object(n), !0).forEach(function(t) {
- TJe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CJe(Object(n)).forEach(function(t) {
+ t % 2 ? TJe(Object(n), !0).forEach(function(t) {
+ DJe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TJe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TJe(e, t, n) {
- return (t = EJe(t)) in e ? Object.defineProperty(e, t, {
+function DJe(e, t, n) {
+ return (t = OJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EJe(e) {
- var t = DJe(e, "string");
+function OJe(e) {
+ var t = kJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DJe(e, t) {
+function kJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83808,39 +83816,39 @@ function DJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function OJe(e) {
+function AJe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function kJe(e) {
+function jJe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function AJe(e) {
+function MJe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function jJe(e) {
+function NJe(e) {
if (typeof e == "string") return e;
}
-function MJe(e) {
+function PJe(e) {
if (typeof e == "object" && e) return {
- name: "name" in e ? OJe(e.name) : void 0,
- unit: "unit" in e ? kJe(e.unit) : void 0,
- dataKey: "dataKey" in e ? AJe(e.dataKey) : void 0,
+ name: "name" in e ? AJe(e.name) : void 0,
+ unit: "unit" in e ? jJe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? MJe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? jJe(e.color) : void 0,
- fill: "fill" in e ? jJe(e.fill) : void 0
+ color: "color" in e ? NJe(e.color) : void 0,
+ fill: "fill" in e ? NJe(e.fill) : void 0
};
}
-function NJe(e, t) {
+function FJe(e, t) {
return e ?? t;
}
-var PJe = (e, t, n, r, i, a, o) => {
+var IJe = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
- var d = n.dataDefinedOnItem, f = n.settings, p = NJe(d, s), m = Array.isArray(p) ? tZ(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ var d = n.dataDefinedOnItem, f = n.settings, p = FJe(d, s), m = Array.isArray(p) ? tZ(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = MK(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
- var n = MJe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = wJe(wJe({}, f), {}, {
+ var n = PJe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = EJe(EJe({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
@@ -83862,108 +83870,108 @@ var PJe = (e, t, n, r, i, a, o) => {
})), e;
}, []);
}
-}, V2 = Y([
- a2,
- NKe,
- S$
-], hKe), H2 = Y([
+}, B2 = Y([
+ i2,
+ FKe,
+ x$
+], _Ke), V2 = Y([
Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- a2,
- Y([U$, W$], Y0)
-], Z0, { memoizeOptions: { resultEqualityCheck: H$ } }), FJe = Y([H2], (e) => e.filter(B$)), IJe = Y([H2], $0, { memoizeOptions: { resultEqualityCheck: H$ } }), LJe = Y([H2], (e) => e.some((e) => !e.data)), U2 = Y([IJe, u$], e2), RJe = Y([
- FJe,
- u$,
- a2
-], z$), W2 = Y([
- U2,
- a2,
- H2,
- u$,
+ i2,
+ Y([H$, U$], J0)
+], X0, { memoizeOptions: { resultEqualityCheck: V$ } }), LJe = Y([V2], (e) => e.filter(z$)), RJe = Y([V2], Q0, { memoizeOptions: { resultEqualityCheck: V$ } }), zJe = Y([V2], (e) => e.some((e) => !e.data)), H2 = Y([RJe, l$], $0), BJe = Y([
LJe,
- IJe
-], VKe), zJe = Y([a2], l2), BJe = Y([zJe, Y([a2], (e) => e.allowDataOverflow)], JVe), VJe = Y([
+ l$,
+ i2
+], R$), U2 = Y([
+ H2,
+ i2,
+ V2,
+ l$,
+ zJe,
+ RJe
+], UKe), VJe = Y([i2], c2), HJe = Y([VJe, Y([i2], (e) => e.allowDataOverflow)], XVe), UJe = Y([
Y([
- RJe,
- Y([H2], (e) => e.filter(B$)),
- b$,
- x$
- ], s2),
- u$,
- U$,
- BJe
-], JKe), HJe = Y([
- U2,
- a2,
- Y([H2], IKe),
- f2,
- U$,
- VVe
-], m2, { memoizeOptions: { resultEqualityCheck: V$ } }), UJe = Y([Y([
- tqe,
- U$,
- W$
-], h2), U$], sqe), WJe = Y([Y([
+ BJe,
+ Y([V2], (e) => e.filter(z$)),
+ y$,
+ b$
+ ], o2),
+ l$,
+ H$,
+ HJe
+], XKe), WJe = Y([
+ H2,
+ i2,
+ Y([V2], RKe),
+ d2,
+ H$,
+ UVe
+], p2, { memoizeOptions: { resultEqualityCheck: B$ } }), GJe = Y([Y([
rqe,
- U$,
- W$
-], h2), U$], lqe), G2 = Y([
- a2,
+ H$,
+ U$
+], m2), H$], lqe), KJe = Y([Y([
+ aqe,
+ H$,
+ U$
+], m2), H$], dqe), W2 = Y([
+ i2,
JZ,
+ H2,
U2,
- W2,
- b$,
- U$,
+ y$,
+ H$,
Y([
- a2,
- zJe,
- BJe,
+ i2,
VJe,
HJe,
+ UJe,
+ WJe,
Y([
- UJe,
+ GJe,
Y([Y([
- aqe,
- U$,
- W$
- ], h2), U$], pqe),
- WJe
- ], p2),
+ sqe,
+ H$,
+ U$
+ ], m2), H$], hqe),
+ KJe
+ ], f2),
JZ,
- U$
- ], g2)
-], _2), GJe = Y([
- a2,
- G2,
+ H$
+ ], h2)
+], g2), qJe = Y([
+ i2,
+ W2,
Y([
- G2,
- a2,
- V2
- ], b2),
- U$
-], S2), KJe = (e) => C2(e, U$(e), W$(e), !1), qJe = Y([a2, KJe], O$), JJe = Y([Y([
- a2,
- V2,
- GJe,
- qJe
-], z0)], G$), K2 = Y([
+ W2,
+ i2,
+ B2
+ ], y2),
+ H$
+], x2), JJe = (e) => S2(e, H$(e), U$(e), !1), YJe = Y([i2, JJe], D$), XJe = Y([Y([
+ i2,
+ B2,
+ qJe,
+ YJe
+], R0)], W$), G2 = Y([
JZ,
- a2,
- V2,
+ i2,
+ B2,
+ XJe,
JJe,
- KJe,
Y([
JZ,
- W2,
- a2,
- U$
- ], Bqe),
+ U2,
+ i2,
+ H$
+ ], Hqe),
Y([
JZ,
- W2,
- a2,
- U$
- ], T2),
- U$
+ U2,
+ i2,
+ H$
+ ], w2),
+ H$
], (e, t, n, r, i, a, o, s) => {
if (t) {
var c = t.type, l = sZ(e, s);
@@ -83988,46 +83996,46 @@ var PJe = (e, t, n, r, i, a, o) => {
}).filter(FK);
}
}
-}), q2 = Y([
- Kqe,
- qqe,
- Zqe
-], (e, t, n) => Jqe(n.shared, e, t)), YJe = (e) => e.tooltip.settings.trigger, J2 = (e) => e.tooltip.settings.defaultIndex, Y2 = Y([
- B2,
- q2,
- YJe,
- J2
-], gJe), X2 = Y([
- Y2,
- U2,
- o2,
- G2
-], z2), XJe = Y([K2, X2], Xqe), ZJe = Y([Y2], (e) => {
+}), K2 = Y([
+ Jqe,
+ Yqe,
+ $qe
+], (e, t, n) => Xqe(n.shared, e, t)), ZJe = (e) => e.tooltip.settings.trigger, q2 = (e) => e.tooltip.settings.defaultIndex, J2 = Y([
+ z2,
+ K2,
+ ZJe,
+ q2
+], vJe), Y2 = Y([
+ J2,
+ H2,
+ a2,
+ W2
+], R2), QJe = Y([G2, Y2], Qqe), $Je = Y([J2], (e) => {
if (e) return e.dataKey;
-}), QJe = Y([Y2], (e) => {
+}), eYe = Y([J2], (e) => {
if (e) return e.graphicalItemId;
-}), $Je = Y([
- B2,
- q2,
- YJe,
- J2
-], xJe), eYe = Y([Y2, Y([
+}), tYe = Y([
+ z2,
+ K2,
+ ZJe,
+ q2
+], CJe), nYe = Y([J2, Y([
bZ,
xZ,
JZ,
DZ,
- K2,
- J2,
- $Je
-], bJe)], (e, t) => e != null && e.coordinate ? e.coordinate : t), tYe = Y([Y2], (e) => e?.active ?? !1), nYe = Y([Y([
- $Je,
- X2,
- u$,
- o2,
- XJe,
- SJe,
- q2
-], PJe)], (e) => {
+ G2,
+ q2,
+ tYe
+], SJe)], (e, t) => e != null && e.coordinate ? e.coordinate : t), rYe = Y([J2], (e) => e?.active ?? !1), iYe = Y([Y([
+ tYe,
+ Y2,
+ l$,
+ a2,
+ QJe,
+ wJe,
+ K2
+], IJe)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -84035,7 +84043,7 @@ var PJe = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function rYe(e, t) {
+function aYe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84045,30 +84053,30 @@ function rYe(e, t) {
}
return n;
}
-function iYe(e) {
+function oYe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rYe(Object(n), !0).forEach(function(t) {
- aYe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rYe(Object(n)).forEach(function(t) {
+ t % 2 ? aYe(Object(n), !0).forEach(function(t) {
+ sYe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aYe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aYe(e, t, n) {
- return (t = oYe(t)) in e ? Object.defineProperty(e, t, {
+function sYe(e, t, n) {
+ return (t = cYe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oYe(e) {
- var t = sYe(e, "string");
+function cYe(e) {
+ var t = lYe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sYe(e, t) {
+function lYe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84078,13 +84086,13 @@ function sYe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cYe = () => J(a2), lYe = () => {
- var e = cYe(), t = J(K2), n = J(JJe);
- return _Z(!e || !n ? void 0 : iYe(iYe({}, e), {}, { scale: n }), t);
+var uYe = () => J(i2), dYe = () => {
+ var e = uYe(), t = J(G2), n = J(XJe);
+ return _Z(!e || !n ? void 0 : oYe(oYe({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function uYe(e, t) {
+function fYe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84094,30 +84102,30 @@ function uYe(e, t) {
}
return n;
}
-function Z2(e) {
+function X2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? uYe(Object(n), !0).forEach(function(t) {
- dYe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uYe(Object(n)).forEach(function(t) {
+ t % 2 ? fYe(Object(n), !0).forEach(function(t) {
+ pYe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fYe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dYe(e, t, n) {
- return (t = fYe(t)) in e ? Object.defineProperty(e, t, {
+function pYe(e, t, n) {
+ return (t = mYe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fYe(e) {
- var t = pYe(e, "string");
+function mYe(e) {
+ var t = hYe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pYe(e, t) {
+function hYe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84127,7 +84135,7 @@ function pYe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mYe = (e, t, n, r) => {
+var gYe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -84143,18 +84151,18 @@ var mYe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, hYe = (e, t, n, r) => {
+}, _Ye = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, o = r.radius;
- return Z2(Z2(Z2({}, r), i$(r.cx, r.cy, o, a)), {}, {
+ return X2(X2(X2({}, r), r$(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, c = r.angle;
- return Z2(Z2(Z2({}, r), i$(r.cx, r.cy, s, c)), {}, {
+ return X2(X2(X2({}, r), r$(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -84173,11 +84181,11 @@ var mYe = (e, t, n, r) => {
y: 0
};
};
-function gYe(e, t) {
+function vYe(e, t) {
var n = e.relativeX, r = e.relativeY;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var _Ye = (e, t, n, r, i) => {
+var yYe = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [
@@ -84214,78 +84222,78 @@ var _Ye = (e, t, n, r, i) => {
}
}
return -1;
-}, vYe = () => J(S$), Q2 = (e, t) => t, yYe = (e, t, n) => n, $2 = (e, t, n, r) => r, bYe = Y(K2, (e) => GJ(e, (e) => e.coordinate)), e4 = Y([
- B2,
- Q2,
- yYe,
- $2
-], gJe), t4 = Y([
- e4,
- U2,
- o2,
- G2
-], z2), xYe = (e, t, n) => {
+}, bYe = () => J(x$), Z2 = (e, t) => t, xYe = (e, t, n) => n, Q2 = (e, t, n, r) => r, SYe = Y(G2, (e) => GJ(e, (e) => e.coordinate)), $2 = Y([
+ z2,
+ Z2,
+ xYe,
+ Q2
+], vJe), e4 = Y([
+ $2,
+ H2,
+ a2,
+ W2
+], R2), CYe = (e, t, n) => {
if (t != null) {
- var r = B2(e);
+ var r = z2(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, SYe = Y([
- B2,
- Q2,
- yYe,
- $2
-], xJe), n4 = Y([
+}, wYe = Y([
+ z2,
+ Z2,
+ xYe,
+ Q2
+], CJe), t4 = Y([
bZ,
xZ,
JZ,
DZ,
- K2,
- $2,
- SYe
-], bJe), CYe = Y([e4, n4], (e, t) => e.coordinate ?? t), wYe = Y([K2, t4], Xqe), TYe = Y([
- SYe,
- t4,
- u$,
- o2,
+ G2,
+ Q2,
+ wYe
+], SJe), TYe = Y([$2, t4], (e, t) => e.coordinate ?? t), EYe = Y([G2, e4], Qqe), DYe = Y([
wYe,
- SJe,
- Q2
-], PJe), EYe = Y([e4, t4], (e, t) => ({
+ e4,
+ l$,
+ a2,
+ EYe,
+ wJe,
+ Z2
+], IJe), OYe = Y([$2, e4], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), DYe = (e, t, n, r, i, a, o) => {
- if (e && n && r && i && gYe(e, o)) {
- var s = _Ye(ZLe(e, t), a, i, n, r), c = mYe(t, i, s, e);
+})), kYe = (e, t, n, r, i, a, o) => {
+ if (e && n && r && i && vYe(e, o)) {
+ var s = yYe(QLe(e, t), a, i, n, r), c = gYe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, OYe = (e, t, n, r, i, a, o) => {
+}, AYe = (e, t, n, r, i, a, o) => {
if (e && r && i && a && n) {
- var s = SVe(e, n);
+ var s = wVe(e, n);
if (s) {
- var c = _Ye(QLe(s, t), o, a, r, i), l = hYe(t, a, c, s);
+ var c = yYe($Le(s, t), o, a, r, i), l = _Ye(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, kYe = (e, t, n, r, i, a, o, s) => {
- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? DYe(e, t, r, i, a, o, s) : OYe(e, t, n, r, i, a, o);
-}, AYe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, jYe = (e, t, n, r, i, a, o, s) => {
+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? kYe(e, t, r, i, a, o, s) : AYe(e, t, n, r, i, a, o);
+}, MYe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), jYe = Y((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(T$));
+}), NYe = Y((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(w$));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: THe } });
+}, { memoizeOptions: { resultEqualityCheck: DHe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function MYe(e, t) {
+function PYe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84295,30 +84303,30 @@ function MYe(e, t) {
}
return n;
}
-function NYe(e) {
+function FYe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MYe(Object(n), !0).forEach(function(t) {
- PYe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MYe(Object(n)).forEach(function(t) {
+ t % 2 ? PYe(Object(n), !0).forEach(function(t) {
+ IYe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PYe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PYe(e, t, n) {
- return (t = FYe(t)) in e ? Object.defineProperty(e, t, {
+function IYe(e, t, n) {
+ return (t = LYe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FYe(e) {
- var t = IYe(e, "string");
+function LYe(e) {
+ var t = RYe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IYe(e, t) {
+function RYe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84328,17 +84336,17 @@ function IYe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var LYe = { zIndexMap: Object.values(T$).reduce((e, t) => NYe(NYe({}, e), {}, { [t]: {
+var zYe = { zIndexMap: Object.values(w$).reduce((e, t) => FYe(FYe({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, RYe = new Set(Object.values(T$));
-function zYe(e) {
- return RYe.has(e);
+} }), {}) }, BYe = new Set(Object.values(w$));
+function VYe(e) {
+ return BYe.has(e);
}
-var BYe = EX({
+var HYe = EX({
name: "zIndex",
- initialState: LYe,
+ initialState: zYe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -84354,7 +84362,7 @@ var BYe = EX({
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !zYe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !VYe(n) && delete e.zIndexMap[n]);
},
prepare: SX()
},
@@ -84377,22 +84385,22 @@ var BYe = EX({
prepare: SX()
}
}
-}), r4 = BYe.actions, VYe = r4.registerZIndexPortal, i4 = r4.unregisterZIndexPortal, HYe = r4.registerZIndexPortalElement, UYe = r4.unregisterZIndexPortalElement, WYe = BYe.reducer;
+}), n4 = HYe.actions, UYe = n4.registerZIndexPortal, r4 = n4.unregisterZIndexPortal, WYe = n4.registerZIndexPortalElement, GYe = n4.unregisterZIndexPortalElement, KYe = HYe.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function a4(e) {
- var t = e.zIndex, n = e.children, r = PRe() && t !== void 0 && t !== 0, i = AZ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = IJ(), c = J((e) => AYe(e, t, i));
+function i4(e) {
+ var t = e.zIndex, n = e.children, r = FRe() && t !== void 0 && t !== 0, i = AZ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = IJ(), c = J((e) => MYe(e, t, i));
if ((0, b.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
e.forEach((e) => {
- s(i4({ zIndex: e }));
+ s(r4({ zIndex: e }));
}), e.clear(), a.current = void 0;
- } else if (o.current.has(t) || (s(VYe({ zIndex: t })), o.current.add(t)), c) {
+ } else if (o.current.has(t) || (s(UYe({ zIndex: t })), o.current.add(t)), c) {
a.current = c;
var n = o.current;
n.forEach((e) => {
- e !== t && (s(i4({ zIndex: e })), n.delete(e));
+ e !== t && (s(r4({ zIndex: e })), n.delete(e));
});
}
}, [
@@ -84404,7 +84412,7 @@ function a4(e) {
var e = o.current;
return () => {
e.forEach((e) => {
- s(i4({ zIndex: e }));
+ s(r4({ zIndex: e }));
}), e.clear();
};
}, [s]), !r) return n;
@@ -84413,16 +84421,16 @@ function a4(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-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 GYe(e, t) {
+function qYe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84432,30 +84440,30 @@ function GYe(e, t) {
}
return n;
}
-function s4(e) {
+function o4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? GYe(Object(n), !0).forEach(function(t) {
- KYe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GYe(Object(n)).forEach(function(t) {
+ t % 2 ? qYe(Object(n), !0).forEach(function(t) {
+ JYe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qYe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KYe(e, t, n) {
- return (t = qYe(t)) in e ? Object.defineProperty(e, t, {
+function JYe(e, t, n) {
+ return (t = YYe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qYe(e) {
- var t = JYe(e, "string");
+function YYe(e) {
+ var t = XYe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JYe(e, t) {
+function XYe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84465,18 +84473,18 @@ function JYe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function YYe(e) {
+function ZYe(e) {
var t = e.cursor, n = e.cursorComp, r = e.cursorProps;
return /*#__PURE__*/ (0, b.isValidElement)(t) ? /*#__PURE__*/ (0, b.cloneElement)(t, r) : /*#__PURE__*/ (0, b.createElement)(n, r);
}
-function XYe(e) {
+function QYe(e) {
var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = pBe, h = T$.cursorLine;
- else if (l === "BarChart") p = mBe(o, u, i, a), m = t$, h = T$.cursorRectangle;
+ if (l === "ScatterChart") p = u, m = mBe, h = w$.cursorLine;
+ else if (l === "BarChart") p = hBe(o, u, i, a), m = e$, h = w$.cursorRectangle;
else if (o === "radial" && zq(u)) {
- var g = CVe(u), _ = g.cx, v = g.cy, y = g.radius;
+ var g = TVe(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
cy: v,
@@ -84484,9 +84492,9 @@ function XYe(e) {
endAngle: g.endAngle,
innerRadius: y,
outerRadius: y
- }, m = c$, h = T$.cursorLine;
- } else p = { points: FVe(o, u, i) }, m = LQ, h = T$.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = s4(s4(s4(s4({
+ }, m = s$, h = w$.cursorLine;
+ } else p = { points: LVe(o, u, i) }, m = LQ, h = w$.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = o4(o4(o4(o4({
stroke: "#ccc",
pointerEvents: "none"
}, i), p), cK(s)), {}, {
@@ -84494,15 +84502,15 @@ function XYe(e) {
payloadIndex: f,
className: Fv("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(YYe, {
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(ZYe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function ZYe(e) {
- var t = lYe(), n = GZ(), r = YZ(), i = vYe();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(XYe, o4({}, e, {
+function $Ye(e) {
+ var t = dYe(), n = GZ(), r = YZ(), i = bYe();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(QYe, a4({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -84511,7 +84519,7 @@ function ZYe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var QYe = /*#__PURE__*/ (0, b.createContext)(null), $Ye = () => (0, b.useContext)(QYe), eXe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var eXe = /*#__PURE__*/ (0, b.createContext)(null), tXe = () => (0, b.useContext)(eXe), nXe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -84598,12 +84606,12 @@ var QYe = /*#__PURE__*/ (0, b.createContext)(null), $Ye = () => (0, b.useContext
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, c4 = new eXe(), l4 = "recharts.syncEvent.tooltip", tXe = "recharts.syncEvent.brush", u4 = (e, t) => {
+})))(), 1)).default, s4 = new nXe(), c4 = "recharts.syncEvent.tooltip", rXe = "recharts.syncEvent.brush", l4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
if (!wK(n)) return e[n];
}
-}, nXe = EX({
+}, iXe = EX({
name: "options",
initialState: {
chartName: "",
@@ -84614,13 +84622,13 @@ var QYe = /*#__PURE__*/ (0, b.createContext)(null), $Ye = () => (0, b.useContext
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), rXe = nXe.reducer, iXe = nXe.actions.createEventEmitter;
+}), aXe = iXe.reducer, oXe = iXe.actions.createEventEmitter;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function aXe(e) {
+function sXe(e) {
return e.tooltip.syncInteraction;
}
-var oXe = EX({
+var cXe = EX({
name: "chartData",
initialState: {
chartData: void 0,
@@ -84640,10 +84648,10 @@ var oXe = EX({
r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);
}
}
-}), d4 = oXe.actions, sXe = d4.setChartData, cXe = d4.setDataStartEndIndexes;
-d4.setComputedData;
-var lXe = oXe.reducer, uXe = ["x", "y"];
-function dXe(e, t) {
+}), u4 = cXe.actions, lXe = u4.setChartData, uXe = u4.setDataStartEndIndexes;
+u4.setComputedData;
+var dXe = cXe.reducer, fXe = ["x", "y"];
+function pXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84653,30 +84661,30 @@ function dXe(e, t) {
}
return n;
}
-function f4(e) {
+function d4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dXe(Object(n), !0).forEach(function(t) {
- fXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dXe(Object(n)).forEach(function(t) {
+ t % 2 ? pXe(Object(n), !0).forEach(function(t) {
+ mXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fXe(e, t, n) {
- return (t = pXe(t)) in e ? Object.defineProperty(e, t, {
+function mXe(e, t, n) {
+ return (t = hXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pXe(e) {
- var t = mXe(e, "string");
+function hXe(e) {
+ var t = gXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mXe(e, t) {
+function gXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84686,16 +84694,16 @@ function mXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function hXe(e, t) {
+function _Xe(e, t) {
if (e == null) return {};
- var n, r, i = gXe(e, t);
+ var n, r, i = vXe(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 gXe(e, t) {
+function vXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84704,13 +84712,13 @@ function gXe(e, t) {
}
return n;
}
-function _Xe() {
- var e = J(C$), t = J(w$), n = IJ(), r = J(dHe), i = J(K2), a = YZ(), o = WZ(), s = J((e) => e.rootProps.className);
+function yXe() {
+ var e = J(S$), t = J(C$), n = IJ(), r = J(pHe), i = J(G2), a = YZ(), o = WZ(), s = J((e) => e.rootProps.className);
(0, b.useEffect)(() => {
if (e == null) return IK;
var s = (s, c, l) => {
if (t !== l && e === s) {
- if (c.payload.active === !1) n(I2({
+ if (c.payload.active === !1) n(F2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -84722,11 +84730,11 @@ function _Xe() {
else if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, f = d.x, p = d.y, m = hXe(d, uXe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = f4(f4({}, m), {}, {
+ var d = c.payload.coordinate, f = d.x, p = d.y, m = _Xe(d, fXe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = d4(d4({}, m), {}, {
x: o.x + (v ? (f - g) / v : 0) * o.width,
y: o.y + (y ? (p - _) / y : 0) * o.height
});
- n(f4(f4({}, c), {}, { payload: f4(f4({}, c.payload), {}, { coordinate: b }) }));
+ n(d4(d4({}, c), {}, { payload: d4(d4({}, c.payload), {}, { coordinate: b }) }));
} else n(c);
} else if (i != null) {
var x;
@@ -84739,7 +84747,7 @@ function _Xe() {
activeCoordinate: c.payload.coordinate
})] : r === "value" && (x = i.find((e) => String(e.value) === c.payload.label));
var S = c.payload.coordinate;
- if (S == null || o == null) n(I2({
+ if (S == null || o == null) n(F2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -84748,7 +84756,7 @@ function _Xe() {
sourceViewBox: void 0,
graphicalItemId: void 0
}));
- else if (x == null) n(I2({
+ else if (x == null) n(F2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -84762,7 +84770,7 @@ function _Xe() {
x: a === "horizontal" ? x.coordinate : T,
y: a === "horizontal" ? E : x.coordinate
};
- n(I2({
+ n(F2({
active: c.payload.active,
coordinate: D,
dataKey: c.payload.dataKey,
@@ -84775,8 +84783,8 @@ function _Xe() {
}
}
};
- return c4.on(l4, s), () => {
- c4.off(l4, s);
+ return s4.on(c4, s), () => {
+ s4.off(c4, s);
};
}, [
s,
@@ -84789,15 +84797,15 @@ function _Xe() {
o
]);
}
-function vXe() {
- var e = J(C$), t = J(w$), n = IJ();
+function bXe() {
+ var e = J(S$), t = J(C$), n = IJ();
(0, b.useEffect)(() => {
if (e == null) return IK;
var r = (r, i, a) => {
- t !== a && e === r && n(cXe(i));
+ t !== a && e === r && n(uXe(i));
};
- return c4.on(tXe, r), () => {
- c4.off(tXe, r);
+ return s4.on(rXe, r), () => {
+ s4.off(rXe, r);
};
}, [
n,
@@ -84805,17 +84813,17 @@ function vXe() {
e
]);
}
-function yXe() {
+function xXe() {
var e = IJ();
(0, b.useEffect)(() => {
- e(iXe());
- }, [e]), _Xe(), vXe();
+ e(oXe());
+ }, [e]), yXe(), bXe();
}
-function bXe(e, t, n, r, i, a) {
- var o = J((n) => xYe(n, e, t)), s = J(QJe), c = J(w$), l = J(C$), u = J(dHe), d = J(aXe)?.sourceViewBox != null, f = WZ();
+function SXe(e, t, n, r, i, a) {
+ var o = J((n) => CYe(n, e, t)), s = J(eYe), c = J(C$), l = J(S$), u = J(pHe), d = J(sXe)?.sourceViewBox != null, f = WZ();
(0, b.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = I2({
+ var e = F2({
active: a,
coordinate: n,
dataKey: o,
@@ -84824,7 +84832,7 @@ function bXe(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- c4.emit(l4, l, e, c);
+ s4.emit(c4, l, e, c);
}
}, [
d,
@@ -84842,7 +84850,7 @@ function bXe(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function xXe(e, t) {
+function CXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84852,30 +84860,30 @@ function xXe(e, t) {
}
return n;
}
-function SXe(e) {
+function wXe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xXe(Object(n), !0).forEach(function(t) {
- CXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xXe(Object(n)).forEach(function(t) {
+ t % 2 ? CXe(Object(n), !0).forEach(function(t) {
+ TXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CXe(e, t, n) {
- return (t = wXe(t)) in e ? Object.defineProperty(e, t, {
+function TXe(e, t, n) {
+ return (t = EXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wXe(e) {
- var t = TXe(e, "string");
+function EXe(e) {
+ var t = DXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TXe(e, t) {
+function DXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84885,25 +84893,25 @@ function TXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function EXe(e, t) {
- return jXe(e) || AXe(e, t) || OXe(e, t) || DXe();
+function OXe(e, t) {
+ return NXe(e) || MXe(e, t) || AXe(e, t) || kXe();
}
-function DXe() {
+function kXe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function OXe(e, t) {
+function AXe(e, t) {
if (e) {
- if (typeof e == "string") return kXe(e, t);
+ if (typeof e == "string") return jXe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? kXe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? jXe(e, t) : void 0;
}
}
-function kXe(e, t) {
+function jXe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function AXe(e, t) {
+function MXe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -84924,16 +84932,16 @@ function AXe(e, t) {
return s;
}
}
-function jXe(e) {
+function NXe(e) {
if (Array.isArray(e)) return e;
}
-function MXe(e) {
+function PXe(e) {
return e.dataKey;
}
-function NXe(e, t) {
- return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(Nze, t);
+function FXe(e, t) {
+ return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(Pze, t);
}
-var PXe = [], FXe = {
+var IXe = [], LXe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -84959,10 +84967,10 @@ var PXe = [], FXe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function IXe(e) {
- var t = Uq(e, FXe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = IJ(), C = typeof v == "number" ? String(v) : v;
+function RXe(e) {
+ var t = Uq(e, LXe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = IJ(), C = typeof v == "number" ? String(v) : v;
(0, b.useEffect)(() => {
- S(nJe({
+ S(iJe({
shared: g,
trigger: _,
axisId: x,
@@ -84977,20 +84985,20 @@ function IXe(e) {
n,
C
]);
- var w = WZ(), T = DQ(), E = Yqe(g), D = J((e) => EYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => TYe(e, E, _, C)), j = J((e) => wYe(e, E, _, C)), M = J((e) => CYe(e, E, _, C)), N = A, P = $Ye(), ee = n ?? k ?? !1, F = EXe(ZJ([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;
- bXe(E, _, M, ne, O, ee);
+ var w = WZ(), T = DQ(), E = Zqe(g), D = J((e) => OYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => DYe(e, E, _, C)), j = J((e) => EYe(e, E, _, C)), M = J((e) => TYe(e, E, _, C)), N = A, P = tXe(), ee = n ?? k ?? !1, F = OXe(ZJ([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;
+ SXe(E, _, M, ne, O, ee);
var re = y ?? P;
if (re == null || w == null || E == null) return null;
- var ie = N ?? PXe;
- ee || (ie = PXe), s && ie.length && (ie = PJ(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, MXe));
- var ae = ie.length > 0, oe = SXe(SXe({}, t), {}, {
+ var ie = N ?? IXe;
+ ee || (ie = IXe), s && ie.length && (ie = PJ(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, PXe));
+ var ae = ie.length > 0, oe = wXe(wXe({}, t), {}, {
payload: ie,
label: ne,
active: ee,
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), se = /*#__PURE__*/ b.createElement($ze, {
+ }), se = /*#__PURE__*/ b.createElement(eBe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -85007,8 +85015,8 @@ function IXe(e) {
lastBoundingBox: te,
innerRef: I,
hasPortalFromProps: !!y
- }, NXe(o, oe));
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(se, re), ee && /*#__PURE__*/ b.createElement(ZYe, {
+ }, FXe(o, oe));
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(se, re), ee && /*#__PURE__*/ b.createElement($Ye, {
cursor: h,
tooltipEventType: E,
coordinate: M,
@@ -85018,23 +85026,23 @@ function IXe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var p4 = (e) => null;
-p4.displayName = "Cell";
+var f4 = (e) => null;
+f4.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function LXe(e, t, n) {
- return (t = RXe(t)) in e ? Object.defineProperty(e, t, {
+function zXe(e, t, n) {
+ return (t = BXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function RXe(e) {
- var t = zXe(e, "string");
+function BXe(e) {
+ var t = VXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zXe(e, t) {
+function VXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85044,9 +85052,9 @@ function zXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var BXe = class {
+var HXe = class {
constructor(e) {
- LXe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ zXe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -85069,7 +85077,7 @@ var BXe = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function VXe(e, t) {
+function UXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85079,30 +85087,30 @@ function VXe(e, t) {
}
return n;
}
-function HXe(e) {
+function WXe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? VXe(Object(n), !0).forEach(function(t) {
- UXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VXe(Object(n)).forEach(function(t) {
+ t % 2 ? UXe(Object(n), !0).forEach(function(t) {
+ GXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UXe(e, t, n) {
- return (t = WXe(t)) in e ? Object.defineProperty(e, t, {
+function GXe(e, t, n) {
+ return (t = KXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WXe(e) {
- var t = GXe(e, "string");
+function KXe(e) {
+ var t = qXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GXe(e, t) {
+function qXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85112,10 +85120,10 @@ function GXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var KXe = HXe({}, {
+var JXe = WXe({}, {
cacheSize: 2e3,
enableCache: !0
-}), qXe = new BXe(KXe.cacheSize), JXe = {
+}), YXe = new HXe(JXe.cacheSize), XXe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -85123,14 +85131,14 @@ var KXe = HXe({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, YXe = "recharts_measurement_span";
-function XXe(e, t) {
+}, ZXe = "recharts_measurement_span";
+function QXe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var ZXe = (e, t) => {
+var $Xe = (e, t) => {
try {
- var n = document.getElementById(YXe);
- n || (n = document.createElement("span"), n.setAttribute("id", YXe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, JXe, t), n.textContent = `${e}`;
+ var n = document.getElementById(ZXe);
+ n || (n = document.createElement("span"), n.setAttribute("id", ZXe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, XXe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -85142,37 +85150,37 @@ var ZXe = (e, t) => {
height: 0
};
}
-}, m4 = function(e) {
+}, p4 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
if (e == null || xQ.isSsr) return {
width: 0,
height: 0
};
- if (!KXe.enableCache) return ZXe(e, t);
- var n = XXe(e, t), r = qXe.get(n);
+ if (!JXe.enableCache) return $Xe(e, t);
+ var n = QXe(e, t), r = YXe.get(n);
if (r) return r;
- var i = ZXe(e, t);
- return qXe.set(n, i), i;
-}, QXe;
-function h4(e, t) {
- return rZe(e) || nZe(e, t) || eZe(e, t) || $Xe();
+ var i = $Xe(e, t);
+ return YXe.set(n, i), i;
+}, eZe;
+function m4(e, t) {
+ return aZe(e) || iZe(e, t) || nZe(e, t) || tZe();
}
-function $Xe() {
+function tZe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function eZe(e, t) {
+function nZe(e, t) {
if (e) {
- if (typeof e == "string") return tZe(e, t);
+ if (typeof e == "string") return rZe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? rZe(e, t) : void 0;
}
}
-function tZe(e, t) {
+function rZe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function nZe(e, t) {
+function iZe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -85193,22 +85201,22 @@ function nZe(e, t) {
return s;
}
}
-function rZe(e) {
+function aZe(e) {
if (Array.isArray(e)) return e;
}
-function iZe(e, t, n) {
- return (t = aZe(t)) in e ? Object.defineProperty(e, t, {
+function oZe(e, t, n) {
+ return (t = sZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aZe(e) {
- var t = oZe(e, "string");
+function sZe(e) {
+ var t = cZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oZe(e, t) {
+function cZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85218,7 +85226,7 @@ function oZe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var sZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, cZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, lZe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, uZe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, dZe = {
+var lZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, uZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, dZe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, fZe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, pZe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -85226,7 +85234,7 @@ var sZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, cZe =
in: 96,
Q: 96 / 101.6,
px: 1
-}, fZe = [
+}, mZe = [
"cm",
"mm",
"pt",
@@ -85235,20 +85243,20 @@ var sZe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, cZe =
"Q",
"px"
];
-function pZe(e) {
- return fZe.includes(e);
+function hZe(e) {
+ return mZe.includes(e);
}
-var g4 = "NaN";
-function mZe(e, t) {
- return e * dZe[t];
+var h4 = "NaN";
+function gZe(e, t) {
+ return e * pZe[t];
}
-var _4 = class e {
+var g4 = class e {
static parse(t) {
- var n = h4(uZe.exec(t) ?? [], 3), r = n[1], i = n[2];
+ var n = m4(fZe.exec(t) ?? [], 3), r = n[1], i = n[2];
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, wK(e) && (this.unit = ""), t !== "" && !lZe.test(t) && (this.num = NaN, this.unit = ""), pZe(t) && (this.num = mZe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, wK(e) && (this.unit = ""), t !== "" && !dZe.test(t) && (this.num = NaN, this.unit = ""), hZe(t) && (this.num = gZe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -85269,47 +85277,47 @@ var _4 = class e {
return wK(this.num);
}
};
-QXe = _4, iZe(_4, "NaN", new QXe(NaN, ""));
-function hZe(e) {
- if (e == null || e.includes(g4)) return g4;
+eZe = g4, oZe(g4, "NaN", new eZe(NaN, ""));
+function _Ze(e) {
+ if (e == null || e.includes(h4)) return h4;
for (var t = e; t.includes("*") || t.includes("/");) {
- var n = h4(sZe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = _4.parse(r ?? ""), s = _4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
- if (c.isNaN()) return g4;
- t = t.replace(sZe, c.toString());
+ var n = m4(lZe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = g4.parse(r ?? ""), s = g4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
+ if (c.isNaN()) return h4;
+ t = t.replace(lZe, c.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var l = h4(cZe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = _4.parse(u ?? ""), m = _4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
- if (h.isNaN()) return g4;
- t = t.replace(cZe, h.toString());
+ var l = m4(uZe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = g4.parse(u ?? ""), m = g4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
+ if (h.isNaN()) return h4;
+ t = t.replace(uZe, h.toString());
}
return t;
}
-var gZe = /\(([^()]*)\)/;
-function _Ze(e) {
- for (var t = e, n; (n = gZe.exec(t)) != null;) {
- var r = h4(n, 2)[1];
- t = t.replace(gZe, hZe(r));
+var vZe = /\(([^()]*)\)/;
+function yZe(e) {
+ for (var t = e, n; (n = vZe.exec(t)) != null;) {
+ var r = m4(n, 2)[1];
+ t = t.replace(vZe, _Ze(r));
}
return t;
}
-function vZe(e) {
+function bZe(e) {
var t = e.replace(/\s+/g, "");
- return t = _Ze(t), t = hZe(t), t;
+ return t = yZe(t), t = _Ze(t), t;
}
-function yZe(e) {
+function xZe(e) {
try {
- return vZe(e);
+ return bZe(e);
} catch {
- return g4;
+ return h4;
}
}
-function v4(e) {
- var t = yZe(e.slice(5, -1));
- return t === g4 ? "" : t;
+function _4(e) {
+ var t = xZe(e.slice(5, -1));
+ return t === h4 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var bZe = [
+var SZe = [
"x",
"y",
"lineHeight",
@@ -85318,32 +85326,32 @@ var bZe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], xZe = [
+], CZe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function y4() {
- return y4 = Object.assign ? Object.assign.bind() : function(e) {
+function v4() {
+ return v4 = 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;
- }, y4.apply(null, arguments);
+ }, v4.apply(null, arguments);
}
-function SZe(e, t) {
+function wZe(e, t) {
if (e == null) return {};
- var n, r, i = CZe(e, t);
+ var n, r, i = TZe(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 CZe(e, t) {
+function TZe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85352,25 +85360,25 @@ function CZe(e, t) {
}
return n;
}
-function wZe(e, t) {
- return kZe(e) || OZe(e, t) || EZe(e, t) || TZe();
+function EZe(e, t) {
+ return jZe(e) || AZe(e, t) || OZe(e, t) || DZe();
}
-function TZe() {
+function DZe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function EZe(e, t) {
+function OZe(e, t) {
if (e) {
- if (typeof e == "string") return DZe(e, t);
+ if (typeof e == "string") return kZe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? DZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? kZe(e, t) : void 0;
}
}
-function DZe(e, t) {
+function kZe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function OZe(e, t) {
+function AZe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -85391,31 +85399,31 @@ function OZe(e, t) {
return s;
}
}
-function kZe(e) {
+function jZe(e) {
if (Array.isArray(e)) return e;
}
-var AZe = /[ \f\n\r\t\v\u2028\u2029]+/, jZe = (e) => {
+var MZe = /[ \f\n\r\t\v\u2028\u2029]+/, NZe = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return NK(t) || (i = n ? t.toString().split("") : t.toString().split(AZe)), {
+ return NK(t) || (i = n ? t.toString().split("") : t.toString().split(MZe)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: m4(e, r).width
+ width: p4(e, r).width
})),
- spaceWidth: n ? 0 : m4("\xA0", r).width
+ spaceWidth: n ? 0 : p4("\xA0", r).width
};
} catch {
return null;
}
};
-function MZe(e) {
+function PZe(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function NZe(e) {
+function FZe(e) {
return NK(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var PZe = (e, t, n, r) => e.reduce((e, i) => {
+var IZe = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, 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 {
@@ -85426,20 +85434,20 @@ var PZe = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), FZe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), IZe = "…", LZe = (e, t, n, r, i, a, o, s) => {
- var c = jZe({
+}, []), LZe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), RZe = "…", zZe = (e, t, n, r, i, a, o, s) => {
+ var c = NZe({
breakAll: n,
style: r,
- children: e.slice(0, t) + IZe
+ children: e.slice(0, t) + RZe
});
if (!c) return [!1, []];
- var l = PZe(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || FZe(l).width > Number(a), l];
-}, RZe = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = EK(a), u = String(o), d = PZe(t, r, n, i);
- if (!l || i || !(d.length > a || FZe(d).width > Number(r))) return d;
+ var l = IZe(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || LZe(l).width > Number(a), l];
+}, BZe = (e, t, n, r, i) => {
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = EK(a), u = String(o), d = IZe(t, r, n, i);
+ if (!l || i || !(d.length > a || LZe(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), _ = wZe(LZe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = wZe(LZe(u, g, c, s, a, r, n, i), 1)[0];
+ var g = Math.floor((f + p) / 2), _ = EZe(zZe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = EZe(zZe(u, g, c, s, a, r, n, i), 1)[0];
if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {
h = y;
break;
@@ -85447,13 +85455,13 @@ var PZe = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, zZe = (e) => [{
- words: NK(e) ? [] : e.toString().split(AZe),
+}, VZe = (e) => [{
+ words: NK(e) ? [] : e.toString().split(MZe),
width: void 0
-}], BZe = (e) => {
+}], HZe = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
if ((t || n) && !xQ.isSsr) {
- var s, c, l = jZe({
+ var s, c, l = NZe({
breakAll: a,
children: r,
style: i
@@ -85461,28 +85469,28 @@ var PZe = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var u = l.wordsWithComputedWidth, d = l.spaceWidth;
s = u, c = d;
- } else return zZe(r);
- return RZe({
+ } else return VZe(r);
+ return BZe({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return zZe(r);
-}, VZe = "#808080", HZe = {
+ return VZe(r);
+}, UZe = "#808080", WZe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: VZe,
+ fill: UZe,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, b4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Uq(e, HZe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = SZe(n, bZe), f = (0, b.useMemo)(() => BZe({
+}, y4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = Uq(e, WZe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = wZe(n, SZe), f = (0, b.useMemo)(() => HZe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -85496,32 +85504,32 @@ var PZe = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = SZe(d, xZe);
+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = wZe(d, CZe);
if (!DK(r) || !DK(i) || f.length === 0) return null;
var y = Number(r) + (EK(p) ? p : 0), x = Number(i) + (EK(m) ? m : 0);
if (!nZ(y) || !nZ(x)) return null;
var S;
switch (u) {
case "start":
- S = v4(`calc(${o})`);
+ S = _4(`calc(${o})`);
break;
case "middle":
- S = v4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ S = _4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: S = v4(`calc(${f.length - 1} * -${a})`);
+ default: S = _4(`calc(${f.length - 1} * -${a})`);
}
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
C.push(`scale(${EK(E) && EK(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, lK(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", v4({}, lK(v), {
ref: t,
x: y,
y: x,
className: Fv("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? VZe : s
+ fill: s.includes("url") ? UZe : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ b.createElement("tspan", {
@@ -85531,20 +85539,20 @@ var PZe = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-b4.displayName = "Text";
+y4.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/component/Label.js
-var UZe = ["labelRef"], WZe = ["content"];
-function GZe(e, t) {
+var GZe = ["labelRef"], KZe = ["content"];
+function qZe(e, t) {
if (e == null) return {};
- var n, r, i = KZe(e, t);
+ var n, r, i = JZe(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 KZe(e, t) {
+function JZe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85553,7 +85561,7 @@ function KZe(e, t) {
}
return n;
}
-function qZe(e, t) {
+function YZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85563,30 +85571,30 @@ function qZe(e, t) {
}
return n;
}
-function x4(e) {
+function b4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? qZe(Object(n), !0).forEach(function(t) {
- JZe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qZe(Object(n)).forEach(function(t) {
+ t % 2 ? YZe(Object(n), !0).forEach(function(t) {
+ XZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JZe(e, t, n) {
- return (t = YZe(t)) in e ? Object.defineProperty(e, t, {
+function XZe(e, t, n) {
+ return (t = ZZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YZe(e) {
- var t = XZe(e, "string");
+function ZZe(e) {
+ var t = QZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XZe(e, t) {
+function QZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85596,16 +85604,16 @@ function XZe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-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);
}
-var ZZe = /*#__PURE__*/ (0, b.createContext)(null), QZe = (e) => {
+var $Ze = /*#__PURE__*/ (0, b.createContext)(null), eQe = (e) => {
var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, b.useMemo)(() => ({
x: t,
y: n,
@@ -85621,11 +85629,11 @@ var ZZe = /*#__PURE__*/ (0, b.createContext)(null), QZe = (e) => {
a,
o
]);
- return /*#__PURE__*/ b.createElement(ZZe.Provider, { value: c }, s);
-}, $Ze = () => {
- var e = (0, b.useContext)(ZZe), t = WZ();
+ return /*#__PURE__*/ b.createElement($Ze.Provider, { value: c }, s);
+}, tQe = () => {
+ var e = (0, b.useContext)($Ze), t = WZ();
return e || (t ? LK(t) : void 0);
-}, eQe = /*#__PURE__*/ (0, b.createContext)(null), tQe = (e) => {
+}, nQe = /*#__PURE__*/ (0, b.createContext)(null), rQe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, b.useMemo)(() => ({
cx: t,
cy: n,
@@ -85643,15 +85651,15 @@ var ZZe = /*#__PURE__*/ (0, b.createContext)(null), QZe = (e) => {
o,
s
]);
- return /*#__PURE__*/ b.createElement(eQe.Provider, { value: l }, c);
-}, nQe = () => {
- var e = (0, b.useContext)(eQe), t = J(F$);
+ return /*#__PURE__*/ b.createElement(nQe.Provider, { value: l }, c);
+}, iQe = () => {
+ var e = (0, b.useContext)(nQe), t = J(P$);
return e || t;
-}, rQe = (e) => {
+}, aQe = (e) => {
var t = e.value, n = e.formatter, r = NK(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, C4 = (e) => e != null && typeof e == "function", iQe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 360), aQe = (e, t, n, r, i) => {
- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = iQe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, S4 = (e) => e != null && typeof e == "function", oQe = (e, t) => CK(t - e) * Math.min(Math.abs(t - e), 360), sQe = (e, t, n, r, i) => {
+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = oQe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -85665,20 +85673,20 @@ var ZZe = /*#__PURE__*/ (0, b.createContext)(null), QZe = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = i$(s, c, m, _), x = i$(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
+ var y = r$(s, c, m, _), x = r$(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
${x.x},${x.y}`, C = NK(e.id) ? OK("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ b.createElement("text", S4({}, r, {
+ return /*#__PURE__*/ b.createElement("text", x4({}, r, {
dominantBaseline: "central",
className: Fv("recharts-radial-bar-label", o)
}), /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("path", {
id: C,
d: S
})), /*#__PURE__*/ b.createElement("textPath", { xlinkHref: `#${C}` }, n));
-}, oQe = (e, t, n) => {
+}, cQe = (e, t, n) => {
var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;
if (n === "outside") {
- var c = i$(r, i, o + t, s), l = c.x;
+ var c = r$(r, i, o + t, s), l = c.x;
return {
x: l,
y: c.y,
@@ -85704,22 +85712,22 @@ var ZZe = /*#__PURE__*/ (0, b.createContext)(null), QZe = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var u = i$(r, i, (a + o) / 2, s);
+ var u = r$(r, i, (a + o) / 2, s);
return {
x: u.x,
y: u.y,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, w4 = (e) => e != null && "cx" in e && EK(e.cx), sQe = {
+}, C4 = (e) => e != null && "cx" in e && EK(e.cx), lQe = {
angle: 0,
offset: 5,
- zIndex: T$.label,
+ zIndex: w$.label,
position: "middle",
textBreakAll: !1
};
-function cQe(e) {
- if (!w4(e)) return e;
+function uQe(e) {
+ if (!C4(e)) return e;
var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;
return {
x: t - r,
@@ -85730,100 +85738,100 @@ function cQe(e) {
height: i
};
}
-function T4(e) {
- var t = Uq(e, sQe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = nQe(), p = $Ze(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : LK(n), h, g, _ = cQe(m);
+function w4(e) {
+ var t = Uq(e, lQe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = iQe(), p = tQe(), m = n == null ? i === "center" ? p : f ?? p : C4(n) ? n : LK(n), h, g, _ = uQe(m);
if (!m || NK(a) && NK(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
- var v = w4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
- if (w4(m)) v || (g = oQe(m, t.offset, t.position));
+ var v = C4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
+ if (C4(m)) v || (g = cQe(m, t.offset, t.position));
else if (_) {
var y = BK({
viewBox: _,
position: i,
offset: t.offset,
- parentViewBox: w4(r) ? void 0 : r,
+ parentViewBox: C4(r) ? void 0 : r,
clamp: !0
});
- g = x4(x4({
+ g = b4(b4({
x: y.x,
y: y.y,
textAnchor: y.horizontalAnchor,
verticalAnchor: y.verticalAnchor
}, y.width === void 0 ? {} : { width: y.width }), y.height === void 0 ? {} : { height: y.height });
}
- var x = x4(x4(x4(x4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
+ var x = b4(b4(b4(b4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
if (/*#__PURE__*/ (0, b.isValidElement)(s)) {
x.labelRef;
- var S = GZe(x, UZe);
+ var S = qZe(x, GZe);
return /*#__PURE__*/ (0, b.cloneElement)(s, S);
}
if (typeof s == "function") {
x.content;
- var C = GZe(x, WZe);
+ var C = qZe(x, KZe);
if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;
- } else h = rQe(t);
+ } else h = aQe(t);
var w = lK(t);
- return v && w4(m) ? aQe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(b4, S4({
+ return v && C4(m) ? sQe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(i4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(y4, x4({
ref: d,
className: Fv("recharts-label", l)
}, w, g, {
- textAnchor: MZe(w.textAnchor) ? w.textAnchor : g.textAnchor,
+ textAnchor: PZe(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
}), h));
}
-T4.displayName = "Label";
-var lQe = (e, t, n) => {
+w4.displayName = "Label";
+var dQe = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : DK(e) ? /*#__PURE__*/ b.createElement(T4, S4({
+ return e === !0 ? /*#__PURE__*/ b.createElement(w4, x4({ key: "label-implicit" }, r)) : DK(e) ? /*#__PURE__*/ b.createElement(w4, x4({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === T4 ? /*#__PURE__*/ (0, b.cloneElement)(e, x4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(T4, S4({
+ }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === w4 ? /*#__PURE__*/ (0, b.cloneElement)(e, b4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(w4, x4({
key: "label-implicit",
content: e
- }, r)) : C4(e) ? /*#__PURE__*/ b.createElement(T4, S4({
+ }, r)) : S4(e) ? /*#__PURE__*/ b.createElement(w4, x4({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(T4, S4({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(w4, x4({}, e, { key: "label-implicit" }, r)) : null;
};
-function uQe(e) {
+function fQe(e) {
var t = e.label, n = e.labelRef;
- return lQe(t, $Ze(), n) || null;
+ return dQe(t, tQe(), n) || null;
}
-function dQe(e) {
+function pQe(e) {
var t = e.label;
- return lQe(t, nQe()) || null;
+ return dQe(t, iQe()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var fQe = ["valueAccessor"], pQe = [
+var mQe = ["valueAccessor"], hQe = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function E4() {
- return E4 = Object.assign ? Object.assign.bind() : function(e) {
+function T4() {
+ return T4 = 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;
- }, E4.apply(null, arguments);
+ }, T4.apply(null, arguments);
}
-function mQe(e, t) {
+function gQe(e, t) {
if (e == null) return {};
- var n, r, i = hQe(e, t);
+ var n, r, i = _Qe(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 hQe(e, t) {
+function _Qe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85832,23 +85840,23 @@ function hQe(e, t) {
}
return n;
}
-var gQe = (e) => {
+var vQe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (NZe(t)) return t;
-}, _Qe = /*#__PURE__*/ (0, b.createContext)(void 0), D4 = _Qe.Provider, vQe = /*#__PURE__*/ (0, b.createContext)(void 0), yQe = vQe.Provider;
-function bQe() {
- return (0, b.useContext)(_Qe);
+ if (FZe(t)) return t;
+}, yQe = /*#__PURE__*/ (0, b.createContext)(void 0), E4 = yQe.Provider, bQe = /*#__PURE__*/ (0, b.createContext)(void 0), xQe = bQe.Provider;
+function SQe() {
+ return (0, b.useContext)(yQe);
}
-function xQe() {
- return (0, b.useContext)(vQe);
+function CQe() {
+ return (0, b.useContext)(bQe);
}
-function O4(e) {
- var t = e.valueAccessor, n = t === void 0 ? gQe : t, r = mQe(e, fQe), i = r.dataKey;
+function D4(e) {
+ var t = e.valueAccessor, n = t === void 0 ? vQe : t, r = gQe(e, mQe), i = r.dataKey;
r.clockWise;
- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = mQe(r, pQe), l = bQe(), u = xQe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? T$.label }, /*#__PURE__*/ b.createElement(pK, { className: "recharts-label-list" }, d.map((e, t) => {
+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = gQe(r, hQe), l = SQe(), u = CQe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(i4, { zIndex: s ?? w$.label }, /*#__PURE__*/ b.createElement(pK, { className: "recharts-label-list" }, d.map((e, t) => {
var s = NK(i) ? n(e, t) : oZ(e.payload, i), l = NK(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, lK(e), c, l, {
+ return /*#__PURE__*/ b.createElement(w4, T4({ key: `label-${t}` }, lK(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -85859,41 +85867,41 @@ function O4(e) {
}));
})));
}
-O4.displayName = "LabelList";
-function k4(e) {
+D4.displayName = "LabelList";
+function O4(e) {
var t = e.label;
- return t ? t === !0 ? /*#__PURE__*/ b.createElement(O4, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || C4(t) ? /*#__PURE__*/ b.createElement(O4, {
+ return t ? t === !0 ? /*#__PURE__*/ b.createElement(D4, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || S4(t) ? /*#__PURE__*/ b.createElement(D4, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(O4, E4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(D4, T4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var SQe = [
+var wQe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], CQe;
-function A4() {
- return A4 = Object.assign ? Object.assign.bind() : function(e) {
+], TQe;
+function k4() {
+ return k4 = 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;
- }, A4.apply(null, arguments);
+ }, k4.apply(null, arguments);
}
-function wQe(e, t) {
+function EQe(e, t) {
if (e == null) return {};
- var n, r, i = TQe(e, t);
+ var n, r, i = DQe(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 TQe(e, t) {
+function DQe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85902,23 +85910,23 @@ function TQe(e, t) {
}
return n;
}
-function EQe(e, t) {
+function OQe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var DQe = (e) => e != null && e.x === +e.x && e.y === +e.y, OQe = function() {
+var kQe = (e) => e != null && e.x === +e.x && e.y === +e.y, AQe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- DQe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ kQe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- DQe(n) && r && r.push(n);
+ kQe(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, j4 = (e, t) => {
- var n = OQe(e);
+}, A4 = (e, t) => {
+ var n = AQe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => SK(CQe ||= EQe([
+ var r = n.map((e) => e.reduce((e, t, n) => SK(TQe ||= OQe([
"",
"",
"",
@@ -85926,29 +85934,29 @@ var DQe = (e) => e != null && e.x === +e.x && e.y === +e.y, OQe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, kQe = (e, t, n) => {
- var r = j4(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${j4(Array.from(t).reverse(), n).slice(1)}`;
-}, AQe = (e) => {
- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = wQe(e, SQe);
+}, jQe = (e, t, n) => {
+ var r = A4(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${A4(Array.from(t).reverse(), n).slice(1)}`;
+}, MQe = (e) => {
+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = EQe(e, wQe);
if (!t || !t.length) return null;
var o = Fv("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = kQe(t, r, i);
- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, lK(a), {
+ var s = a.stroke && a.stroke !== "none", c = jQe(t, r, i);
+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", k4({}, lK(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ b.createElement("path", A4({}, lK(a), {
+ })), s ? /*#__PURE__*/ b.createElement("path", k4({}, lK(a), {
fill: "none",
- d: j4(t, i)
- })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, lK(a), {
+ d: A4(t, i)
+ })) : null, s ? /*#__PURE__*/ b.createElement("path", k4({}, lK(a), {
fill: "none",
- d: j4(r, i)
+ d: A4(r, i)
})) : null);
}
- var l = j4(t, i);
- return /*#__PURE__*/ b.createElement("path", A4({}, lK(a), {
+ var l = A4(t, i);
+ return /*#__PURE__*/ b.createElement("path", k4({}, lK(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -85956,36 +85964,36 @@ var DQe = (e) => e != null && e.x === +e.x && e.y === +e.y, OQe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function M4() {
- return M4 = Object.assign ? Object.assign.bind() : function(e) {
+function j4() {
+ return j4 = 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;
- }, M4.apply(null, arguments);
+ }, j4.apply(null, arguments);
}
-var N4 = (e) => {
+var M4 = (e) => {
var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Fv("recharts-dot", i);
- return EK(t) && EK(n) && EK(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, sK(e), Bq(e), {
+ return EK(t) && EK(n) && EK(r) ? /*#__PURE__*/ b.createElement("circle", j4({}, sK(e), Bq(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, P4 = (e) => e.graphicalItems.polarItems, F4 = Y([
- P4,
- q0,
- Y([I$, L$], Y0)
-], Z0), I4 = Y([Y([F4], $0), d$], e2), jQe = Y([
- I4,
- q0,
- F4
-], BKe);
+}, N4 = (e) => e.graphicalItems.polarItems, P4 = Y([
+ N4,
+ K0,
+ Y([F$, I$], J0)
+], X0), F4 = Y([Y([P4], Q0), u$], $0), NQe = Y([
+ F4,
+ K0,
+ P4
+], HKe);
Y([
- I4,
- q0,
- F4
+ F4,
+ K0,
+ P4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
value: oZ(e, t.dataKey ?? n.dataKey),
errorDomain: []
@@ -85996,72 +86004,72 @@ Y([
value: oZ(e, t.dataKey),
errorDomain: []
})));
-var MQe = () => void 0, NQe = Y([
- q0,
+var PQe = () => void 0, FQe = Y([
+ K0,
JZ,
- I4,
- jQe,
- b$,
- I$,
+ F4,
+ NQe,
+ y$,
+ F$,
Y([
- q0,
+ K0,
+ l2,
u2,
- d2,
- MQe,
+ PQe,
Y([
- I4,
- q0,
F4,
- f2,
- I$,
- BVe
- ], m2),
- MQe,
+ K0,
+ P4,
+ d2,
+ F$,
+ HVe
+ ], p2),
+ PQe,
JZ,
- I$
- ], g2)
-], _2), PQe = Y([
- NQe,
- J0,
- y2
-], b2), FQe = Y([y2, Y([
+ F$
+ ], h2)
+], g2), IQe = Y([
+ FQe,
q0,
- NQe,
- PQe,
- I$
-], S2)], EHe), L4 = (e, t, n) => {
+ v2
+], y2), LQe = Y([v2, Y([
+ K0,
+ FQe,
+ IQe,
+ F$
+], x2)], OHe), I4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return j$(e, n);
- case "radiusAxis": return M$(e, n);
+ case "angleAxis": return A$(e, n);
+ case "radiusAxis": return j$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, R4 = (e, t, n) => {
+}, L4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return SHe(e, n);
- case "radiusAxis": return wHe(e, n);
+ case "angleAxis": return wHe(e, n);
+ case "radiusAxis": return EHe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, z4 = Y([Y([
- L4,
- y2,
- FQe,
- R4
-], z0)], G$), IQe = Y([
+}, R4 = Y([Y([
+ I4,
+ v2,
+ LQe,
+ L4
+], R0)], W$), RQe = Y([
JZ,
- jQe,
- J0,
- I$
-], T2), B4 = Y([
+ NQe,
+ q0,
+ F$
+], w2), z4 = Y([
JZ,
- L4,
- y2,
- z4,
- PQe,
+ I4,
+ v2,
R4,
- A2,
IQe,
- I$
-], Hqe), LQe = Y([B4], (e) => {
+ L4,
+ k2,
+ RQe,
+ F$
+], Wqe), zQe = Y([z4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -86069,19 +86077,19 @@ var MQe = () => void 0, NQe = Y([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), RQe = Y([
+}), BQe = Y([
JZ,
- L4,
- z4,
+ I4,
R4,
- A2,
- IQe,
- I$
-], Wqe), zQe = Y([(e, t) => B4(e, "angleAxis", t, !1)], (e) => {
+ L4,
+ k2,
+ RQe,
+ F$
+], Kqe), VQe = Y([(e, t) => z4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), BQe = Y([(e, t) => B4(e, "radiusAxis", t, !1)], (e) => {
+}), HQe = Y([(e, t) => z4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), VQe = [
+}), UQe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -86094,16 +86102,16 @@ var MQe = () => void 0, NQe = Y([
"polarRadius",
"zIndex"
];
-function HQe(e, t) {
+function WQe(e, t) {
if (e == null) return {};
- var n, r, i = UQe(e, t);
+ var n, r, i = GQe(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 UQe(e, t) {
+function GQe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86112,16 +86120,16 @@ function UQe(e, t) {
}
return n;
}
-function V4() {
- return V4 = Object.assign ? Object.assign.bind() : function(e) {
+function B4() {
+ return B4 = 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;
- }, V4.apply(null, arguments);
+ }, B4.apply(null, arguments);
}
-function WQe(e, t) {
+function KQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86131,30 +86139,30 @@ function WQe(e, t) {
}
return n;
}
-function H4(e) {
+function V4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? WQe(Object(n), !0).forEach(function(t) {
- GQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WQe(Object(n)).forEach(function(t) {
+ t % 2 ? KQe(Object(n), !0).forEach(function(t) {
+ qQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GQe(e, t, n) {
- return (t = KQe(t)) in e ? Object.defineProperty(e, t, {
+function qQe(e, t, n) {
+ return (t = JQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KQe(e) {
- var t = qQe(e, "string");
+function JQe(e) {
+ var t = YQe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qQe(e, t) {
+function YQe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86164,66 +86172,66 @@ function qQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var JQe = (e, t, n, r) => {
+var XQe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = i$(t, n, e, r);
+ var o = r$(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, YQe = (e) => {
+}, ZQe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = H4({}, sK(e));
+ var s = V4({}, sK(e));
return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = i$(t, n, r, e), o = i$(t, n, i, e);
- return /*#__PURE__*/ b.createElement("line", V4({ key: `line-${e}` }, s, {
+ var a = r$(t, n, r, e), o = r$(t, n, i, e);
+ return /*#__PURE__*/ b.createElement("line", B4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, XQe = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = H4({}, sK(e));
- return /*#__PURE__*/ b.createElement("circle", V4({}, i, {
+}, QQe = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = V4({}, sK(e));
+ return /*#__PURE__*/ b.createElement("circle", B4({}, i, {
className: Fv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, ZQe = (e) => {
- var t = e.radius, n = H4({}, sK(e));
- return /*#__PURE__*/ b.createElement("path", V4({}, n, {
+}, $Qe = (e) => {
+ var t = e.radius, n = V4({}, sK(e));
+ return /*#__PURE__*/ b.createElement("path", B4({}, n, {
className: Fv("recharts-polar-grid-concentric-polygon", e.className),
- d: JQe(t, e.cx, e.cy, e.polarAngles)
+ d: XQe(t, e.cx, e.cy, e.polarAngles)
}));
-}, QQe = (e) => {
+}, e$e = (e) => {
var t = e.polarRadius, n = e.gridType;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(XQe, V4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(ZQe, V4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(QQe, B4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement($Qe, B4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ b.createElement(XQe, V4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ b.createElement(QQe, B4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ b.createElement(ZQe, V4({ key: i }, e, {
+ })) : /*#__PURE__*/ b.createElement($Qe, B4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, $Qe = {
+}, t$e = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: T$.grid,
+ zIndex: w$.grid,
stroke: "#ccc",
strokeWidth: 1,
fill: "none"
-}, e$e = (e) => {
- var t = Uq(e, $Qe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = HQe(t, VQe), m = J(F$), h = J((e) => zQe(e, i)), g = J((e) => BQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, n$e = (e) => {
+ var t = Uq(e, t$e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = WQe(t, UQe), m = J(P$), h = J((e) => VQe(e, i)), g = J((e) => HQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = H4({
+ var y = V4({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -86232,13 +86240,13 @@ var JQe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p);
- return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(QQe, V4({
+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(i4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(e$e, B4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ b.createElement(YQe, V4({
+ })), /*#__PURE__*/ b.createElement(ZQe, B4({
gridType: n,
radialLines: r
}, y, {
@@ -86246,17 +86254,17 @@ var JQe = (e, t, n, r) => {
polarRadius: v
}))));
};
-e$e.displayName = "PolarGrid";
+n$e.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function U4(e) {
+function H4(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function t$e(e, t = Jq) {
+function r$e(e, t = Jq) {
if (e == null) return;
- let n = U4(e);
+ let n = H4(e);
if (n.length === 0) return;
let r = MJ(t), i, a;
for (let e = 0; e < n.length; e++) {
@@ -86267,9 +86275,9 @@ function t$e(e, t = Jq) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function n$e(e, t = Jq) {
+function i$e(e, t = Jq) {
if (e == null) return;
- let n = U4(e);
+ let n = H4(e);
if (n.length === 0) return;
let r = MJ(t), i, a;
for (let e = 0; e < n.length; e++) {
@@ -86280,7 +86288,7 @@ function n$e(e, t = Jq) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var r$e = EX({
+var a$e = EX({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -86300,35 +86308,35 @@ var r$e = EX({
delete e.angleAxis[t.payload.id];
}
}
-}), W4 = r$e.actions, i$e = W4.addRadiusAxis, a$e = W4.removeRadiusAxis, o$e = W4.addAngleAxis, s$e = W4.removeAngleAxis, c$e = r$e.reducer;
+}), U4 = a$e.actions, o$e = U4.addRadiusAxis, s$e = U4.removeRadiusAxis, c$e = U4.addAngleAxis, l$e = U4.removeAngleAxis, u$e = a$e.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function G4(e) {
+function W4(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 l$e = ["type"], u$e = [
+var d$e = ["type"], f$e = [
"cx",
"cy",
"angle",
"axisLine"
-], d$e = [
+], p$e = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function K4() {
- return K4 = Object.assign ? Object.assign.bind() : function(e) {
+function G4() {
+ return G4 = 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);
+ }, G4.apply(null, arguments);
}
-function f$e(e, t) {
+function m$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86338,30 +86346,30 @@ function f$e(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 ? f$e(Object(n), !0).forEach(function(t) {
- p$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$e(Object(n)).forEach(function(t) {
+ t % 2 ? m$e(Object(n), !0).forEach(function(t) {
+ h$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function p$e(e, t, n) {
- return (t = m$e(t)) in e ? Object.defineProperty(e, t, {
+function h$e(e, t, n) {
+ return (t = g$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function m$e(e) {
- var t = h$e(e, "string");
+function g$e(e) {
+ var t = _$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function h$e(e, t) {
+function _$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86371,16 +86379,16 @@ function h$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J4(e, t) {
+function q4(e, t) {
if (e == null) return {};
- var n, r, i = g$e(e, t);
+ var n, r, i = v$e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function g$e(e, t) {
+function v$e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86389,20 +86397,20 @@ function g$e(e, t) {
}
return n;
}
-var _$e = "radiusAxis";
-function v$e(e) {
+var y$e = "radiusAxis";
+function b$e(e) {
var t = IJ(), n = QZ(), r = (0, b.useMemo)(() => {
- var t = e.type, r = J4(e, l$e), i = k$(n, "radiusAxis", t);
- if (i != null) return q4(q4({}, r), {}, { type: i });
+ var t = e.type, r = q4(e, d$e), i = O$(n, "radiusAxis", t);
+ if (i != null) return K4(K4({}, r), {}, { type: i });
}, [e, n]);
- return (0, b.useEffect)(() => r == null ? IK : (t(i$e(r)), () => {
- t(a$e(r));
+ return (0, b.useEffect)(() => r == null ? IK : (t(o$e(r)), () => {
+ t(s$e(r));
}), [t, r]), null;
}
-var y$e = (e, t, n, r) => {
+var x$e = (e, t, n, r) => {
var i = e.coordinate;
- return i$(n, r, i, t);
-}, b$e = (e) => {
+ return r$(n, r, i, t);
+}, S$e = (e) => {
var t;
switch (e) {
case "left":
@@ -86414,49 +86422,49 @@ var y$e = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, x$e = (e, t, n, r) => {
- var i = t$e(r, (e) => e.coordinate || 0);
+}, C$e = (e, t, n, r) => {
+ var i = r$e(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: n$e(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: i$e(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, S$e = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, u$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = i$(n, r, s[0], i), l = i$(n, r, s[1], i), u = q4(q4(q4({}, sK(o)), {}, { fill: "none" }, sK(a)), {}, {
+}, w$e = (e, t) => {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = q4(e, f$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = r$(n, r, s[0], i), l = r$(n, r, s[1], i), u = K4(K4(K4({}, sK(o)), {}, { fill: "none" }, sK(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ b.createElement("line", K4({ className: "recharts-polar-radius-axis-line" }, u));
-}, C$e = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(b4, K4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), w$e = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, d$e), s = b$e(e.orientation), c = sK(o), l = cK(a), u = t.map((t, o) => {
- var u = y$e(t, e.angle, e.cx, e.cy), d = q4(q4(q4(q4({
+ return /*#__PURE__*/ b.createElement("line", G4({ className: "recharts-polar-radius-axis-line" }, u));
+}, T$e = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(y4, G4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), E$e = (e, t) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = q4(e, p$e), s = S$e(e.orientation), c = sK(o), l = cK(a), u = t.map((t, o) => {
+ var u = x$e(t, e.angle, e.cx, e.cy), d = K4(K4(K4(K4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ b.createElement(pK, K4({
- className: Fv("recharts-polar-radius-axis-tick", G4(a)),
+ return /*#__PURE__*/ b.createElement(pK, G4({
+ className: Fv("recharts-polar-radius-axis-tick", W4(a)),
key: `tick-${t.coordinate}`
- }, Vq(e, t, o)), C$e(a, d, r ? r(t.value, o) : t.value));
+ }, Vq(e, t, o)), T$e(a, d, r ? r(t.value, o) : t.value));
});
return /*#__PURE__*/ b.createElement(pK, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, T$e = (e) => {
- var t = e.radiusAxisId, n = J(F$), r = J((e) => z4(e, "radiusAxis", t)), i = J((e) => B4(e, "radiusAxis", t, !1));
+}, D$e = (e) => {
+ var t = e.radiusAxisId, n = J(P$), r = J((e) => R4(e, "radiusAxis", t)), i = J((e) => z4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = q4(q4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-polar-radius-axis", _$e, a.className) }, s && S$e(a, i), o && w$e(a, i), /*#__PURE__*/ b.createElement(tQe, x$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(dQe, { label: a.label }), a.children)));
+ var a = K4(K4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-polar-radius-axis", y$e, a.className) }, s && w$e(a, i), o && E$e(a, i), /*#__PURE__*/ b.createElement(rQe, C$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(pQe, { label: a.label }), a.children)));
};
-function E$e(e) {
- var t = Uq(e, D$);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(v$e, {
+function O$e(e) {
+ var t = Uq(e, E$);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(b$e, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -86473,22 +86481,22 @@ function E$e(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ b.createElement(T$e, t));
+ }), /*#__PURE__*/ b.createElement(D$e, t));
}
-E$e.displayName = "PolarRadiusAxis";
+O$e.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var D$e = ["children", "type"], O$e = ["ref"];
-function Y4() {
- return Y4 = Object.assign ? Object.assign.bind() : function(e) {
+var k$e = ["children", "type"], A$e = ["ref"];
+function J4() {
+ return J4 = 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;
- }, Y4.apply(null, arguments);
+ }, J4.apply(null, arguments);
}
-function k$e(e, t) {
+function j$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86498,30 +86506,30 @@ function k$e(e, t) {
}
return n;
}
-function X4(e) {
+function Y4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k$e(Object(n), !0).forEach(function(t) {
- A$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k$e(Object(n)).forEach(function(t) {
+ t % 2 ? j$e(Object(n), !0).forEach(function(t) {
+ M$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A$e(e, t, n) {
- return (t = j$e(t)) in e ? Object.defineProperty(e, t, {
+function M$e(e, t, n) {
+ return (t = N$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j$e(e) {
- var t = M$e(e, "string");
+function N$e(e) {
+ var t = P$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M$e(e, t) {
+function P$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86531,16 +86539,16 @@ function M$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function N$e(e, t) {
+function F$e(e, t) {
if (e == null) return {};
- var n, r, i = P$e(e, t);
+ var n, r, i = I$e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function P$e(e, t) {
+function I$e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86549,50 +86557,50 @@ function P$e(e, t) {
}
return n;
}
-var F$e = 1e-5, I$e = Math.cos(r$(45)), L$e = "angleAxis";
-function R$e(e) {
+var L$e = 1e-5, R$e = Math.cos(n$(45)), z$e = "angleAxis";
+function B$e(e) {
var t = IJ(), n = QZ(), r = (0, b.useMemo)(() => {
e.children;
- var t = e.type, r = N$e(e, D$e), i = k$(n, "angleAxis", t);
- if (i != null) return X4(X4({}, r), {}, { type: i });
- }, [e, n]), i = r === J((e) => j$(e, r?.id));
- return (0, b.useEffect)(() => r == null ? IK : (t(o$e(r)), () => {
- t(s$e(r));
+ var t = e.type, r = F$e(e, k$e), i = O$(n, "angleAxis", t);
+ if (i != null) return Y4(Y4({}, r), {}, { type: i });
+ }, [e, n]), i = r === J((e) => A$(e, r?.id));
+ return (0, b.useEffect)(() => r == null ? IK : (t(c$e(r)), () => {
+ t(l$e(r));
}), [t, r]), i ? e.children : null;
}
-var z$e = (e, t) => {
- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = i$(n, r, i, e.coordinate), c = i$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
+var V$e = (e, t) => {
+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = r$(n, r, i, e.coordinate), c = r$(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
return {
x1: s.x,
y1: s.y,
x2: c.x,
y2: c.y
};
-}, B$e = (e, t) => {
- var n = Math.cos(r$(-e.coordinate));
- return n > F$e ? t === "outer" ? "start" : "end" : n < -F$e ? t === "outer" ? "end" : "start" : "middle";
-}, V$e = (e) => {
- var t = Math.cos(r$(-e.coordinate)), n = Math.sin(r$(-e.coordinate));
- return Math.abs(t) <= I$e ? n > 0 ? "start" : "end" : "middle";
-}, H$e = (e) => {
+}, H$e = (e, t) => {
+ var n = Math.cos(n$(-e.coordinate));
+ return n > L$e ? t === "outer" ? "start" : "end" : n < -L$e ? t === "outer" ? "end" : "start" : "middle";
+}, U$e = (e) => {
+ var t = Math.cos(n$(-e.coordinate)), n = Math.sin(n$(-e.coordinate));
+ return Math.abs(t) <= R$e ? n > 0 ? "start" : "end" : "middle";
+}, W$e = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = X4(X4({}, sK(e)), {}, { fill: "none" }, sK(a));
- if (i === "circle") return /*#__PURE__*/ b.createElement(N4, Y4({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = Y4(Y4({}, sK(e)), {}, { fill: "none" }, sK(a));
+ if (i === "circle") return /*#__PURE__*/ b.createElement(M4, J4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => i$(t, n, r, e.coordinate));
- return /*#__PURE__*/ b.createElement(AQe, Y4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, U$e = (e) => {
+ var c = o.map((e) => r$(t, n, r, e.coordinate));
+ return /*#__PURE__*/ b.createElement(MQe, J4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, G$e = (e) => {
var t = e.tick, n = e.tickProps, r = e.value;
- return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(b4, Y4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, W$e = (e) => {
+ return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(y4, J4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, K$e = (e) => {
var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = sK(e);
o.ref;
- var s = N$e(o, O$e), c = cK(t), l = X4(X4({}, s), {}, { fill: "none" }, sK(n)), u = a.map((a, o) => {
- var u = z$e(a, e), d = B$e(a, e.orientation), f = V$e(a), p = X4(X4(X4({}, s), {}, {
+ var s = F$e(o, A$e), c = cK(t), l = Y4(Y4({}, s), {}, { fill: "none" }, sK(n)), u = a.map((a, o) => {
+ var u = V$e(a, e), d = H$e(a, e.orientation), f = U$e(a), p = Y4(Y4(Y4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -86603,28 +86611,28 @@ var z$e = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ b.createElement(pK, Y4({
- className: Fv("recharts-polar-angle-axis-tick", G4(t)),
+ return /*#__PURE__*/ b.createElement(pK, J4({
+ className: Fv("recharts-polar-angle-axis-tick", W4(t)),
key: `tick-${a.coordinate}`
- }, Vq(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(U$e, {
+ }, Vq(e, a, o)), n && /*#__PURE__*/ b.createElement("line", J4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(G$e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
return /*#__PURE__*/ b.createElement(pK, { className: "recharts-polar-angle-axis-ticks" }, u);
-}, G$e = (e) => {
- var t = e.angleAxisId, n = J(F$), r = J((e) => z4(e, "angleAxis", t)), i = AZ(), a = J((e) => LQe(e, "angleAxis", t, i));
+}, q$e = (e) => {
+ var t = e.angleAxisId, n = J(P$), r = J((e) => R4(e, "angleAxis", t)), i = AZ(), a = J((e) => zQe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = X4(X4(X4({}, e), {}, { scale: r }, n), {}, {
+ var o = Y4(Y4(Y4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-polar-angle-axis", L$e, o.className) }, /*#__PURE__*/ b.createElement(H$e, o), /*#__PURE__*/ b.createElement(W$e, o)));
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-polar-angle-axis", z$e, o.className) }, /*#__PURE__*/ b.createElement(W$e, o), /*#__PURE__*/ b.createElement(K$e, o)));
};
-function Z4(e) {
- var t = Uq(e, E$);
- return /*#__PURE__*/ b.createElement(R$e, {
+function X4(e) {
+ var t = Uq(e, T$);
+ return /*#__PURE__*/ b.createElement(B$e, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -86641,12 +86649,12 @@ function Z4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ b.createElement(G$e, t));
+ }, /*#__PURE__*/ b.createElement(q$e, t));
}
-Z4.displayName = "PolarAngleAxis";
+X4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var K$e = /* @__PURE__ */ o(((e) => {
+var J$e = /* @__PURE__ */ o(((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) {
@@ -86675,26 +86683,26 @@ var K$e = /* @__PURE__ */ o(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), q$e = (/* @__PURE__ */ o(((e, t) => {
- t.exports = K$e();
-})))(), J$e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Y$e = null, Q4 = null, X$e = (e) => {
- if (e === Y$e && Array.isArray(Q4)) return Q4;
+})), Y$e = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = J$e();
+})))(), X$e = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Z$e = null, Z4 = null, Q$e = (e) => {
+ if (e === Z$e && Array.isArray(Z4)) return Z4;
var t = [];
return b.Children.forEach(e, (e) => {
- NK(e) || ((0, q$e.isFragment)(e) ? t = t.concat(X$e(e.props.children)) : t.push(e));
- }), Q4 = t, Y$e = e, t;
+ NK(e) || ((0, Y$e.isFragment)(e) ? t = t.concat(Q$e(e.props.children)) : t.push(e));
+ }), Z4 = t, Z$e = e, t;
};
-function Z$e(e, t) {
+function $$e(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => J$e(e)) : [J$e(t)], X$e(e).forEach((e) => {
+ return r = Array.isArray(t) ? t.map((e) => X$e(e)) : [X$e(t)], Q$e(e).forEach((e) => {
var t = bK(e, "type.displayName") || bK(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var $4 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var Q4 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/recharts/es6/util/ActiveShapeUtils.js
-function Q$e(e, t) {
+function e1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86704,30 +86712,30 @@ function Q$e(e, t) {
}
return n;
}
-function $$e(e) {
+function t1e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Q$e(Object(n), !0).forEach(function(t) {
- e1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q$e(Object(n)).forEach(function(t) {
+ t % 2 ? e1e(Object(n), !0).forEach(function(t) {
+ n1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function e1e(e, t, n) {
- return (t = t1e(t)) in e ? Object.defineProperty(e, t, {
+function n1e(e, t, n) {
+ return (t = r1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function t1e(e) {
- var t = n1e(e, "string");
+function r1e(e) {
+ var t = i1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function n1e(e, t) {
+function i1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86737,49 +86745,49 @@ function n1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function r1e(e, t) {
- return $$e($$e({}, t), e);
+function a1e(e, t) {
+ return t1e(t1e({}, t), e);
}
-function i1e(e) {
+function o1e(e) {
return /*#__PURE__*/ (0, b.isValidElement)(e) ? e.props : e;
}
-function a1e(e, t) {
- return /*#__PURE__*/ (0, b.cloneElement)(e, r1e(i1e(e), t));
+function s1e(e, t) {
+ return /*#__PURE__*/ (0, b.cloneElement)(e, a1e(o1e(e), t));
}
-function o1e(e) {
+function c1e(e) {
if ("index" in e) {
var t = e.index;
return typeof t == "number" || typeof t == "string" ? t : void 0;
}
}
-function s1e(e) {
+function l1e(e) {
return "isActive" in e && e.isActive === !0;
}
-function e3(e) {
- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = o1e(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? a1e(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, r1e(t, r)) : /*#__PURE__*/ b.createElement(n, r);
- return s1e(r) ? /*#__PURE__*/ b.createElement(pK, { className: a }, l) : /*#__PURE__*/ b.createElement(pK, { className: s }, l);
+function $4(e) {
+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = c1e(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? s1e(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, a1e(t, r)) : /*#__PURE__*/ b.createElement(n, r);
+ return l1e(r) ? /*#__PURE__*/ b.createElement(pK, { className: a }, l) : /*#__PURE__*/ b.createElement(pK, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var t3 = (e, t, n) => {
+var e3 = (e, t, n) => {
var r = IJ();
return (i, a) => (o) => {
- e?.(i, a, o), r(rJe({
+ e?.(i, a, o), r(aJe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, n3 = (e) => {
+}, t3 = (e) => {
var t = IJ();
return (n, r) => (i) => {
- e?.(n, r, i), t(iJe());
+ e?.(n, r, i), t(oJe());
};
-}, r3 = (e, t, n) => {
+}, n3 = (e, t, n) => {
var r = IJ();
return (i, a) => (o) => {
- e?.(i, a, o), r(oJe({
+ e?.(i, a, o), r(cJe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -86789,10 +86797,10 @@ var t3 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function i3(e) {
+function r3(e) {
var t = e.tooltipEntrySettings, n = IJ(), r = AZ(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n($qe(t)) : i.current !== t && n(eJe({
+ r || (i.current === null ? n(tJe(t)) : i.current !== t && n(nJe({
prev: i.current,
next: t
})), i.current = t);
@@ -86801,12 +86809,12 @@ function i3(e) {
n,
r
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(tJe(i.current)), null);
+ i.current &&= (n(rJe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function a3(e) {
+function i3(e) {
var t = e.legendPayload, n = IJ(), r = AZ(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
r || (i.current === null ? n(rQ(t)) : i.current !== t && n(iQ({
@@ -86821,7 +86829,7 @@ function a3(e) {
i.current &&= (n(aQ(i.current)), null);
}, [n]), null;
}
-function c1e(e) {
+function u1e(e) {
var t = e.legendPayload, n = IJ(), r = J(JZ), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
(r === "centric" || r === "radial") && (i.current === null ? n(rQ(t)) : i.current !== t && n(iQ({
@@ -86838,25 +86846,25 @@ function c1e(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/matchBy.js
-function l1e(e, t) {
- return m1e(e) || p1e(e, t) || d1e(e, t) || u1e();
+function d1e(e, t) {
+ return g1e(e) || h1e(e, t) || p1e(e, t) || f1e();
}
-function u1e() {
+function f1e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function d1e(e, t) {
+function p1e(e, t) {
if (e) {
- if (typeof e == "string") return f1e(e, t);
+ if (typeof e == "string") return m1e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f1e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? m1e(e, t) : void 0;
}
}
-function f1e(e, t) {
+function m1e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function p1e(e, t) {
+function h1e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -86877,11 +86885,11 @@ function p1e(e, t) {
return s;
}
}
-function m1e(e) {
+function g1e(e) {
if (Array.isArray(e)) return e;
}
-var o3 = "index", h1e = "append";
-function s3(e, t) {
+var a3 = "index", _1e = "append";
+function o3(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];
for (var i of n) r.push({
status: "removed",
@@ -86900,14 +86908,14 @@ function s3(e, t) {
}
return r;
}
-function g1e(e, t) {
+function v1e(e, t) {
var n = e.length / t.length;
- return s3(t.map((t, r) => e[Math.floor(r * n)]), t);
+ return o3(t.map((t, r) => e[Math.floor(r * n)]), t);
}
-function _1e(e, t) {
- return s3(t.map((t, n) => e[n]), t);
+function y1e(e, t) {
+ return o3(t.map((t, n) => e[n]), t);
}
-function v1e(e, t) {
+function b1e(e, t) {
for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {
var i = e[r];
if (i != null) {
@@ -86917,8 +86925,8 @@ function v1e(e, t) {
}
return n;
}
-function y1e(e, t, n) {
- var r = v1e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
+function x1e(e, t, n) {
+ var r = b1e(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
var a = n(e, t);
if (a != null) {
var o = r.get(a);
@@ -86926,20 +86934,20 @@ function y1e(e, t, n) {
}
}), o = [];
for (var s of r) {
- var c = l1e(s, 2), l = c[0], u = c[1];
+ var c = d1e(s, 2), l = c[0], u = c[1];
i.has(l) || o.push(u);
}
- return s3(a, t, o);
+ return o3(a, t, o);
}
-function c3(e, t, n) {
+function s3(e, t, n) {
return t == null ? null : e == null ? t.map((e) => ({
status: "added",
next: e
- })) : n === "index" ? g1e(e, t) : n === "append" ? _1e(e, t) : y1e(e, t, n);
+ })) : n === "index" ? v1e(e, t) : n === "append" ? y1e(e, t) : x1e(e, t, n);
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js
-function l3(e, t) {
+function c3(e, t) {
var n = (0, b.useRef)(e), r = (0, b.useRef)(t.current), i = (0, b.useRef)(!0);
n.current !== e && (n.current = e, r.current = t.current, i.current = !1);
var a = (0, b.useCallback)(function(e, n) {
@@ -86953,25 +86961,25 @@ function l3(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimatedItems.js
-function b1e(e, t) {
- return T1e(e) || w1e(e, t) || S1e(e, t) || x1e();
+function S1e(e, t) {
+ return D1e(e) || E1e(e, t) || w1e(e, t) || C1e();
}
-function x1e() {
+function C1e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function S1e(e, t) {
+function w1e(e, t) {
if (e) {
- if (typeof e == "string") return C1e(e, t);
+ if (typeof e == "string") return T1e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? C1e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? T1e(e, t) : void 0;
}
}
-function C1e(e, t) {
+function T1e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function w1e(e, t) {
+function E1e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -86992,11 +87000,11 @@ function w1e(e, t) {
return s;
}
}
-function T1e(e) {
+function D1e(e) {
if (Array.isArray(e)) return e;
}
-function u3(e, t) {
- var n = b1e((0, b.useState)(!1), 2), r = n[0], i = n[1];
+function l3(e, t) {
+ var n = S1e((0, b.useState)(!1), 2), r = n[0], i = n[1];
return {
isAnimating: r,
handleAnimationStart: (0, b.useCallback)(() => {
@@ -87007,9 +87015,9 @@ function u3(e, t) {
}, [t])
};
}
-function d3(e) {
- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = FBe(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);
- return /*#__PURE__*/ b.createElement(QQ, {
+function u3(e) {
+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = LBe(t, n), _ = c3(g, i), v = _.startValue ?? null, y = s3(v, r, f ?? a3);
+ return /*#__PURE__*/ b.createElement(IBe, {
animationId: g,
begin: o,
duration: s,
@@ -87023,25 +87031,25 @@ function d3(e) {
return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);
});
}
-function E1e(e, t) {
- return j1e(e) || A1e(e, t) || O1e(e, t) || D1e();
+function O1e(e, t) {
+ return N1e(e) || M1e(e, t) || A1e(e, t) || k1e();
}
-function D1e() {
+function k1e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function O1e(e, t) {
+function A1e(e, t) {
if (e) {
- if (typeof e == "string") return k1e(e, t);
+ if (typeof e == "string") return j1e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? k1e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? j1e(e, t) : void 0;
}
}
-function k1e(e, t) {
+function j1e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function A1e(e, t) {
+function M1e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -87062,22 +87070,22 @@ function A1e(e, t) {
return s;
}
}
-function j1e(e) {
+function N1e(e) {
if (Array.isArray(e)) return e;
}
-var M1e = b.useId ?? (() => E1e(b.useState(() => OK("uid-")), 1)[0]);
+var P1e = b.useId ?? (() => O1e(b.useState(() => OK("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function N1e(e, t) {
- var n = M1e();
+function F1e(e, t) {
+ var n = P1e();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var P1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
- var t = e.id, n = e.type, r = e.children, i = N1e(`recharts-${n}`, t);
- return /*#__PURE__*/ b.createElement(P1e.Provider, { value: i }, r(i));
-}, F1e = EX({
+var I1e = /*#__PURE__*/ (0, b.createContext)(void 0), d3 = (e) => {
+ var t = e.id, n = e.type, r = e.children, i = F1e(`recharts-${n}`, t);
+ return /*#__PURE__*/ b.createElement(I1e.Provider, { value: i }, r(i));
+}, L1e = EX({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -87125,41 +87133,41 @@ var P1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
prepare: SX()
}
}
-}), p3 = F1e.actions, I1e = p3.addCartesianGraphicalItem, L1e = p3.replaceCartesianGraphicalItem, R1e = p3.removeCartesianGraphicalItem, z1e = p3.addPolarGraphicalItem, B1e = p3.removePolarGraphicalItem, V1e = p3.replacePolarGraphicalItem, H1e = F1e.reducer, m3 = /*#__PURE__*/ (0, b.memo)((e) => {
+}), f3 = L1e.actions, R1e = f3.addCartesianGraphicalItem, z1e = f3.replaceCartesianGraphicalItem, B1e = f3.removeCartesianGraphicalItem, V1e = f3.addPolarGraphicalItem, H1e = f3.removePolarGraphicalItem, U1e = f3.replacePolarGraphicalItem, W1e = L1e.reducer, p3 = /*#__PURE__*/ (0, b.memo)((e) => {
var t = IJ(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- n.current === null ? t(I1e(e)) : n.current !== e && t(L1e({
+ n.current === null ? t(R1e(e)) : n.current !== e && t(z1e({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(R1e(n.current)), null);
+ n.current &&= (t(B1e(n.current)), null);
}, [t]), null;
-}), U1e = /*#__PURE__*/ (0, b.memo)((e) => {
+}), G1e = /*#__PURE__*/ (0, b.memo)((e) => {
var t = IJ(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- n.current === null ? t(z1e(e)) : n.current !== e && t(V1e({
+ n.current === null ? t(V1e(e)) : n.current !== e && t(U1e({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(B1e(n.current)), null);
+ n.current &&= (t(H1e(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function W1e(e) {
+function K1e(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function G1e(e) {
- if (Yq(e) && e.length !== 0) return W1e(U4(e));
+function q1e(e) {
+ if (Yq(e) && e.length !== 0) return K1e(H4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var K1e = ["points"];
-function q1e(e, t) {
+var J1e = ["points"];
+function Y1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87169,30 +87177,30 @@ function q1e(e, t) {
}
return n;
}
-function h3(e) {
+function m3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q1e(Object(n), !0).forEach(function(t) {
- J1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q1e(Object(n)).forEach(function(t) {
+ t % 2 ? Y1e(Object(n), !0).forEach(function(t) {
+ X1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function J1e(e, t, n) {
- return (t = Y1e(t)) in e ? Object.defineProperty(e, t, {
+function X1e(e, t, n) {
+ return (t = Z1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Y1e(e) {
- var t = X1e(e, "string");
+function Z1e(e) {
+ var t = Q1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function X1e(e, t) {
+function Q1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87202,25 +87210,25 @@ function X1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function g3() {
- return g3 = 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;
- }, g3.apply(null, arguments);
+ }, h3.apply(null, arguments);
}
-function Z1e(e, t) {
+function $1e(e, t) {
if (e == null) return {};
- var n, r, i = Q1e(e, t);
+ var n, r, i = e0e(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 Q1e(e, t) {
+function e0e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -87229,23 +87237,23 @@ function Q1e(e, t) {
}
return n;
}
-function $1e(e) {
+function t0e(e) {
var t = e.option, n = e.dotProps, r = e.className;
if (/*#__PURE__*/ (0, b.isValidElement)(t)) return /*#__PURE__*/ (0, b.cloneElement)(t, n);
if (typeof t == "function") return t(n);
var i = Fv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
- var o = Z1e(a, K1e);
- return /*#__PURE__*/ b.createElement(N4, g3({}, o, { className: i }));
+ var o = $1e(a, J1e);
+ return /*#__PURE__*/ b.createElement(M4, h3({}, o, { className: i }));
}
-function e0e(e, t) {
+function n0e(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function _3(e) {
- var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? T$.scatter : l;
- if (!e0e(t, n)) return null;
- var d = $4(n), f = kPe(n), p = t.map((e, r) => {
- var s = h3(h3(h3({ r: 3 }, o), f), {}, {
+function g3(e) {
+ var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? w$.scatter : l;
+ if (!n0e(t, n)) return null;
+ var d = Q4(n), f = APe(n), p = t.map((e, r) => {
+ var s = m3(m3(m3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -87254,18 +87262,18 @@ function _3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ b.createElement($1e, {
+ return /*#__PURE__*/ b.createElement(t0e, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(pK, g3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(i4, { zIndex: u }, /*#__PURE__*/ b.createElement(pK, h3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function t0e(e, t) {
+function r0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87275,30 +87283,30 @@ function t0e(e, t) {
}
return n;
}
-function v3(e) {
+function _3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? t0e(Object(n), !0).forEach(function(t) {
- n0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t0e(Object(n)).forEach(function(t) {
+ t % 2 ? r0e(Object(n), !0).forEach(function(t) {
+ i0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function n0e(e, t, n) {
- return (t = r0e(t)) in e ? Object.defineProperty(e, t, {
+function i0e(e, t, n) {
+ return (t = a0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r0e(e) {
- var t = i0e(e, "string");
+function a0e(e) {
+ var t = o0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i0e(e, t) {
+function o0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87308,7 +87316,7 @@ function i0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var a0e = EX({
+var s0e = EX({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -87379,7 +87387,7 @@ var a0e = EX({
var o = a.widthHistory || [];
if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.width && Math.abs(i - (o[0] ?? 0)) <= 1) return;
var s = [...o, i].slice(-3);
- e.yAxis[r] = v3(v3({}, a), {}, {
+ e.yAxis[r] = _3(_3({}, a), {}, {
width: i,
widthHistory: s
});
@@ -87391,16 +87399,16 @@ var a0e = EX({
var o = a.heightHistory || [];
if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.height && Math.abs(i - (o[0] ?? 0)) <= 1) return;
var s = [...o, i].slice(-3);
- e.xAxis[r] = v3(v3({}, a), {}, {
+ e.xAxis[r] = _3(_3({}, a), {}, {
height: i,
heightHistory: s
});
}
}
}
-}), y3 = a0e.actions, o0e = y3.addXAxis, s0e = y3.replaceXAxis, c0e = y3.removeXAxis, l0e = y3.addYAxis, u0e = y3.replaceYAxis, d0e = y3.removeYAxis;
-y3.addZAxis, y3.replaceZAxis, y3.removeZAxis;
-var f0e = y3.updateYAxisWidth, p0e = y3.updateXAxisHeight, m0e = a0e.reducer, h0e = Y([
+}), v3 = s0e.actions, c0e = v3.addXAxis, l0e = v3.replaceXAxis, u0e = v3.removeXAxis, d0e = v3.addYAxis, f0e = v3.replaceYAxis, p0e = v3.removeYAxis;
+v3.addZAxis, v3.replaceZAxis, v3.removeZAxis;
+var m0e = v3.updateYAxisWidth, h0e = v3.updateXAxisHeight, g0e = s0e.reducer, _0e = Y([
Y([DZ], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -87416,10 +87424,10 @@ var f0e = y3.updateYAxisWidth, p0e = y3.updateXAxisHeight, m0e = a0e.reducer, h0
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), b3 = () => J(h0e), g0e = () => J(nYe);
+}), y3 = () => J(_0e), v0e = () => J(iYe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function _0e(e, t) {
+function y0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87429,30 +87437,30 @@ function _0e(e, t) {
}
return n;
}
-function x3(e) {
+function b3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _0e(Object(n), !0).forEach(function(t) {
- v0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _0e(Object(n)).forEach(function(t) {
+ t % 2 ? y0e(Object(n), !0).forEach(function(t) {
+ b0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function v0e(e, t, n) {
- return (t = y0e(t)) in e ? Object.defineProperty(e, t, {
+function b0e(e, t, n) {
+ return (t = x0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function y0e(e) {
- var t = b0e(e, "string");
+function x0e(e) {
+ var t = S0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function b0e(e, t) {
+function S0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87462,10 +87470,10 @@ function b0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var x0e = (e) => {
+var C0e = (e) => {
var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;
if (i === !1 || t.x == null || t.y == null) return null;
- var s = x3(x3(x3({}, {
+ var s = b3(b3(b3({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -87476,17 +87484,17 @@ var x0e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), cK(i)), Bq(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);
+ }), cK(i)), Bq(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(M4, s);
return /*#__PURE__*/ b.createElement(pK, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function S3(e) {
- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? T$.activeDot : o, c = J(X2), l = g0e();
+function x3(e) {
+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? w$.activeDot : o, c = J(Y2), l = v0e();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return NK(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(x0e, {
+ return NK(u) ? null : /*#__PURE__*/ b.createElement(i4, { zIndex: s }, /*#__PURE__*/ b.createElement(C0e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -87497,7 +87505,7 @@ function S3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function S0e(e, t) {
+function w0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87507,30 +87515,30 @@ function S0e(e, t) {
}
return n;
}
-function C3(e) {
+function S3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S0e(Object(n), !0).forEach(function(t) {
- C0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0e(Object(n)).forEach(function(t) {
+ t % 2 ? w0e(Object(n), !0).forEach(function(t) {
+ T0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function C0e(e, t, n) {
- return (t = w0e(t)) in e ? Object.defineProperty(e, t, {
+function T0e(e, t, n) {
+ return (t = E0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function w0e(e) {
- var t = T0e(e, "string");
+function E0e(e) {
+ var t = D0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function T0e(e, t) {
+function D0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87540,16 +87548,16 @@ function T0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E0e = (e, t) => z4(e, "radiusAxis", t), D0e = Y([E0e], (e) => {
+var O0e = (e, t) => R4(e, "radiusAxis", t), k0e = Y([O0e], (e) => {
if (e != null) return { scale: e };
-}), O0e = Y([M$, E0e], (e, t) => {
- if (e != null && t != null) return C3(C3({}, e), {}, { scale: t });
-}), k0e = (e, t, n, r) => B4(e, "radiusAxis", t, r), A0e = (e, t, n) => j$(e, n), j0e = (e, t, n) => z4(e, "angleAxis", n), M0e = Y([A0e, j0e], (e, t) => {
- if (e != null && t != null) return C3(C3({}, e), {}, { scale: t });
-}), N0e = (e, t, n, r) => B4(e, "angleAxis", n, r), P0e = Y([
- A0e,
- j0e,
- F$
+}), A0e = Y([j$, O0e], (e, t) => {
+ if (e != null && t != null) return S3(S3({}, e), {}, { scale: t });
+}), j0e = (e, t, n, r) => z4(e, "radiusAxis", t, r), M0e = (e, t, n) => A$(e, n), N0e = (e, t, n) => R4(e, "angleAxis", n), P0e = Y([M0e, N0e], (e, t) => {
+ if (e != null && t != null) return S3(S3({}, e), {}, { scale: t });
+}), F0e = (e, t, n, r) => z4(e, "angleAxis", n, r), I0e = Y([
+ M0e,
+ N0e,
+ P$
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -87558,40 +87566,40 @@ var E0e = (e, t) => z4(e, "radiusAxis", t), D0e = Y([E0e], (e) => {
cx: n.cx,
cy: n.cy
};
-}), F0e = (e, t, n, r, i) => i, I0e = Y([
+}), L0e = (e, t, n, r, i) => i, R0e = Y([
JZ,
- O0e,
- k0e,
- M0e,
- N0e
-], (e, t, n, r, i) => sZ(e, "radiusAxis") ? _Z(t, n, !1) : _Z(r, i, !1)), L0e = Y([
- D0e,
+ A0e,
+ j0e,
P0e,
- d$,
- Y([P4, F0e], (e, t) => {
+ F0e
+], (e, t, n, r, i) => sZ(e, "radiusAxis") ? _Z(t, n, !1) : _Z(r, i, !1)), z0e = Y([
+ k0e,
+ I0e,
+ u$,
+ Y([N4, L0e], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- I0e
+ R0e
], (e, t, n, r, i) => {
var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;
- if (e != null && t != null && a != null && i != null && r != null) return J0e({
+ if (e != null && t != null && a != null && i != null && r != null) return X0e({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), R0e = ["id"];
-function w3() {
- return w3 = Object.assign ? Object.assign.bind() : function(e) {
+}), B0e = ["id"];
+function C3() {
+ return C3 = 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;
- }, w3.apply(null, arguments);
+ }, C3.apply(null, arguments);
}
-function z0e(e, t) {
+function V0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87601,30 +87609,30 @@ function z0e(e, t) {
}
return n;
}
-function T3(e) {
+function w3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? z0e(Object(n), !0).forEach(function(t) {
- B0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z0e(Object(n)).forEach(function(t) {
+ t % 2 ? V0e(Object(n), !0).forEach(function(t) {
+ H0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function B0e(e, t, n) {
- return (t = V0e(t)) in e ? Object.defineProperty(e, t, {
+function H0e(e, t, n) {
+ return (t = U0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function V0e(e) {
- var t = H0e(e, "string");
+function U0e(e) {
+ var t = W0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function H0e(e, t) {
+function W0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -87634,16 +87642,16 @@ function H0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U0e(e, t) {
+function G0e(e, t) {
if (e == null) return {};
- var n, r, i = W0e(e, t);
+ var n, r, i = K0e(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 W0e(e, t) {
+function K0e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -87652,20 +87660,20 @@ function W0e(e, t) {
}
return n;
}
-function E3(e, t) {
+function T3(e, t) {
return e && e !== "none" ? e : t;
}
-var G0e = (e) => {
+var q0e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: E3(r, i),
+ color: T3(r, i),
value: yZ(n, t),
payload: e
}];
-}, K0e = /*#__PURE__*/ b.memo((e) => {
+}, J0e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
getPosition: IK,
@@ -87678,18 +87686,18 @@ var G0e = (e) => {
name: yZ(a, t),
hide: o,
type: s,
- color: E3(n, i),
+ color: T3(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ b.createElement(r3, { tooltipEntrySettings: l });
});
-function q0e(e) {
+function Y0e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = sK(U0e(n, R0e));
- return /*#__PURE__*/ b.createElement(_3, {
+ var a = sK(G0e(n, B0e));
+ return /*#__PURE__*/ b.createElement(g3, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -87698,11 +87706,11 @@ function q0e(e) {
baseProps: a
});
}
-function J0e(e) {
+function X0e(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = oZ(e, n.dataKey, r), d = oZ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? G1e(d) : d, m = NK(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(T3(T3({}, i$(o, s, m, f)), {}, {
+ var a = oZ(e, n.dataKey, r), d = oZ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? q1e(d) : d, m = NK(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(w3(w3({}, r$(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -87716,7 +87724,7 @@ function J0e(e) {
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
var n = e.value[0], r = NK(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(T3(T3({}, e), {}, { radius: r }, i$(o, s, r, e.angle)));
+ d.push(w3(w3({}, e), {}, { radius: r }, r$(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -87724,7 +87732,7 @@ function J0e(e) {
baseLinePoints: d
};
}
-function Y0e(e) {
+function Z0e(e) {
var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {
var t = {
x: e.x,
@@ -87734,7 +87742,7 @@ function Y0e(e) {
upperWidth: 0,
height: 0
};
- return T3(T3({}, t), {}, {
+ return w3(w3({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -87742,12 +87750,12 @@ function Y0e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ b.createElement(E4, { value: t ? i : void 0 }, r);
}
-function X0e(e) {
+function Q0e(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(AQe, w3({}, lK(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, w3(w3({}, r), {}, { points: t })) : typeof i == "function" ? i(w3(w3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(MQe, C3({}, lK(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -87760,24 +87768,24 @@ function X0e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ b.createElement(pK, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(q0e, {
+ return /*#__PURE__*/ b.createElement(pK, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(Y0e, {
props: r,
points: t
}));
}
-var Z0e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [T3(T3({}, e.next), {}, {
+var $0e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [w3(w3({}, e.next), {}, {
x: jK(e.prev.x, e.next.x, t),
y: jK(e.prev.y, e.next.y, t)
-})] : [T3(T3({}, e.next), {}, {
+})] : [w3(w3({}, e.next), {}, {
x: jK(e.next.cx, e.next.x, t),
y: jK(e.next.cy, e.next.y, t)
})]);
-function Q0e(e) {
- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = QZ();
- return S == null ? null : /*#__PURE__*/ b.createElement(Y0e, {
+function e2e(e) {
+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = c3(t, r), h = m.startValue, g = s3(h ?? null, a, u), _ = l3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = QZ();
+ return S == null ? null : /*#__PURE__*/ b.createElement(Z0e, {
showLabels: !v,
points: i
- }, /*#__PURE__*/ b.createElement(d3, {
+ }, /*#__PURE__*/ b.createElement(u3, {
animationInput: t,
animationIdPrefix: "recharts-radar-",
items: i,
@@ -87793,62 +87801,62 @@ function Q0e(e) {
layout: S
}, (e, n) => {
var r = n === 1 ? a : d(g, n, S);
- return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(X0e, {
+ return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(Q0e, {
points: e,
baseLinePoints: r,
props: t
});
- }), /*#__PURE__*/ b.createElement(k4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ b.createElement(O4, { label: t.label }), t.children);
}
-function $0e(e) {
+function t2e(e) {
var t = (0, b.useRef)(void 0), n = (0, b.useRef)(void 0);
- return /*#__PURE__*/ b.createElement(Q0e, {
+ return /*#__PURE__*/ b.createElement(e2e, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var e2e = {
+var n2e = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: o3,
- animationInterpolateFn: Z0e,
+ animationMatchBy: a3,
+ animationInterpolateFn: $0e,
dot: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: T$.area
+ zIndex: w$.area
};
-function t2e(e) {
+function r2e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
var i = Fv("recharts-radar", n);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: i }, /*#__PURE__*/ b.createElement($0e, e)), /*#__PURE__*/ b.createElement(S3, {
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: i }, /*#__PURE__*/ b.createElement(t2e, e)), /*#__PURE__*/ b.createElement(x3, {
points: r,
- mainColor: E3(e.stroke, e.fill),
+ mainColor: T3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function n2e(e) {
- var t = AZ(), n = J((n) => L0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ b.createElement(t2e, w3({}, e, {
+function i2e(e) {
+ var t = AZ(), n = J((n) => z0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ b.createElement(r2e, C3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function D3(e) {
- var t = Uq(e, e2e);
- return /*#__PURE__*/ b.createElement(f3, {
+function E3(e) {
+ var t = Uq(e, n2e);
+ return /*#__PURE__*/ b.createElement(d3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(U1e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(G1e, {
type: "radar",
id: e,
data: void 0,
@@ -87856,7 +87864,7 @@ function D3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ b.createElement(c1e, { legendPayload: G0e(t) }), /*#__PURE__*/ b.createElement(K0e, {
+ }), /*#__PURE__*/ b.createElement(u1e, { legendPayload: q0e(t) }), /*#__PURE__*/ b.createElement(J0e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -87865,22 +87873,22 @@ function D3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(n2e, w3({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(i2e, C3({}, t, { id: e }))));
}
-D3.displayName = "Radar";
+E3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-var r2e = ["option"];
-function i2e(e, t) {
+var a2e = ["option"];
+function o2e(e, t) {
if (e == null) return {};
- var n, r, i = a2e(e, t);
+ var n, r, i = s2e(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 a2e(e, t) {
+function s2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -87889,39 +87897,39 @@ function a2e(e, t) {
}
return n;
}
-var o2e = c$;
-function s2e(e) {
+var c2e = s$;
+function l2e(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function O3(e) {
- var t = e.option, n = i2e(e, r2e);
- return /*#__PURE__*/ b.createElement(e3, {
+function D3(e) {
+ var t = e.option, n = o2e(e, a2e);
+ return /*#__PURE__*/ b.createElement($4, {
option: t,
- DefaultShape: o2e,
+ DefaultShape: c2e,
shapeProps: n
});
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-function c2e(e, t) {
- return p2e(e) || f2e(e, t) || u2e(e, t) || l2e();
+function u2e(e, t) {
+ return h2e(e) || m2e(e, t) || f2e(e, t) || d2e();
}
-function l2e() {
+function d2e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function u2e(e, t) {
+function f2e(e, t) {
if (e) {
- if (typeof e == "string") return d2e(e, t);
+ if (typeof e == "string") return p2e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d2e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? p2e(e, t) : void 0;
}
}
-function d2e(e, t) {
+function p2e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function f2e(e, t) {
+function m2e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -87942,33 +87950,33 @@ function f2e(e, t) {
return s;
}
}
-function p2e(e) {
+function h2e(e) {
if (Array.isArray(e)) return e;
}
-var m2e = (e, t, n) => {
+var g2e = (e, t, n) => {
var r = n ?? e;
if (!NK(r)) return kK(r, t, 0);
-}, h2e = (e, t, n) => {
- var r = {}, i = e.filter(B$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+}, _2e = (e, t, n) => {
+ var r = {}, i = e.filter(z$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
- var r = c2e(e, 2), i = r[0], a = r[1];
+ var r = u2e(e, 2), i = r[0], a = r[1];
return {
stackId: i,
dataKeys: a.map((e) => e.dataKey),
- barSize: m2e(t, n, a[0]?.barSize)
+ barSize: g2e(t, n, a[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: m2e(t, n, e.barSize)
+ barSize: g2e(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function g2e(e, t) {
+function v2e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -87978,30 +87986,30 @@ function g2e(e, t) {
}
return n;
}
-function k3(e) {
+function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g2e(Object(n), !0).forEach(function(t) {
- _2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2e(Object(n)).forEach(function(t) {
+ t % 2 ? v2e(Object(n), !0).forEach(function(t) {
+ y2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _2e(e, t, n) {
- return (t = v2e(t)) in e ? Object.defineProperty(e, t, {
+function y2e(e, t, n) {
+ return (t = b2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function v2e(e) {
- var t = y2e(e, "string");
+function b2e(e) {
+ var t = x2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function y2e(e, t) {
+function x2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88011,7 +88019,7 @@ function y2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function b2e(e, t, n, r, i) {
+function S2e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
var o = kK(e, n, 0, !0), s, c = [];
@@ -88051,11 +88059,11 @@ function b2e(e, t, n, r, i) {
return s;
}
}
-var x2e = (e, t, n, r, i, a, o) => {
- var s = NK(o) ? t : o, c = b2e(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => k3(k3({}, e), {}, { position: k3(k3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, S2e = (e, t) => {
- var n = R$(t);
+var C2e = (e, t, n, r, i, a, o) => {
+ var s = NK(o) ? t : o, c = S2e(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => O3(O3({}, e), {}, { position: O3(O3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, w2e = (e, t) => {
+ var n = L$(t);
if (e && n != null && t != null) {
var r = t.stackId;
if (r != null) {
@@ -88066,7 +88074,7 @@ var x2e = (e, t, n, r, i, a, o) => {
}
}
}
-}, C2e = (e, t) => {
+}, T2e = (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;
@@ -88074,7 +88082,7 @@ var x2e = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function w2e(e, t) {
+function E2e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88084,30 +88092,30 @@ function w2e(e, t) {
}
return n;
}
-function A3(e) {
+function k3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w2e(Object(n), !0).forEach(function(t) {
- T2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w2e(Object(n)).forEach(function(t) {
+ t % 2 ? E2e(Object(n), !0).forEach(function(t) {
+ D2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E2e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function T2e(e, t, n) {
- return (t = E2e(t)) in e ? Object.defineProperty(e, t, {
+function D2e(e, t, n) {
+ return (t = O2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function E2e(e) {
- var t = D2e(e, "string");
+function O2e(e) {
+ var t = k2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function D2e(e, t) {
+function k2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88117,81 +88125,81 @@ function D2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return A3(A3({}, e), {}, { scale: t });
-}), M3 = (e, t) => RQe(e, "radiusAxis", t, !1), N3 = Y([(e, t, n) => j$(e, n), (e, t, n) => z4(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return A3(A3({}, e), {}, { scale: t });
-}), P3 = (e, t, n) => B4(e, "angleAxis", n, !1), F3 = Y([P4, (e, t, n, r) => r], (e, t) => {
+var A3 = Y([(e, t) => j$(e, t), (e, t) => R4(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return k3(k3({}, e), {}, { scale: t });
+}), j3 = (e, t) => BQe(e, "radiusAxis", t, !1), M3 = Y([(e, t, n) => A$(e, n), (e, t, n) => R4(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return k3(k3({}, e), {}, { scale: t });
+}), N3 = (e, t, n) => z4(e, "angleAxis", n, !1), P3 = Y([N4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), O2e = Y([
+}), A2e = Y([
JZ,
+ A3,
j3,
M3,
- N3,
- P3
-], (e, t, n, r, i) => sZ(e, "radiusAxis") ? _Z(t, n, !1) : _Z(r, i, !1)), k2e = Y([
- N3,
- j3,
+ N3
+], (e, t, n, r, i) => sZ(e, "radiusAxis") ? _Z(t, n, !1) : _Z(r, i, !1)), j2e = Y([
+ M3,
+ A3,
JZ
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return mZ({ numericAxis: r });
-}), A2e = (e, t, n, r, i) => i, j2e = (e, t, n, r, i) => n, M2e = (e, t, n, r, i) => t, N2e = (e, t, n, r, i) => r.maxBarSize, P2e = (e) => e.type === "radialBar", F2e = Y([Y([
+}), M2e = (e, t, n, r, i) => i, N2e = (e, t, n, r, i) => n, P2e = (e, t, n, r, i) => t, F2e = (e, t, n, r, i) => r.maxBarSize, I2e = (e) => e.type === "radialBar", L2e = Y([Y([
Y([
Y([
JZ,
- P4,
- j2e,
- M2e
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(P2e)),
- uHe,
+ N4,
+ N2e,
+ P2e
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(I2e)),
+ fHe,
() => void 0
- ], h2e),
+ ], _2e),
+ _$,
+ dHe,
v$,
- lHe,
- y$,
Y([
JZ,
- v$,
+ _$,
+ M3,
N3,
- P3,
+ A3,
j3,
- M3,
- N2e
+ F2e
], (e, t, n, r, i, a, o) => {
var s = NK(o) ? t : o;
return e === "centric" ? _Z(n, r, !0) ?? s ?? 0 : _Z(i, a, !0) ?? s ?? 0;
}),
- O2e,
- N2e
-], x2e), F3], C2e), I2e = Y([F4], (e) => e.filter(P2e).filter(B$)), L2e = Y([
+ A2e,
+ F2e
+], C2e), P3], T2e), R2e = Y([P4], (e) => e.filter(I2e).filter(z$)), z2e = Y([
Y([
- I2e,
- d$,
- a2
- ], z$),
- I2e,
- b$,
- x$
-], s2), R2e = Y([
+ R2e,
+ u$,
+ i2
+ ], R$),
+ R2e,
+ y$,
+ b$
+], o2), B2e = Y([
+ M3,
N3,
- P3,
+ A3,
j3,
- M3,
- u$,
- F3,
- O2e,
- JZ,
- k2e,
- F$,
+ l$,
+ P3,
A2e,
- F2e,
- Y([(e, t, n) => JZ(e) === "centric" ? L2e(e, "radiusAxis", t) : L2e(e, "angleAxis", n), F3], S2e)
+ JZ,
+ j2e,
+ P$,
+ M2e,
+ L2e,
+ Y([(e, t, n) => JZ(e) === "centric" ? z2e(e, "radiusAxis", t) : z2e(e, "angleAxis", n), P3], w2e)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;
- return a4e({
+ return s4e({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -88212,7 +88220,7 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), z2e = Y([d$, (e, t) => t], (e, t) => {
+}), V2e = Y([u$, (e, t) => t], (e, t) => {
var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -88225,31 +88233,31 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function B2e(e, t) {
+function H2e(e, t) {
return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && nZ(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var V2e = [
+var U2e = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], H2e = [
+], W2e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], U2e = ["value", "background"];
-function I3() {
- return I3 = Object.assign ? Object.assign.bind() : function(e) {
+], G2e = ["value", "background"];
+function F3() {
+ return F3 = 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;
- }, I3.apply(null, arguments);
+ }, F3.apply(null, arguments);
}
-function W2e(e, t) {
+function K2e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88259,30 +88267,30 @@ function W2e(e, t) {
}
return n;
}
-function L3(e) {
+function I3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? W2e(Object(n), !0).forEach(function(t) {
- G2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2e(Object(n)).forEach(function(t) {
+ t % 2 ? K2e(Object(n), !0).forEach(function(t) {
+ q2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K2e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function G2e(e, t, n) {
- return (t = K2e(t)) in e ? Object.defineProperty(e, t, {
+function q2e(e, t, n) {
+ return (t = J2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function K2e(e) {
- var t = q2e(e, "string");
+function J2e(e) {
+ var t = Y2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function q2e(e, t) {
+function Y2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88292,16 +88300,16 @@ function q2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function R3(e, t) {
+function L3(e, t) {
if (e == null) return {};
- var n, r, i = J2e(e, t);
+ var n, r, i = X2e(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 J2e(e, t) {
+function X2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -88310,8 +88318,8 @@ function J2e(e, t) {
}
return n;
}
-var Y2e = [];
-function X2e(e) {
+var Z2e = [];
+function Q2e(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -88328,15 +88336,15 @@ function X2e(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ b.createElement(yQe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ b.createElement(xQe, { value: t ? i : void 0 }, r);
}
-function Z2e(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = R3(n, V2e), f = sK(d), p = J(X2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, H2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);
- return t == null ? null : /*#__PURE__*/ b.createElement(X2e, {
+function $2e(e) {
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = L3(n, U2e), f = sK(d), p = J(Y2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = L3(n, W2e), v = e3(m, n.dataKey, u), y = t3(g), x = n3(h, n.dataKey, u);
+ return t == null ? null : /*#__PURE__*/ b.createElement(Q2e, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: s2e(l) }, e), Vq(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = I3(I3(I3(I3({}, f), {}, { cornerRadius: l2e(l) }, e), Vq(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -88350,19 +88358,19 @@ function Z2e(e) {
option: n && c != null ? c : s,
index: t
});
- return n ? /*#__PURE__*/ b.createElement(a4, {
- zIndex: T$.activeBar,
+ return n ? /*#__PURE__*/ b.createElement(i4, {
+ zIndex: w$.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ b.createElement(O3, h)) : /*#__PURE__*/ b.createElement(O3, I3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
- }), /*#__PURE__*/ b.createElement(k4, { label: n.label }), n.children);
+ }, /*#__PURE__*/ b.createElement(D3, h)) : /*#__PURE__*/ b.createElement(D3, F3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
+ }), /*#__PURE__*/ b.createElement(O4, { label: n.label }), n.children);
}
-var Q2e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [L3(L3({}, e.next), {}, {
+var e4e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [I3(I3({}, e.next), {}, {
startAngle: jK(e.prev.startAngle, e.next.startAngle, t),
endAngle: jK(e.prev.endAngle, e.next.endAngle, t)
-})] : [L3(L3({}, e.next), {}, { endAngle: jK(e.next.startAngle, e.next.endAngle, t) })]);
-function $2e(e) {
- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = QZ();
- return m == null ? null : /*#__PURE__*/ b.createElement(d3, {
+})] : [I3(I3({}, e.next), {}, { endAngle: jK(e.next.startAngle, e.next.endAngle, t) })]);
+function t4e(e) {
+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = l3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = QZ();
+ return m == null ? null : /*#__PURE__*/ b.createElement(u3, {
animationInput: t,
animationIdPrefix: "recharts-radialbar-",
items: r,
@@ -88376,7 +88384,7 @@ function $2e(e) {
animationInterpolateFn: t.animationInterpolateFn,
animationMatchBy: t.animationMatchBy,
layout: m
- }, (e, n, r) => /*#__PURE__*/ b.createElement(Z2e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement($2e, {
sectors: e,
allOtherRadialBarProps: t,
showLabels: !d,
@@ -88385,18 +88393,18 @@ function $2e(e) {
isEntrance: r
}));
}
-function e4e(e) {
+function n4e(e) {
var t = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement($2e, {
+ return /*#__PURE__*/ b.createElement(t4e, {
props: e,
previousSectorsRef: t
});
}
-function t4e(e) {
- var t = J((t) => z2e(t, e.legendType));
- return /*#__PURE__*/ b.createElement(c1e, { legendPayload: t ?? [] });
+function r4e(e) {
+ var t = J((t) => V2e(t, e.legendType));
+ return /*#__PURE__*/ b.createElement(u1e, { legendPayload: t ?? [] });
}
-var n4e = /*#__PURE__*/ b.memo((e) => {
+var i4e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
getPosition: IK,
@@ -88415,33 +88423,33 @@ var n4e = /*#__PURE__*/ b.memo((e) => {
formatter: l
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: u });
-}), r4e = class extends b.PureComponent {
+ return /*#__PURE__*/ b.createElement(r3, { tooltipEntrySettings: u });
+}), a4e = class extends b.PureComponent {
renderBackground(e) {
if (e == null) return null;
var t = this.props.cornerRadius, n = cK(this.props.background);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: B2e(this.props.background, T$.barBackground) }, e.map((e, r) => {
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: H2e(this.props.background, w$.barBackground) }, e.map((e, r) => {
e.value;
- var i = e.background, a = R3(e, U2e);
+ var i = e.background, a = L3(e, G2e);
if (!i) return null;
- var o = L3(L3(L3(L3(L3({ cornerRadius: s2e(t) }, a), {}, { fill: "#eee" }, i), n), Vq(this.props, e, r)), {}, {
+ var o = I3(I3(I3(I3(I3({ cornerRadius: l2e(t) }, a), {}, { fill: "#eee" }, i), n), Vq(this.props, e, r)), {}, {
index: r,
className: Fv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
- return /*#__PURE__*/ b.createElement(O3, I3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));
+ return /*#__PURE__*/ b.createElement(D3, F3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));
}));
}
render() {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
var a = Fv("recharts-area", r);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: a }, i && /*#__PURE__*/ b.createElement(pK, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(pK, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(e4e, this.props))));
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: a }, i && /*#__PURE__*/ b.createElement(pK, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(pK, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(n4e, this.props))));
}
};
-function i4e(e) {
- var t = b.useMemo(() => Z$e(e.children, p4), [e.children]), n = b.useMemo(() => ({
+function o4e(e) {
+ var t = b.useMemo(() => $$e(e.children, f4), [e.children]), n = b.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
@@ -88462,8 +88470,8 @@ function i4e(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = J((r) => R2e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? Y2e;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(n4e, {
+ ]), r = J((r) => B2e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? Z2e;
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i4e, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -88474,15 +88482,15 @@ function i4e(e) {
tooltipType: e.tooltipType,
formatter: e.formatter,
id: e.id
- }), /*#__PURE__*/ b.createElement(r4e, I3({}, e, { sectors: r })));
+ }), /*#__PURE__*/ b.createElement(a4e, F3({}, e, { sectors: r })));
}
-var z3 = {
+var R3 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: h1e,
- animationInterpolateFn: Q2e,
+ animationMatchBy: _1e,
+ animationInterpolateFn: e4e,
background: !1,
cornerIsExternal: !1,
cornerRadius: 0,
@@ -88493,12 +88501,12 @@ var z3 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- shape: o2e,
- zIndex: T$.bar
+ shape: c2e,
+ zIndex: w$.bar
};
-function a4e(e) {
+function s4e(e) {
var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;
- return g == null || l == null ? Y2e : (t ?? []).map((e, t) => {
+ return g == null || l == null ? Z2e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
if (n ? b = uZ(n[r + t], i) : (b = oZ(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 = pZ({
@@ -88539,7 +88547,7 @@ function a4e(e) {
S += k;
}
}
- return L3(L3(L3({}, e), T), {}, {
+ return I3(I3(I3({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -88551,38 +88559,38 @@ function a4e(e) {
}, _ && _[t] && _[t].props);
});
}
-function B3(e) {
- var t = Uq(e, z3);
- return /*#__PURE__*/ b.createElement(f3, {
+function z3(e) {
+ var t = Uq(e, R3);
+ return /*#__PURE__*/ b.createElement(d3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(U1e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(G1e, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? z3.hide,
- angleAxisId: t.angleAxisId ?? z3.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? z3.radiusAxisId,
+ hide: t.hide ?? R3.hide,
+ angleAxisId: t.angleAxisId ?? R3.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? R3.radiusAxisId,
stackId: dZ(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ b.createElement(t4e, t), /*#__PURE__*/ b.createElement(i4e, I3({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(r4e, t), /*#__PURE__*/ b.createElement(o4e, F3({}, t, { id: e }))));
}
-B3.displayName = "RadialBar";
+z3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var o4e = (e) => {
+var c4e = (e) => {
var t = e.chartData, n = IJ(), r = AZ();
- return (0, b.useEffect)(() => r ? () => {} : (n(sXe(t)), () => {
- n(sXe(void 0));
+ return (0, b.useEffect)(() => r ? () => {} : (n(lXe(t)), () => {
+ n(lXe(void 0));
}), [
t,
n,
r
]), null;
-}, s4e = {
+}, l4e = {
x: 0,
y: 0,
width: 0,
@@ -88593,15 +88601,15 @@ var o4e = (e) => {
bottom: 0,
left: 0
}
-}, c4e = EX({
+}, u4e = EX({
name: "brush",
- initialState: s4e,
+ initialState: l4e,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? s4e : t.payload;
+ return t.payload == null ? l4e : t.payload;
} }
});
-c4e.actions.setBrushSettings;
-var l4e = c4e.reducer, u4e = (e, t) => {
+u4e.actions.setBrushSettings;
+var d4e = u4e.reducer, f4e = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return {
x: Math.min(n, i),
@@ -88609,9 +88617,9 @@ var l4e = c4e.reducer, u4e = (e, t) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, d4e = (e) => {
+}, p4e = (e) => {
var t = e.x1, n = e.y1, r = e.x2, i = e.y2;
- return u4e({
+ return f4e({
x: t,
y: n
}, {
@@ -88619,13 +88627,13 @@ var l4e = c4e.reducer, u4e = (e, t) => {
y: i
});
};
-function f4e(e) {
+function m4e(e) {
return (e % 180 + 180) % 180;
}
-var p4e = function(e) {
- var t = e.width, n = e.height, r = f4e(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 h4e = function(e) {
+ var t = e.width, n = e.height, r = m4e(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);
-}, m4e = EX({
+}, g4e = EX({
name: "referenceElements",
initialState: {
dots: [],
@@ -88655,30 +88663,30 @@ var p4e = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), V3 = m4e.actions;
-V3.addDot, V3.removeDot, V3.addArea, V3.removeArea;
-var h4e = V3.addLine, g4e = V3.removeLine, _4e = m4e.reducer;
+}), B3 = g4e.actions;
+B3.addDot, B3.removeDot, B3.addArea, B3.removeArea;
+var _4e = B3.addLine, v4e = B3.removeLine, y4e = g4e.reducer;
//#endregion
//#region node_modules/recharts/es6/container/ClipPathProvider.js
-function v4e(e, t) {
- return C4e(e) || S4e(e, t) || b4e(e, t) || y4e();
+function b4e(e, t) {
+ return T4e(e) || w4e(e, t) || S4e(e, t) || x4e();
}
-function y4e() {
+function x4e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function b4e(e, t) {
+function S4e(e, t) {
if (e) {
- if (typeof e == "string") return x4e(e, t);
+ if (typeof e == "string") return C4e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? x4e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? C4e(e, t) : void 0;
}
}
-function x4e(e, t) {
+function C4e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function S4e(e, t) {
+function w4e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -88699,20 +88707,20 @@ function S4e(e, t) {
return s;
}
}
-function C4e(e) {
+function T4e(e) {
if (Array.isArray(e)) return e;
}
-var w4e = /*#__PURE__*/ (0, b.createContext)(void 0), T4e = (e) => {
- var t = e.children, n = v4e((0, b.useState)(`${OK("recharts")}-clip`), 1)[0], r = b3();
+var E4e = /*#__PURE__*/ (0, b.createContext)(void 0), D4e = (e) => {
+ var t = e.children, n = b4e((0, b.useState)(`${OK("recharts")}-clip`), 1)[0], r = y3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
- return /*#__PURE__*/ b.createElement(w4e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
+ return /*#__PURE__*/ b.createElement(E4e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, E4e = () => (0, b.useContext)(w4e), D4e = class {
+}, O4e = () => (0, b.useContext)(E4e), k4e = class {
constructor(e) {
var t = e.x, n = e.y;
this.xAxisScale = t, this.yAxisScale = n;
@@ -88738,7 +88746,7 @@ var w4e = /*#__PURE__*/ (0, b.createContext)(void 0), T4e = (e) => {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function O4e(e, t) {
+function A4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -88748,30 +88756,30 @@ function O4e(e, t) {
}
return n;
}
-function k4e(e) {
+function j4e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O4e(Object(n), !0).forEach(function(t) {
- A4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O4e(Object(n)).forEach(function(t) {
+ t % 2 ? A4e(Object(n), !0).forEach(function(t) {
+ M4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A4e(e, t, n) {
- return (t = j4e(t)) in e ? Object.defineProperty(e, t, {
+function M4e(e, t, n) {
+ return (t = N4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j4e(e) {
- var t = M4e(e, "string");
+function N4e(e) {
+ var t = P4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M4e(e, t) {
+function P4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -88781,25 +88789,25 @@ function M4e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function H3() {
- return H3 = Object.assign ? Object.assign.bind() : function(e) {
+function V3() {
+ return V3 = 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;
- }, H3.apply(null, arguments);
+ }, V3.apply(null, arguments);
}
-var N4e = (e, t) => {
+var F4e = (e, t) => {
var n;
if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
if (!nZ(t.x1) || !nZ(t.y1) || !nZ(t.x2) || !nZ(t.y2)) return null;
- n = /*#__PURE__*/ b.createElement("line", H3({}, t, { className: "recharts-reference-line-line" }));
+ n = /*#__PURE__*/ b.createElement("line", V3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, P4e = (e, t, n, r, i, a) => {
+}, I4e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
if (!nZ(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -88810,7 +88818,7 @@ var N4e = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, F4e = (e, t, n, r, i, a) => {
+}, L4e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
if (!nZ(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -88821,7 +88829,7 @@ var N4e = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, I4e = (e, t, n, r) => {
+}, R4e = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -88830,43 +88838,43 @@ var N4e = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, L4e = (e, t, n, r, i, a, o) => {
+}, z4e = (e, t, n, r, i, a, o) => {
var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = DK(s);
- return DK(c) ? P4e(c, u, r, a, t, n) : d ? F4e(s, u, r, i, e, n) : l != null && l.length === 2 ? I4e(l, u, r, new D4e({
+ return DK(c) ? I4e(c, u, r, a, t, n) : d ? L4e(s, u, r, i, e, n) : l != null && l.length === 2 ? R4e(l, u, r, new k4e({
x: e,
y: t
})) : null;
};
-function R4e(e) {
+function B4e(e) {
var t = IJ();
- return (0, b.useEffect)(() => (t(h4e(e)), () => {
- t(g4e(e));
+ return (0, b.useEffect)(() => (t(_4e(e)), () => {
+ t(v4e(e));
})), null;
}
-function z4e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = AZ(), s = E4e(), c = J((e) => U0(e, t)), l = J((e) => G0(e, n)), u = J((e) => D2(e, "xAxis", t, o)), d = J((e) => D2(e, "yAxis", n, o)), f = WZ();
+function V4e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = AZ(), s = O4e(), c = J((e) => H0(e, t)), l = J((e) => W0(e, n)), u = J((e) => E2(e, "xAxis", t, o)), d = J((e) => E2(e, "yAxis", n, o)), f = WZ();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = L4e(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = z4e(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 g = m.x, _ = m.y, v = h.x, y = h.y, x = k4e(k4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, lK(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = j4e(j4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, lK(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), S = d4e({
+ }), S = p4e({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-reference-line", i) }, N4e(r, x), /*#__PURE__*/ b.createElement(QZe, H3({}, S, {
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-reference-line", i) }, F4e(r, x), /*#__PURE__*/ b.createElement(eQe, V3({}, S, {
lowerWidth: S.width,
upperWidth: S.width
- }), /*#__PURE__*/ b.createElement(uQe, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ b.createElement(fQe, { label: e.label }), e.children)));
}
-var B4e = {
+var H4e = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -88876,36 +88884,36 @@ var B4e = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: T$.line
+ zIndex: w$.line
};
-function V4e(e) {
- var t = Uq(e, B4e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(R4e, {
+function U4e(e) {
+ var t = Uq(e, H4e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(B4e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ b.createElement(z4e, t));
+ }), /*#__PURE__*/ b.createElement(V4e, t));
}
-V4e.displayName = "ReferenceLine";
+U4e.displayName = "ReferenceLine";
//#endregion
//#region node_modules/es-toolkit/dist/function/noop.mjs
-function H4e() {}
+function W4e() {}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
-function U4e(e) {
+function G4e(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
-function W4e(e, t, n) {
- return U3(e, t, void 0, void 0, void 0, void 0, n);
+function K4e(e, t, n) {
+ return H3(e, t, void 0, void 0, void 0, void 0, n);
}
-function U3(e, t, n, r, i, a, o) {
+function H3(e, t, n, r, i, a, o) {
let s = o(e, t, n, r, i, a);
if (s !== void 0) return s;
if (typeof e == typeof t) switch (typeof e) {
@@ -88916,11 +88924,11 @@ function U3(e, t, n, r, i, a, o) {
case "undefined": return e === t;
case "number": return e === t || Object.is(e, t);
case "function": return e === t;
- case "object": return W3(e, t, a, o);
+ case "object": return U3(e, t, a, o);
}
- return W3(e, t, a, o);
+ return U3(e, t, a, o);
}
-function W3(e, t, n, r) {
+function U3(e, t, n, r) {
if (Object.is(e, t)) return !0;
let i = Qq(e), a = Qq(t);
if (i === "[object Arguments]" && (i = uJ), a === "[object Arguments]" && (a = uJ), i !== a) return !1;
@@ -88931,7 +88939,7 @@ function W3(e, t, n, r) {
case aJ:
case iJ: return Object.is(e.valueOf(), t.valueOf());
case $q: return e.source === t.source && e.flags === t.flags;
- case QFe: return e === t;
+ case $Fe: return e === t;
}
n ??= /* @__PURE__ */ new Map();
let o = n.get(e), s = n.get(t);
@@ -88941,13 +88949,13 @@ function W3(e, t, n, r) {
switch (i) {
case oJ:
if (e.size !== t.size) return !1;
- for (let [i, a] of e.entries()) if (!t.has(i) || !U3(a, t.get(i), i, e, t, n, r)) return !1;
+ for (let [i, a] of e.entries()) if (!t.has(i) || !H3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
case sJ: {
if (e.size !== t.size) return !1;
let i = Array.from(e.values()), a = Array.from(t.values());
for (let o = 0; o < i.length; o++) {
- let s = i[o], c = a.findIndex((i) => U3(s, i, void 0, e, t, n, r));
+ let s = i[o], c = a.findIndex((i) => H3(s, i, void 0, e, t, n, r));
if (c === -1) return !1;
a.splice(c, 1);
}
@@ -88958,28 +88966,28 @@ function W3(e, t, n, r) {
case pJ:
case mJ:
case hJ:
- case eIe:
+ case tIe:
case gJ:
case _J:
case vJ:
- case tIe:
+ case nIe:
case yJ:
case bJ:
if (SJ(e) !== SJ(t) || e.length !== t.length) return !1;
- for (let i = 0; i < e.length; i++) if (!U3(e[i], t[i], i, e, t, n, r)) return !1;
+ for (let i = 0; i < e.length; i++) if (!H3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case lJ: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case dJ: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case $Fe: return e.name === t.name && e.message === t.message;
+ case lJ: return e.byteLength === t.byteLength && U3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case dJ: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : U3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case eIe: return e.name === t.name && e.message === t.message;
case uJ: {
- if (!(W3(e.constructor, t.constructor, n, r) || U4e(e) && U4e(t))) return !1;
+ if (!(U3(e.constructor, t.constructor, n, r) || G4e(e) && G4e(t))) return !1;
let i = [...Object.keys(e), ...Zq(e)], a = [...Object.keys(t), ...Zq(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
if (!Object.hasOwn(t, o)) return !1;
let c = t[o];
- if (!U3(s, c, o, e, t, n, r)) return !1;
+ if (!H3(s, c, o, e, t, n, r)) return !1;
}
return !0;
}
@@ -88991,12 +88999,12 @@ function W3(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs
-function G4e(e, t) {
- return W4e(e, t, H4e);
+function q4e(e, t) {
+ return K4e(e, t, W4e);
}
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function K4e(e, t) {
+function J4e(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -89007,13 +89015,13 @@ function K4e(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function q4e(e, t, n) {
- return p4e({
+function Y4e(e, t, n) {
+ return h4e({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function J4e(e, t, n) {
+function X4e(e, t, n) {
var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;
return t === 1 ? {
start: r ? i : a,
@@ -89023,33 +89031,33 @@ function J4e(e, t, n) {
end: r ? i : a
};
}
-function G3(e, t, n, r, i) {
+function W3(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 Y4e(e, t) {
- return K4e(e, t + 1);
+function Z4e(e, t) {
+ return J4e(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function X4e(e, t, n, r, i) {
+function Q4e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: K4e(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || G3(e, p, f, u, s);
+ if (t === void 0) return { v: J4e(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || W3(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 Z4e(e, t, n, r, i) {
+function $4e(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var o = t.start, s = t.end, 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 || G3(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || W3(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);
@@ -89065,7 +89073,7 @@ function Z4e(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function Q4e(e, t) {
+function e3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89075,30 +89083,30 @@ function Q4e(e, t) {
}
return n;
}
-function K3(e) {
+function G3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Q4e(Object(n), !0).forEach(function(t) {
- $4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q4e(Object(n)).forEach(function(t) {
+ t % 2 ? e3e(Object(n), !0).forEach(function(t) {
+ t3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $4e(e, t, n) {
- return (t = e3e(t)) in e ? Object.defineProperty(e, t, {
+function t3e(e, t, n) {
+ return (t = n3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function e3e(e) {
- var t = t3e(e, "string");
+function n3e(e) {
+ var t = r3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function t3e(e, t) {
+function r3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89108,26 +89116,26 @@ function t3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function n3e(e, t, n, r, i) {
+function i3e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, 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 = K3(K3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = K3(K3({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && G3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = K3(K3({}, l), {}, { isShow: !0 }));
+ a[t] = l = G3(G3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = G3(G3({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && W3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = G3(G3({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function r3e(e, t, n, r, i, a) {
+function a3e(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;
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 = K3(K3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && G3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = K3(K3({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = G3(G3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && W3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = G3(G3({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -89136,17 +89144,17 @@ function r3e(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 = K3(K3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = K3(K3({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && G3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = K3(K3({}, a), {}, { isShow: !0 }));
+ o[t] = a = G3(G3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = G3(G3({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && W3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = G3(G3({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function q3(e, t, n) {
+function K3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (EK(c) || xQ.isSsr) return Y4e(i, EK(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? m4(u, {
+ if (EK(c) || xQ.isSsr) return Z4e(i, EK(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? p4(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -89154,19 +89162,19 @@ function q3(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? q4e(m4(i, {
+ return p === "width" ? Y4e(p4(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : m4(i, {
+ }), m, d) : p4(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? CK(_.coordinate - g.coordinate) : 1, y = J4e(a, v, p);
- return c === "equidistantPreserveStart" ? X4e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? Z4e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? r3e(v, y, h, i, o, c === "preserveStartEnd") : n3e(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? CK(_.coordinate - g.coordinate) : 1, y = X4e(a, v, p);
+ return c === "equidistantPreserveStart" ? Q4e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? $4e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? a3e(v, y, h, i, o, c === "preserveStartEnd") : i3e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var i3e = (e) => {
+var o3e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -89179,7 +89187,7 @@ var i3e = (e) => {
return Math.round(f);
}
return 0;
-}, a3e = (e) => {
+}, s3e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -89192,7 +89200,7 @@ var i3e = (e) => {
return Math.round(f);
}
return 0;
-}, o3e = EX({
+}, c3e = EX({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -89208,7 +89216,7 @@ var i3e = (e) => {
delete e[r][i];
}
}
-}), s3e = o3e.actions, c3e = s3e.setRenderedTicks, l3e = s3e.removeRenderedTicks, u3e = o3e.reducer, d3e = [
+}), l3e = c3e.actions, u3e = l3e.setRenderedTicks, d3e = l3e.removeRenderedTicks, f3e = c3e.reducer, p3e = [
"axisLine",
"width",
"height",
@@ -89218,25 +89226,25 @@ var i3e = (e) => {
"axisType",
"axisId"
];
-function f3e(e, t) {
- return _3e(e) || g3e(e, t) || m3e(e, t) || p3e();
+function m3e(e, t) {
+ return y3e(e) || v3e(e, t) || g3e(e, t) || h3e();
}
-function p3e() {
+function h3e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function m3e(e, t) {
+function g3e(e, t) {
if (e) {
- if (typeof e == "string") return h3e(e, t);
+ if (typeof e == "string") return _3e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h3e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _3e(e, t) : void 0;
}
}
-function h3e(e, t) {
+function _3e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function g3e(e, t) {
+function v3e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -89257,19 +89265,19 @@ function g3e(e, t) {
return s;
}
}
-function _3e(e) {
+function y3e(e) {
if (Array.isArray(e)) return e;
}
-function v3e(e, t) {
+function b3e(e, t) {
if (e == null) return {};
- var n, r, i = y3e(e, t);
+ var n, r, i = x3e(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 y3e(e, t) {
+function x3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89278,16 +89286,16 @@ function y3e(e, t) {
}
return n;
}
-function J3() {
- return J3 = Object.assign ? Object.assign.bind() : function(e) {
+function q3() {
+ return q3 = 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;
- }, J3.apply(null, arguments);
+ }, q3.apply(null, arguments);
}
-function b3e(e, t) {
+function S3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89297,30 +89305,30 @@ function b3e(e, t) {
}
return n;
}
-function Y3(e) {
+function J3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? b3e(Object(n), !0).forEach(function(t) {
- x3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b3e(Object(n)).forEach(function(t) {
+ t % 2 ? S3e(Object(n), !0).forEach(function(t) {
+ C3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function x3e(e, t, n) {
- return (t = S3e(t)) in e ? Object.defineProperty(e, t, {
+function C3e(e, t, n) {
+ return (t = w3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function S3e(e) {
- var t = C3e(e, "string");
+function w3e(e) {
+ var t = T3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function C3e(e, t) {
+function T3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89330,7 +89338,7 @@ function C3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var X3 = {
+var Y3 = {
x: 0,
y: 0,
width: 0,
@@ -89352,15 +89360,15 @@ var X3 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: T$.axis
+ zIndex: w$.axis
};
-function w3e(e) {
+function E3e(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = Y3(Y3(Y3({}, c), sK(s)), {}, { fill: "none" });
+ var l = J3(J3(J3({}, c), sK(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = Y3(Y3({}, l), {}, {
+ l = J3(J3({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -89368,16 +89376,16 @@ function w3e(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = Y3(Y3({}, l), {}, {
+ l = J3(J3({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: Fv("recharts-cartesian-axis-line", bK(s, "className")) }));
+ return /*#__PURE__*/ b.createElement("line", q3({}, l, { className: Fv("recharts-cartesian-axis-line", bK(s, "className")) }));
}
-function T3e(e, t, n, r, i, a, o, s, c) {
+function D3e(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = EK(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -89404,14 +89412,14 @@ function T3e(e, t, n, r, i, a, o, s, c) {
}
};
}
-function E3e(e, t) {
+function O3e(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function D3e(e, t) {
+function k3e(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -89419,17 +89427,17 @@ function D3e(e, t) {
default: return t ? "end" : "start";
}
}
-function O3e(e) {
+function A3e(e) {
var t = e.option, n = e.tickProps, r = e.value, i, a = Fv(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, Y3(Y3({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(Y3(Y3({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, J3(J3({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(J3(J3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Fv(o, G4(t))), i = /*#__PURE__*/ b.createElement(b4, J3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Fv(o, W4(t))), i = /*#__PURE__*/ b.createElement(y4, q3({}, n, { className: o }), r);
}
return i;
}
-function k3e(e) {
+function j3e(e) {
var t = e.ticks, n = e.axisType, r = e.axisId, i = IJ(), a = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r != null && n != null) {
@@ -89439,11 +89447,11 @@ function k3e(e) {
offset: e.offset,
index: e.index
})), o = a.current;
- o != null && o.axisId === r && o.axisType === n && G4e(o.ticks, e) || (a.current = {
+ o != null && o.axisId === r && o.axisType === n && q4e(o.ticks, e) || (a.current = {
ticks: e,
axisId: r,
axisType: n
- }, i(c3e({
+ }, i(u3e({
ticks: e,
axisId: r,
axisType: n
@@ -89455,7 +89463,7 @@ function k3e(e) {
r,
n
]), (0, b.useEffect)(() => r == null || n == null ? IK : () => {
- i(l3e({
+ i(d3e({
axisId: r,
axisType: n
}));
@@ -89465,17 +89473,17 @@ function k3e(e) {
n
]), null;
}
-var A3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = sK(S), O = cK(i), k = MZe(D.textAnchor) ? D.textAnchor : E3e(d, f), A = D3e(d, f), j = {};
+var M3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = K3(J3(J3({}, S), {}, { ticks: r }), y, x), D = sK(S), O = cK(i), k = PZe(D.textAnchor) ? D.textAnchor : O3e(d, f), A = k3e(d, f), j = {};
typeof a == "object" && (j = a);
- var M = Y3(Y3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Y3({ entry: e }, T3e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
+ var M = J3(J3({}, D), {}, { fill: "none" }, j), N = E.map((e) => J3({ entry: e }, D3e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
return /*#__PURE__*/ b.createElement(pK, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: Fv("recharts-cartesian-axis-tick-line", bK(a, "className")) })));
+ }, a && /*#__PURE__*/ b.createElement("line", q3({}, M, n, { className: Fv("recharts-cartesian-axis-tick-line", bK(a, "className")) })));
}), ee = N.map((e, t) => {
- var n = e.entry, r = e.tick, a = Y3(Y3({}, Y3(Y3(Y3(Y3({ verticalAnchor: A }, D), {}, {
+ var n = e.entry, r = e.tick, a = J3(J3({}, J3(J3(J3(J3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
stroke: "none",
fill: o
@@ -89486,34 +89494,34 @@ var A3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ b.createElement(pK, J3({
+ return /*#__PURE__*/ b.createElement(pK, q3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, Vq(C, n, t)), i && /*#__PURE__*/ b.createElement(O3e, {
+ }, Vq(C, n, t)), i && /*#__PURE__*/ b.createElement(A3e, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
}));
});
- return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(k3e, {
+ return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(j3e, {
ticks: E,
axisId: T,
axisType: w
- }), ee.length > 0 && /*#__PURE__*/ b.createElement(a4, { zIndex: T$.label }, /*#__PURE__*/ b.createElement("g", {
+ }), ee.length > 0 && /*#__PURE__*/ b.createElement(i4, { zIndex: w$.label }, /*#__PURE__*/ b.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,
ref: t
}, ee)), P.length > 0 && /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));
-}), j3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = v3e(e, d3e), d = f3e((0, b.useState)(""), 2), f = d[0], p = d[1], m = f3e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);
+}), N3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = b3e(e, p3e), d = m3e((0, b.useState)(""), 2), f = d[0], p = d[1], m = m3e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);
(0, b.useImperativeHandle)(t, () => ({
- getCalculatedWidth: () => i3e({
+ getCalculatedWidth: () => o3e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
tickSize: e.tickSize,
tickMargin: e.tickMargin
}),
- getCalculatedHeight: () => a3e({
+ getCalculatedHeight: () => s3e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -89532,7 +89540,7 @@ var A3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(w3e, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(pK, { className: Fv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(E3e, {
x: e.x,
y: e.y,
width: r,
@@ -89541,7 +89549,7 @@ var A3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
mirror: e.mirror,
axisLine: n,
otherSvgProps: sK(e)
- }), /*#__PURE__*/ b.createElement(A3e, {
+ }), /*#__PURE__*/ b.createElement(M3e, {
ref: v,
axisType: c,
events: u,
@@ -89565,37 +89573,37 @@ var A3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ b.createElement(QZe, {
+ }), /*#__PURE__*/ b.createElement(eQe, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ b.createElement(uQe, {
+ }, /*#__PURE__*/ b.createElement(fQe, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), Z3 = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = Uq(e, X3);
- return /*#__PURE__*/ b.createElement(j3e, J3({}, n, { ref: t }));
+}), X3 = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = Uq(e, Y3);
+ return /*#__PURE__*/ b.createElement(N3e, q3({}, n, { ref: t }));
});
-Z3.displayName = "CartesianAxis";
+X3.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/theme/RechartsThemeContext.js
-var M3e = /*#__PURE__*/ (0, b.createContext)({ grid: {
+var P3e = /*#__PURE__*/ (0, b.createContext)({ grid: {
stroke: "#ccc",
fill: "none"
} });
-M3e.Provider;
-var N3e = () => (0, b.useContext)(M3e), P3e = [
+P3e.Provider;
+var F3e = () => (0, b.useContext)(P3e), I3e = [
"x1",
"y1",
"x2",
"y2",
"key"
-], F3e = ["offset"], I3e = ["xAxisId", "yAxisId"], L3e = ["xAxisId", "yAxisId"];
-function R3e(e, t) {
+], L3e = ["offset"], R3e = ["xAxisId", "yAxisId"], z3e = ["xAxisId", "yAxisId"];
+function B3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -89605,30 +89613,30 @@ function R3e(e, t) {
}
return n;
}
-function Q3(e) {
+function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R3e(Object(n), !0).forEach(function(t) {
- z3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R3e(Object(n)).forEach(function(t) {
+ t % 2 ? B3e(Object(n), !0).forEach(function(t) {
+ V3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function z3e(e, t, n) {
- return (t = B3e(t)) in e ? Object.defineProperty(e, t, {
+function V3e(e, t, n) {
+ return (t = H3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function B3e(e) {
- var t = V3e(e, "string");
+function H3e(e) {
+ var t = U3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function V3e(e, t) {
+function U3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -89638,25 +89646,25 @@ function V3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $3() {
- return $3 = Object.assign ? Object.assign.bind() : function(e) {
+function Q3() {
+ return Q3 = 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;
- }, $3.apply(null, arguments);
+ }, Q3.apply(null, arguments);
}
-function e6(e, t) {
+function $3(e, t) {
if (e == null) return {};
- var n, r, i = H3e(e, t);
+ var n, r, i = W3e(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 H3e(e, t) {
+function W3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89665,7 +89673,7 @@ function H3e(e, t) {
}
return n;
}
-var U3e = (e) => {
+var G3e = (e) => {
var t = e.fill;
if (!t || t === "none") return null;
var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;
@@ -89681,15 +89689,15 @@ var U3e = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function W3e(e) {
+function K3e(e) {
var t = e.option, n = e.lineItemProps, r;
if (/*#__PURE__*/ b.isValidElement(t)) r = /*#__PURE__*/ b.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = sK(e6(n, P3e)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = sK($3(n, I3e)) ?? {};
l.offset;
- var u = e6(l, F3e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
- r = /*#__PURE__*/ b.createElement("line", $3({}, u, {
+ var u = $3(l, L3e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
+ r = /*#__PURE__*/ b.createElement("line", Q3({}, u, {
strokeDasharray: d,
x1: i,
y1: a,
@@ -89701,12 +89709,12 @@ function W3e(e) {
}
return r;
}
-function G3e(e) {
+function q3e(e) {
var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = e6(e, I3e), s = a.map((e, r) => {
- var a = Q3(Q3({}, o), {}, {
+ var o = $3(e, R3e), s = a.map((e, r) => {
+ var a = Z3(Z3({}, o), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -89714,7 +89722,7 @@ function G3e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ b.createElement(W3e, {
+ return /*#__PURE__*/ b.createElement(K3e, {
key: `line-${r}`,
option: i,
lineItemProps: a
@@ -89722,12 +89730,12 @@ function G3e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);
}
-function K3e(e) {
+function J3e(e) {
var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = e6(e, L3e), s = a.map((e, r) => {
- var a = Q3(Q3({}, o), {}, {
+ var o = $3(e, z3e), s = a.map((e, r) => {
+ var a = Z3(Z3({}, o), {}, {
x1: e,
y1: t,
x2: e,
@@ -89735,7 +89743,7 @@ function K3e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ b.createElement(W3e, {
+ return /*#__PURE__*/ b.createElement(K3e, {
option: i,
lineItemProps: a,
key: `line-${r}`
@@ -89743,7 +89751,7 @@ function K3e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);
}
-function q3e(e) {
+function Y3e(e) {
var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;
if (!(c === void 0 || c) || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -89766,7 +89774,7 @@ function q3e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function J3e(e) {
+function X3e(e) {
var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;
if (!n || !r || !r.length) return null;
var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);
@@ -89789,9 +89797,9 @@ function J3e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);
}
-var Y3e = (e, t) => {
+var Z3e = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return cZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
+ return cZ(K3(Z3(Z3(Z3({}, Y3), n), {}, {
ticks: lZ(n, !0),
viewBox: {
x: 0,
@@ -89800,9 +89808,9 @@ var Y3e = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, X3e = (e, t) => {
+}, Q3e = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return cZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
+ return cZ(K3(Z3(Z3(Z3({}, Y3), n), {}, {
ticks: lZ(n, !0),
viewBox: {
x: 0,
@@ -89811,7 +89819,7 @@ var Y3e = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, Z3e = {
+}, $3e = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -89821,25 +89829,25 @@ var Y3e = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: T$.grid
+ zIndex: w$.grid
};
-function Q3e(e) {
- var t = KZ(), n = qZ(), r = GZ(), i = Q3(Q3({}, Uq(e, Z3e)), {}, {
+function e6e(e) {
+ var t = KZ(), n = qZ(), r = GZ(), i = Z3(Z3({}, Uq(e, $3e)), {}, {
x: EK(e.x) ? e.x : r.left,
y: EK(e.y) ? e.y : r.top,
width: EK(e.width) ? e.width : r.width,
height: EK(e.height) ? e.height : r.height
- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = AZ(), h = J((e) => Vqe(e, "xAxis", a, m)), g = J((e) => Vqe(e, "yAxis", o, m)), _ = N3e(), v = {
+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = AZ(), h = J((e) => Uqe(e, "xAxis", a, m)), g = J((e) => Uqe(e, "yAxis", o, m)), _ = F3e(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
if (!rZ(l) || !rZ(u) || !EK(s) || !EK(c)) return null;
- var y = i.verticalCoordinatesGenerator || Y3e, x = i.horizontalCoordinatesGenerator || X3e, S = i.horizontalPoints, C = i.verticalPoints;
+ var y = i.verticalCoordinatesGenerator || Z3e, x = i.horizontalCoordinatesGenerator || Q3e, S = i.horizontalPoints, C = i.verticalPoints;
if ((!S || !S.length) && typeof x == "function") {
var w = f && f.length, T = x({
- yAxis: g ? Q3(Q3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
+ yAxis: g ? Z3(Z3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
@@ -89848,14 +89856,14 @@ function Q3e(e) {
}
if ((!C || !C.length) && typeof y == "function") {
var E = p && p.length, D = y({
- xAxis: h ? Q3(Q3({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,
+ xAxis: h ? Z3(Z3({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, E ? !0 : d);
NZ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
- return /*#__PURE__*/ b.createElement(a4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(U3e, {
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(G3e, {
fill: i.fill ?? _.grid.fill,
fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,
x: i.x,
@@ -89863,22 +89871,22 @@ function Q3e(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ b.createElement(q3e, $3({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(J3e, $3({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(G3e, $3({}, i, v, {
+ }), /*#__PURE__*/ b.createElement(Y3e, Q3({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(X3e, Q3({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(q3e, Q3({}, i, v, {
offset: r,
horizontalPoints: S,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ b.createElement(K3e, $3({}, i, v, {
+ })), /*#__PURE__*/ b.createElement(J3e, Q3({}, i, v, {
offset: r,
verticalPoints: C,
xAxis: h,
yAxis: g
}))));
}
-Q3e.displayName = "CartesianGrid";
+e6e.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/cartesian/LineDrawShape.js
-var $3e = [
+var t6e = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -89886,25 +89894,25 @@ var $3e = [
"strokeDasharray",
"connectNulls"
];
-function t6() {
- return t6 = Object.assign ? Object.assign.bind() : function(e) {
+function e6() {
+ return e6 = 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;
- }, t6.apply(null, arguments);
+ }, e6.apply(null, arguments);
}
-function e6e(e, t) {
+function n6e(e, t) {
if (e == null) return {};
- var n, r, i = t6e(e, t);
+ var n, r, i = r6e(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 t6e(e, t) {
+function r6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -89913,26 +89921,26 @@ function t6e(e, t) {
}
return n;
}
-function n6e(e) {
+function i6e(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function r6e(e, t) {
+function a6e(e, t) {
return `${t}px ${e}px`;
}
-function i6e(e) {
+function o6e(e) {
return e.length % 2 == 0 ? e : [...e, ...e];
}
-function a6e(e, t) {
+function s6e(e, t) {
for (var n = [], r = 0; r < t; ++r) n.push(...e);
return n;
}
-function o6e(e, t, n) {
- var r = i6e(n), i = r.reduce((e, t) => e + t, 0);
- if (!i) return r6e(t, e);
+function c6e(e, t, n) {
+ var r = o6e(n), i = r.reduce((e, t) => e + t, 0);
+ if (!i) return a6e(t, e);
for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {
var u, d = r[c];
if (d != null && l + d > o) {
@@ -89942,29 +89950,29 @@ function o6e(e, t, n) {
}
var f = s.length % 2 == 0 ? [0, t] : [t];
return [
- ...a6e(r, a),
+ ...s6e(r, a),
...s,
...f
].map((e) => `${e}px`).join(", ");
}
-function s6e(e, t, n) {
- return e ? o6e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : r6e(t, n);
+function l6e(e, t, n) {
+ return e ? c6e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a6e(t, n);
}
-function c6e(e) {
+function u6e(e) {
e.animationElapsedTime, e.isAnimating, e.isEntrance;
- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = e6e(e, $3e), a = r ?? !1, o;
+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = n6e(e, t6e), a = r ?? !1, o;
if (t != null) {
var s = i.pathRef;
- o = s6e(n, n6e(s?.current ?? null), t);
+ o = l6e(n, i6e(s?.current ?? null), t);
} else n != null && (o = String(n));
- return /*#__PURE__*/ b.createElement(LQ, t6({}, i, {
+ return /*#__PURE__*/ b.createElement(LQ, e6({}, i, {
connectNulls: a,
strokeDasharray: o
}));
}
//#endregion
//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js
-function l6e(e) {
+function d6e(e) {
var t = (0, b.useRef)(0), n = (0, b.useRef)(0), r = (0, b.useRef)(!1), i = (0, b.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, b.useCallback)((e, i) => {
if (r.current) return null;
@@ -89974,7 +89982,7 @@ function l6e(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var u6e = EX({
+var f6e = EX({
name: "errorBars",
initialState: {},
reducers: {
@@ -89991,19 +89999,19 @@ var u6e = EX({
e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));
}
}
-}), n6 = u6e.actions;
-n6.addErrorBar, n6.replaceErrorBar, n6.removeErrorBar;
-var d6e = u6e.reducer, f6e = ["children"];
-function p6e(e, t) {
+}), t6 = f6e.actions;
+t6.addErrorBar, t6.replaceErrorBar, t6.removeErrorBar;
+var p6e = f6e.reducer, m6e = ["children"];
+function h6e(e, t) {
if (e == null) return {};
- var n, r, i = m6e(e, t);
+ var n, r, i = g6e(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 m6e(e, t) {
+function g6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90012,7 +90020,7 @@ function m6e(e, t) {
}
return n;
}
-var h6e = /*#__PURE__*/ (0, b.createContext)({
+var _6e = /*#__PURE__*/ (0, b.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -90023,22 +90031,22 @@ var h6e = /*#__PURE__*/ (0, b.createContext)({
}),
errorBarOffset: 0
});
-function g6e(e) {
- var t = e.children, n = p6e(e, f6e);
- return /*#__PURE__*/ b.createElement(h6e.Provider, { value: n }, t);
+function v6e(e) {
+ var t = e.children, n = h6e(e, m6e);
+ return /*#__PURE__*/ b.createElement(_6e.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function r6(e, t) {
- var n = J((t) => U0(t, e)), r = J((e) => G0(e, t)), i = n?.allowDataOverflow ?? H0.allowDataOverflow, a = r?.allowDataOverflow ?? W0.allowDataOverflow;
+function n6(e, t) {
+ var n = J((t) => H0(t, e)), r = J((e) => W0(e, t)), i = n?.allowDataOverflow ?? V0.allowDataOverflow, a = r?.allowDataOverflow ?? U0.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
needClipY: a
};
}
-function i6(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = b3(), a = r6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => Cqe(e, t, !1)), u = J((e) => wqe(e, n, !1));
+function r6(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = y3(), a = n6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => Tqe(e, t, !1)), u = J((e) => Eqe(e, n, !1));
if (!c || !i) return null;
var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;
return /*#__PURE__*/ b.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ b.createElement("rect", {
@@ -90050,30 +90058,30 @@ function i6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var _6e = (e, t, n, r) => M2(e, "xAxis", t, r), v6e = (e, t, n, r) => j2(e, "xAxis", t, r), y6e = (e, t, n, r) => M2(e, "yAxis", n, r), b6e = (e, t, n, r) => j2(e, "yAxis", n, r), x6e = Y([
+var y6e = (e, t, n, r) => j2(e, "xAxis", t, r), b6e = (e, t, n, r) => A2(e, "xAxis", t, r), x6e = (e, t, n, r) => j2(e, "yAxis", n, r), S6e = (e, t, n, r) => A2(e, "yAxis", n, r), C6e = Y([
JZ,
- _6e,
y6e,
- v6e,
- b6e
-], (e, t, n, r, i) => sZ(e, "xAxis") ? _Z(t, r, !1) : _Z(n, i, !1)), S6e = (e, t, n, r, i) => i;
-function C6e(e) {
+ x6e,
+ b6e,
+ S6e
+], (e, t, n, r, i) => sZ(e, "xAxis") ? _Z(t, r, !1) : _Z(n, i, !1)), w6e = (e, t, n, r, i) => i;
+function T6e(e) {
return e.type === "line";
}
-var w6e = Y([
+var E6e = Y([
JZ,
- _6e,
y6e,
- v6e,
- b6e,
- Y([X0, S6e], (e, t) => e.filter(C6e).find((e) => e.id === t)),
x6e,
- f$
+ b6e,
+ S6e,
+ Y([Y0, w6e], (e, t) => e.filter(T6e).find((e) => e.id === t)),
+ C6e,
+ d$
], (e, t, n, r, i, a, o, s) => {
var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return K6e({
+ if (p != null) return J6e({
layout: e,
xAxis: t,
yAxis: n,
@@ -90087,7 +90095,7 @@ var w6e = Y([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function T6e(e) {
+function D6e(e) {
var t = cK(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
@@ -90103,14 +90111,14 @@ function T6e(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var E6e = ["id"], D6e = [
+var O6e = ["id"], k6e = [
"type",
"layout",
"connectNulls",
"needClip",
"shape",
"strokeDasharray"
-], O6e = [
+], A6e = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -90126,25 +90134,25 @@ var E6e = ["id"], D6e = [
"yAxisId",
"id"
];
-function a6() {
- return a6 = Object.assign ? Object.assign.bind() : function(e) {
+function i6() {
+ return i6 = 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;
- }, a6.apply(null, arguments);
+ }, i6.apply(null, arguments);
}
-function o6(e, t) {
+function a6(e, t) {
if (e == null) return {};
- var n, r, i = k6e(e, t);
+ var n, r, i = j6e(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 k6e(e, t) {
+function j6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90153,7 +90161,7 @@ function k6e(e, t) {
}
return n;
}
-function A6e(e, t) {
+function M6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90163,30 +90171,30 @@ function A6e(e, t) {
}
return n;
}
-function s6(e) {
+function o6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? A6e(Object(n), !0).forEach(function(t) {
- j6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A6e(Object(n)).forEach(function(t) {
+ t % 2 ? M6e(Object(n), !0).forEach(function(t) {
+ N6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function j6e(e, t, n) {
- return (t = M6e(t)) in e ? Object.defineProperty(e, t, {
+function N6e(e, t, n) {
+ return (t = P6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function M6e(e) {
- var t = N6e(e, "string");
+function P6e(e) {
+ var t = F6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function N6e(e, t) {
+function F6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90196,19 +90204,19 @@ function N6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function P6e(e) {
+function I6e(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function F6e(e) {
+function L6e(e) {
var t = 0, n = 0;
for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);
return n > 0 ? t / n : 0;
}
-var c6 = {
+var s6 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -90217,29 +90225,29 @@ var c6 = {
animationInterpolateFn: (e, t) => {
if (e == null) return [];
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
- var n = F6e(e), r = [];
- for (var i of e) if (i.status === "matched") r.push(s6(s6({}, i.next), {}, {
+ var n = L6e(e), r = [];
+ for (var i of e) if (i.status === "matched") r.push(o6(o6({}, i.next), {}, {
x: jK(i.prev.x, i.next.x, t),
y: jK(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
- r.push(s6(s6({}, i.next), {}, {
+ r.push(o6(o6({}, i.next), {}, {
x: jK(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
- r.push(s6(s6({}, i.prev), {}, {
+ r.push(o6(o6({}, i.prev), {}, {
x: jK(i.prev.x, o, t),
y: i.prev.y
}));
}
return r;
},
- animationMatchBy: o3,
+ animationMatchBy: a3,
connectNulls: !1,
dot: !0,
fill: "#fff",
@@ -90247,14 +90255,14 @@ var c6 = {
isAnimationActive: "auto",
label: !1,
legendType: "line",
- shape: c6e,
+ shape: u6e,
stroke: "#3182bd",
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: T$.line,
+ zIndex: w$.line,
type: "linear"
-}, I6e = (e) => {
+}, R6e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;
return [{
inactive: e.hide,
@@ -90264,7 +90272,7 @@ var c6 = {
value: yZ(n, t),
payload: e
}];
-}, L6e = /*#__PURE__*/ b.memo((e) => {
+}, z6e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
getPosition: IK,
@@ -90283,13 +90291,13 @@ var c6 = {
graphicalItemId: d
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });
+ return /*#__PURE__*/ b.createElement(r3, { tooltipEntrySettings: f });
});
-function R6e(e) {
+function B6e(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = sK(o6(r, E6e));
- return /*#__PURE__*/ b.createElement(_3, {
+ var s = sK(a6(r, O6e));
+ return /*#__PURE__*/ b.createElement(g3, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -90300,7 +90308,7 @@ function R6e(e) {
clipPathId: t
});
}
-function z6e(e) {
+function V6e(e) {
var t = e.showLabels, n = e.children, r = e.points, i = (0, b.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -90310,7 +90318,7 @@ function z6e(e) {
upperWidth: 0,
height: 0
};
- return s6(s6({}, t), {}, {
+ return o6(o6({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -90318,10 +90326,10 @@ function z6e(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(E4, { value: t ? i : void 0 }, n);
}
-function B6e(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = s6(s6({}, lK(o6(i, D6e))), {}, {
+function H6e(e) {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = o6(o6({}, lK(a6(i, k6e))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -90336,22 +90344,22 @@ function B6e(e) {
isEntrance: i.animateNewValues ? s : !1,
visibleLength: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement(e3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement($4, {
option: p,
- DefaultShape: c6.shape,
+ DefaultShape: s6.shape,
shapeProps: h
- }), /*#__PURE__*/ b.createElement(R6e, {
+ }), /*#__PURE__*/ b.createElement(B6e, {
points: r,
clipPathId: t,
props: i
}));
}
-function V6e(e) {
- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = P6e(r.current), m = u3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = l6e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);
- return /*#__PURE__*/ b.createElement(z6e, {
+function U6e(e) {
+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = I6e(r.current), m = l3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = d6e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);
+ return /*#__PURE__*/ b.createElement(V6e, {
points: a,
showLabels: v
- }, n.children, /*#__PURE__*/ b.createElement(d3, {
+ }, n.children, /*#__PURE__*/ b.createElement(u3, {
animationInput: a,
animationIdPrefix: "recharts-line-",
items: a,
@@ -90368,7 +90376,7 @@ function V6e(e) {
layout: f
}, (e, i, a) => {
var o = h || i < 1, s = o ? y(i, p) : null;
- return /*#__PURE__*/ b.createElement(B6e, {
+ return /*#__PURE__*/ b.createElement(H6e, {
props: n,
points: e,
clipPathId: t,
@@ -90378,28 +90386,28 @@ function V6e(e) {
isEntrance: a,
visibleLength: s
});
- }), /*#__PURE__*/ b.createElement(k4, { label: n.label }));
+ }), /*#__PURE__*/ b.createElement(O4, { label: n.label }));
}
-function H6e(e) {
+function W6e(e) {
var t = e.clipPathId, n = e.props, r = (0, b.useRef)(null), i = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(V6e, {
+ return /*#__PURE__*/ b.createElement(U6e, {
props: n,
clipPathId: t,
previousPointsRef: r,
pathRef: i
});
}
-var U6e = (e, t) => ({
+var G6e = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: oZ(e.payload, t)
-}), W6e = class extends b.Component {
+}), K6e = class extends b.Component {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
- var m = Fv("recharts-line", i), h = d, g = T6e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(pK, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ var m = Fv("recharts-line", i), h = d, g = D6e(n), _ = g.r, v = g.strokeWidth, y = Q4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: p }, /*#__PURE__*/ b.createElement(pK, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(r6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -90408,16 +90416,16 @@ var U6e = (e, t) => ({
y: s - x / 2,
width: l + x,
height: u + x
- }))), /*#__PURE__*/ b.createElement(g6e, {
+ }))), /*#__PURE__*/ b.createElement(v6e, {
xAxisId: a,
yAxisId: o,
data: r,
- dataPointFormatter: U6e,
+ dataPointFormatter: G6e,
errorBarOffset: 0
- }, /*#__PURE__*/ b.createElement(H6e, {
+ }, /*#__PURE__*/ b.createElement(W6e, {
props: this.props,
clipPathId: h
- }))), /*#__PURE__*/ b.createElement(S3, {
+ }))), /*#__PURE__*/ b.createElement(x3, {
activeDot: this.props.activeDot,
points: r,
mainColor: this.props.stroke,
@@ -90426,11 +90434,11 @@ var U6e = (e, t) => ({
}));
}
};
-function G6e(e) {
- var t = Uq(e, c6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = o6(t, O6e), _ = r6(p, m).needClip, v = b3(), y = YZ(), x = AZ(), S = J((e) => w6e(e, p, m, x, h));
+function q6e(e) {
+ var t = Uq(e, s6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = a6(t, A6e), _ = n6(p, m).needClip, v = y3(), y = YZ(), x = AZ(), S = J((e) => E6e(e, p, m, x, h));
if (y !== "horizontal" && y !== "vertical" || S == null || v == null) return null;
var C = v.height, w = v.width, T = v.x, E = v.y;
- return /*#__PURE__*/ b.createElement(W6e, a6({}, g, {
+ return /*#__PURE__*/ b.createElement(K6e, i6({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -90454,7 +90462,7 @@ function G6e(e) {
needClip: _
}));
}
-function K6e(e) {
+function J6e(e) {
var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;
return e.displayedData.map((e, c) => {
var l = oZ(e, o);
@@ -90485,12 +90493,12 @@ function K6e(e) {
};
}).filter(Boolean);
}
-function q6e(e) {
- var t = Uq(e, c6), n = AZ();
- return /*#__PURE__*/ b.createElement(f3, {
+function Y6e(e) {
+ var t = Uq(e, s6), n = AZ();
+ return /*#__PURE__*/ b.createElement(d3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: I6e(t) }), /*#__PURE__*/ b.createElement(L6e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i3, { legendPayload: R6e(t) }), /*#__PURE__*/ b.createElement(z6e, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -90502,7 +90510,7 @@ function q6e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(m3, {
+ }), /*#__PURE__*/ b.createElement(p3, {
type: "line",
id: e,
data: t.data,
@@ -90512,46 +90520,46 @@ function q6e(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ b.createElement(G6e, a6({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(q6e, i6({}, t, { id: e }))));
}
-var J6e = /*#__PURE__*/ b.memo(q6e, cQ);
-J6e.displayName = "Line";
+var X6e = /*#__PURE__*/ b.memo(Y6e, cQ);
+X6e.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function l6(e, t) {
+function c6(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function u6(e, t) {
+function l6(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var Y6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), X6e = (e, t, n) => j2(e, "xAxis", l6(e, t), n), Z6e = (e, t, n) => M2(e, "yAxis", u6(e, t), n), Q6e = (e, t, n) => j2(e, "yAxis", u6(e, t), n), $6e = Y([
+var Z6e = (e, t, n) => j2(e, "xAxis", c6(e, t), n), Q6e = (e, t, n) => A2(e, "xAxis", c6(e, t), n), $6e = (e, t, n) => j2(e, "yAxis", l6(e, t), n), e8e = (e, t, n) => A2(e, "yAxis", l6(e, t), n), t8e = Y([
JZ,
- Y6e,
Z6e,
- X6e,
- Q6e
-], (e, t, n, r, i) => sZ(e, "xAxis") ? _Z(t, r, !1) : _Z(n, i, !1)), d6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), e8e = (e) => sZ(JZ(e), "xAxis") ? "yAxis" : "xAxis", t8e = (e, t) => e8e(e) === "yAxis" ? u6(e, t) : l6(e, t), n8e = (e, t, n) => c2(e, e8e(e), t8e(e, t), n), r8e = Y([
+ $6e,
+ Q6e,
+ e8e
+], (e, t, n, r, i) => sZ(e, "xAxis") ? _Z(t, r, !1) : _Z(n, i, !1)), u6 = Y([Y0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), n8e = (e) => sZ(JZ(e), "xAxis") ? "yAxis" : "xAxis", r8e = (e, t) => n8e(e) === "yAxis" ? l6(e, t) : c6(e, t), i8e = (e, t, n) => s2(e, n8e(e), r8e(e, t), n), a8e = Y([
JZ,
- Y6e,
Z6e,
- X6e,
+ $6e,
Q6e,
- Y([d6, n8e], (e, t) => {
+ e8e,
+ Y([u6, i8e], (e, t) => {
if (e != null && t != null) {
- var n = e.stackId, r = R$(e);
+ var n = e.stackId, r = L$(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- RVe,
- $6e,
- d6,
- fHe,
- Y([d6, n8e], (e, t) => {
+ BVe,
+ t8e,
+ u6,
+ mHe,
+ Y([u6, i8e], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(FK);
@@ -90561,7 +90569,7 @@ var Y6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), X6e = (e, t, n) => j2(e, "xA
var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);
- if (h != null) return M8e({
+ if (h != null) return P8e({
layout: e,
xAxis: t,
yAxis: n,
@@ -90576,7 +90584,7 @@ var Y6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), X6e = (e, t, n) => j2(e, "xA
stackDataKeys: u
});
}
-}), i8e = [
+}), o8e = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -90584,26 +90592,26 @@ var Y6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), X6e = (e, t, n) => j2(e, "xA
"isRange",
"stroke",
"connectNulls"
-], a8e = ["id", "baseLine"];
-function f6() {
- return f6 = Object.assign ? Object.assign.bind() : function(e) {
+], s8e = ["id", "baseLine"];
+function d6() {
+ return d6 = 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;
- }, f6.apply(null, arguments);
+ }, d6.apply(null, arguments);
}
-function o8e(e, t) {
+function c8e(e, t) {
if (e == null) return {};
- var n, r, i = s8e(e, t);
+ var n, r, i = l8e(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 s8e(e, t) {
+function l8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90612,7 +90620,7 @@ function s8e(e, t) {
}
return n;
}
-function c8e(e) {
+function u8e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!nZ(a) || !nZ(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
@@ -90623,7 +90631,7 @@ function c8e(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function l8e(e) {
+function d8e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!nZ(a) || !nZ(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
@@ -90634,29 +90642,29 @@ function l8e(e) {
height: Math.floor(s)
}) : null;
}
-function u8e(e) {
+function f8e(e) {
var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;
- return n === "vertical" ? /*#__PURE__*/ b.createElement(l8e, {
+ return n === "vertical" ? /*#__PURE__*/ b.createElement(d8e, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ b.createElement(c8e, {
+ }) : /*#__PURE__*/ b.createElement(u8e, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function d8e(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = o8e(e, i8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = M1e(), h = d.id, g = d.baseLine, _ = sK(o8e(d, a8e)), v = /*#__PURE__*/ b.createElement(LQ, f6({}, d, {
+function p8e(e) {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = c8e(e, o8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = P1e(), h = d.id, g = d.baseLine, _ = sK(c8e(d, s8e)), v = /*#__PURE__*/ b.createElement(LQ, d6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
stroke: "none",
className: "recharts-area-area",
layout: f
- })), y = l !== "none" && /*#__PURE__*/ b.createElement(LQ, f6({}, _, {
+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(LQ, d6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -90664,7 +90672,7 @@ function d8e(e) {
fill: "none",
stroke: l,
points: d.points
- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(LQ, f6({}, _, {
+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(LQ, d6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -90673,7 +90681,7 @@ function d8e(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(pK, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(u8e, {
+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(pK, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(f8e, {
alpha: n,
points: d.points ?? [],
baseLine: g,
@@ -90683,7 +90691,7 @@ function d8e(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
-var f8e = ["id"], p8e = [
+var m8e = ["id"], h8e = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -90699,25 +90707,25 @@ var f8e = ["id"], p8e = [
"xAxisId",
"yAxisId"
];
-function p6() {
- return p6 = Object.assign ? Object.assign.bind() : function(e) {
+function f6() {
+ return f6 = 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;
- }, p6.apply(null, arguments);
+ }, f6.apply(null, arguments);
}
-function m8e(e, t) {
+function g8e(e, t) {
if (e == null) return {};
- var n, r, i = h8e(e, t);
+ var n, r, i = _8e(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 h8e(e, t) {
+function _8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -90726,7 +90734,7 @@ function h8e(e, t) {
}
return n;
}
-function g8e(e, t) {
+function v8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -90736,30 +90744,30 @@ function g8e(e, t) {
}
return n;
}
-function m6(e) {
+function p6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g8e(Object(n), !0).forEach(function(t) {
- _8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g8e(Object(n)).forEach(function(t) {
+ t % 2 ? v8e(Object(n), !0).forEach(function(t) {
+ y8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _8e(e, t, n) {
- return (t = v8e(t)) in e ? Object.defineProperty(e, t, {
+function y8e(e, t, n) {
+ return (t = b8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function v8e(e) {
- var t = y8e(e, "string");
+function b8e(e) {
+ var t = x8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function y8e(e, t) {
+function x8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -90769,13 +90777,13 @@ function y8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b8e = {
+var S8e = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: o3,
- animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [m6(m6({}, e.next), {}, {
+ animationMatchBy: a3,
+ animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [p6(p6({}, e.next), {}, {
x: jK(e.prev.x, e.next.x, t),
y: jK(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
@@ -90790,25 +90798,25 @@ var b8e = {
strokeWidth: 1,
type: "linear",
label: !1,
- shape: d8e,
+ shape: p8e,
xAxisId: 0,
yAxisId: 0,
- zIndex: T$.area
+ zIndex: w$.area
};
-function h6(e, t) {
+function m6(e, t) {
return e && e !== "none" ? e : t;
}
-var x8e = (e) => {
+var C8e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: h6(r, i),
+ color: m6(r, i),
value: yZ(n, t),
payload: e
}];
-}, S8e = /*#__PURE__*/ b.memo((e) => {
+}, w8e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
getPosition: IK,
@@ -90821,17 +90829,17 @@ var x8e = (e) => {
name: yZ(o, t),
hide: s,
type: u,
- color: h6(r, a),
+ color: m6(r, a),
unit: c,
formatter: l,
graphicalItemId: d
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });
+ return /*#__PURE__*/ b.createElement(r3, { tooltipEntrySettings: f });
});
-function C8e(e) {
+function T8e(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = sK(r);
- return /*#__PURE__*/ b.createElement(_3, {
+ return /*#__PURE__*/ b.createElement(g3, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -90842,7 +90850,7 @@ function C8e(e) {
clipPathId: t
});
}
-function w8e(e) {
+function E8e(e) {
var t = e.showLabels, n = e.children, r = e.points.map((e) => {
var t = {
x: e.x ?? 0,
@@ -90852,7 +90860,7 @@ function w8e(e) {
upperWidth: 0,
height: 0
};
- return m6(m6({}, t), {}, {
+ return p6(p6({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -90860,10 +90868,10 @@ function w8e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(E4, { value: t ? r : void 0 }, n);
}
-function T8e(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = m8e(a, f8e), _ = m6(m6({}, lK(g)), {}, {
+function D8e(e) {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = g8e(a, m8e), _ = p6(p6({}, lK(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -90876,27 +90884,27 @@ function T8e(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(pK, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(pK, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement($4, {
option: m,
- DefaultShape: b8e.shape,
+ DefaultShape: S8e.shape,
shapeProps: _
- })), /*#__PURE__*/ b.createElement(C8e, {
+ })), /*#__PURE__*/ b.createElement(T8e, {
points: t,
props: g,
clipPathId: i
}));
}
-function E8e(e, t, n) {
+function O8e(e, t, n) {
return EK(e) ? jK(EK(t) ? t : void 0, e, n) : NK(e) || wK(e) ? jK(EK(t) ? t : void 0, 0, n) : e;
}
-function D8e(e) {
+function k8e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, b.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), h = l3(m, a), g = XZ(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
+ }), [o, s]), h = c3(m, a), g = XZ(), _ = l3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
if (g == null) return null;
- var C = Array.isArray(s) && Array.isArray(S) ? c3(S, s, f) : Array.isArray(s) ? c3(null, s, f) : null;
- return /*#__PURE__*/ b.createElement(d3, {
+ var C = Array.isArray(s) && Array.isArray(S) ? s3(S, s, f) : Array.isArray(s) ? s3(null, s, f) : null;
+ return /*#__PURE__*/ b.createElement(u3, {
animationInput: m,
animationIdPrefix: "recharts-area-",
items: o,
@@ -90911,11 +90919,11 @@ function D8e(e) {
animationMatchBy: f,
layout: g
}, (e, i, a) => {
- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : E8e(s, S, i);
- return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(w8e, {
+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : O8e(s, S, i);
+ return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(E8e, {
showLabels: !v,
points: o
- }, r.children, /*#__PURE__*/ b.createElement(T8e, {
+ }, r.children, /*#__PURE__*/ b.createElement(D8e, {
points: e,
baseLine: c,
needClip: t,
@@ -90924,12 +90932,12 @@ function D8e(e) {
animationElapsedTime: i,
isAnimating: v || i < 1,
isEntrance: a
- }), /*#__PURE__*/ b.createElement(k4, { label: r.label }));
+ }), /*#__PURE__*/ b.createElement(O4, { label: r.label }));
});
}
-function O8e(e) {
+function A8e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, b.useRef)(null), a = (0, b.useRef)();
- return /*#__PURE__*/ b.createElement(D8e, {
+ return /*#__PURE__*/ b.createElement(k8e, {
needClip: t,
clipPathId: n,
props: r,
@@ -90937,12 +90945,12 @@ function O8e(e) {
previousBaselineRef: a
});
}
-var k8e = class extends b.PureComponent {
+var j8e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
- var h = Fv("recharts-area", i), g = f, _ = T6e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(pK, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ var h = Fv("recharts-area", i), g = f, _ = D6e(n), v = _.r, y = _.strokeWidth, x = Q4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: m }, /*#__PURE__*/ b.createElement(pK, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(r6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -90951,30 +90959,30 @@ var k8e = class extends b.PureComponent {
y: a - S / 2,
width: u + S,
height: d + S
- }))), /*#__PURE__*/ b.createElement(O8e, {
+ }))), /*#__PURE__*/ b.createElement(A8e, {
needClip: s,
clipPathId: g,
props: this.props
- })), /*#__PURE__*/ b.createElement(S3, {
+ })), /*#__PURE__*/ b.createElement(x3, {
points: r,
- mainColor: h6(this.props.stroke, this.props.fill),
+ mainColor: m6(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: C
- }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(S3, {
+ }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(x3, {
points: p,
- mainColor: h6(this.props.stroke, this.props.fill),
+ mainColor: m6(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: C
}));
}
};
-function A8e(e) {
- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = m8e(e, p8e), g = YZ(), _ = vYe(), v = r6(p, m).needClip, y = AZ(), x = J((t) => r8e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();
+function M8e(e) {
+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = g8e(e, h8e), g = YZ(), _ = bYe(), v = n6(p, m).needClip, y = AZ(), x = J((t) => a8e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = y3();
if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var E = T.height, D = T.width, O = T.x, k = T.y;
- return !S || !S.length ? null : /*#__PURE__*/ b.createElement(k8e, p6({}, h, {
+ return !S || !S.length ? null : /*#__PURE__*/ b.createElement(j8e, f6({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -91000,7 +91008,7 @@ function A8e(e) {
yAxisId: m
}));
}
-var j8e = (e, t, n, r, i) => {
+var N8e = (e, t, n, r, i) => {
var a = n ?? t;
if (EK(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -91010,8 +91018,8 @@ var j8e = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function M8e(e) {
- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = j8e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
+function P8e(e) {
+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = N8e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
var r;
if (g) r = a[d + t];
else {
@@ -91060,12 +91068,12 @@ function M8e(e) {
isRange: y
};
}
-function N8e(e) {
- var t = Uq(e, b8e), n = AZ();
- return /*#__PURE__*/ b.createElement(f3, {
+function F8e(e) {
+ var t = Uq(e, S8e), n = AZ();
+ return /*#__PURE__*/ b.createElement(d3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: x8e(t) }), /*#__PURE__*/ b.createElement(S8e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i3, { legendPayload: C8e(t) }), /*#__PURE__*/ b.createElement(w8e, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -91077,7 +91085,7 @@ function N8e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(m3, {
+ }), /*#__PURE__*/ b.createElement(p3, {
type: "area",
id: e,
data: t.data,
@@ -91091,29 +91099,29 @@ function N8e(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ b.createElement(A8e, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(M8e, f6({}, t, { id: e }))));
}
-var P8e = /*#__PURE__*/ b.memo(N8e, cQ);
-P8e.displayName = "Area";
+var I8e = /*#__PURE__*/ b.memo(F8e, cQ);
+I8e.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var F8e = "Invariant failed";
-function I8e(e, t) {
- if (!e) throw Error(F8e);
+var L8e = "Invariant failed";
+function R8e(e, t) {
+ if (!e) throw Error(L8e);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-var L8e = ["option"];
-function R8e(e, t) {
+var z8e = ["option"];
+function B8e(e, t) {
if (e == null) return {};
- var n, r, i = z8e(e, t);
+ var n, r, i = V8e(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 z8e(e, t) {
+function V8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91122,92 +91130,92 @@ function z8e(e, t) {
}
return n;
}
-var g6 = t$;
-function _6(e) {
- var t = e.option, n = R8e(e, L8e);
- return /*#__PURE__*/ b.createElement(e3, {
+var h6 = e$;
+function g6(e) {
+ var t = e.option, n = B8e(e, z8e);
+ return /*#__PURE__*/ b.createElement($4, {
option: t,
- DefaultShape: g6,
+ DefaultShape: h6,
shapeProps: n,
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
});
}
-var B8e = function(e) {
+var H8e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (EK(e)) return e;
var i = EK(n) || NK(n);
- return i ? e(n, r) : (!i && I8e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ return i ? e(n, r) : (!i && R8e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, V8e = (e, t, n) => n, v6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), H8e = Y([v6], (e) => e?.maxBarSize), U8e = (e, t, n, r) => r, W8e = Y([
+}, U8e = (e, t, n) => n, _6 = Y([Y0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), W8e = Y([_6], (e) => e?.maxBarSize), G8e = (e, t, n, r) => r, K8e = Y([
JZ,
- X0,
+ Y0,
+ c6,
l6,
- u6,
- V8e
-], (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")), G8e = (e, t, n) => {
- var r = JZ(e), i = l6(e, t), a = u6(e, t);
- if (i != null && a != null) return r === "horizontal" ? c2(e, "yAxis", a, n) : c2(e, "xAxis", i, n);
-}, K8e = Y([
- W8e,
- uHe,
+ U8e
+], (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")), q8e = (e, t, n) => {
+ var r = JZ(e), i = c6(e, t), a = l6(e, t);
+ if (i != null && a != null) return r === "horizontal" ? s2(e, "yAxis", a, n) : s2(e, "xAxis", i, n);
+}, J8e = Y([
+ K8e,
+ fHe,
(e, t) => {
- var n = JZ(e), r = l6(e, t), i = u6(e, t);
- if (r != null && i != null) return n === "horizontal" ? zqe(e, "xAxis", r) : zqe(e, "yAxis", i);
+ var n = JZ(e), r = c6(e, t), i = l6(e, t);
+ if (r != null && i != null) return n === "horizontal" ? Vqe(e, "xAxis", r) : Vqe(e, "yAxis", i);
}
-], h2e), q8e = (e, t, n) => {
- var r = v6(e, t);
+], _2e), Y8e = (e, t, n) => {
+ var r = _6(e, t);
if (r == null) return 0;
- var i = l6(e, t), a = u6(e, t);
+ var i = c6(e, t), a = l6(e, t);
if (i == null || a == null) return 0;
- var o = JZ(e), s = v$(e), c = r.maxBarSize, l = NK(c) ? s : c, u, d;
- return o === "horizontal" ? (u = M2(e, "xAxis", i, n), d = j2(e, "xAxis", i, n)) : (u = M2(e, "yAxis", a, n), d = j2(e, "yAxis", a, n)), _Z(u, d, !0) ?? l ?? 0;
-}, J8e = (e, t, n) => {
- var r = JZ(e), i = l6(e, t), a = u6(e, t);
+ var o = JZ(e), s = _$(e), c = r.maxBarSize, l = NK(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = j2(e, "xAxis", i, n), d = A2(e, "xAxis", i, n)) : (u = j2(e, "yAxis", a, n), d = A2(e, "yAxis", a, n)), _Z(u, d, !0) ?? l ?? 0;
+}, X8e = (e, t, n) => {
+ var r = JZ(e), i = c6(e, t), a = l6(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = M2(e, "xAxis", i, n), s = j2(e, "xAxis", i, n)) : (o = M2(e, "yAxis", a, n), s = j2(e, "yAxis", a, n)), _Z(o, s);
+ return r === "horizontal" ? (o = j2(e, "xAxis", i, n), s = A2(e, "xAxis", i, n)) : (o = j2(e, "yAxis", a, n), s = A2(e, "yAxis", a, n)), _Z(o, s);
}
-}, Y8e = Y([
+}, Z8e = Y([
DZ,
kZ,
(e, t, n) => {
- var r = l6(e, t);
- if (r != null) return M2(e, "xAxis", r, n);
+ var r = c6(e, t);
+ if (r != null) return j2(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u6(e, t);
- if (r != null) return M2(e, "yAxis", r, n);
+ var r = l6(e, t);
+ if (r != null) return j2(e, "yAxis", r, n);
},
(e, t, n) => {
- var r = l6(e, t);
- if (r != null) return j2(e, "xAxis", r, n);
+ var r = c6(e, t);
+ if (r != null) return A2(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u6(e, t);
- if (r != null) return j2(e, "yAxis", r, n);
+ var r = l6(e, t);
+ if (r != null) return A2(e, "yAxis", r, n);
},
Y([Y([
- K8e,
- v$,
- lHe,
- y$,
- q8e,
J8e,
- H8e
- ], x2e), v6], C2e),
+ _$,
+ dHe,
+ v$,
+ Y8e,
+ X8e,
+ W8e
+ ], C2e), _6], T2e),
JZ,
- RVe,
- J8e,
- Y([G8e, v6], S2e),
- v6,
- U8e
+ BVe,
+ X8e,
+ Y([q8e, _6], w2e),
+ _6,
+ G8e
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return P5e({
+ if (_ != null) return I5e({
layout: s,
barSettings: d,
pos: o,
@@ -91224,26 +91232,26 @@ var B8e = function(e) {
dataStartIndex: m
});
}
-}), X8e = ["index"];
-function y6() {
- return y6 = Object.assign ? Object.assign.bind() : function(e) {
+}), Q8e = ["index"];
+function v6() {
+ return v6 = 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;
- }, y6.apply(null, arguments);
+ }, v6.apply(null, arguments);
}
-function Z8e(e, t) {
+function $8e(e, t) {
if (e == null) return {};
- var n, r, i = Q8e(e, t);
+ var n, r, i = e5e(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 Q8e(e, t) {
+function e5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91252,54 +91260,54 @@ function Q8e(e, t) {
}
return n;
}
-var $8e = /*#__PURE__*/ (0, b.createContext)(void 0), e5e = (e) => {
- var t = (0, b.useContext)($8e);
+var t5e = /*#__PURE__*/ (0, b.createContext)(void 0), n5e = (e) => {
+ var t = (0, b.useContext)(t5e);
if (t != null) return t.stackId;
if (e != null) return dZ(e);
-}, t5e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, n5e = (e) => {
- var t = (0, b.useContext)($8e);
+}, r5e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, i5e = (e) => {
+ var t = (0, b.useContext)(t5e);
if (t != null) {
var n = t.stackId;
- return `url(#${t5e(n, e)})`;
+ return `url(#${r5e(n, e)})`;
}
-}, r5e = (e) => {
- var t = e.index, n = Z8e(e, X8e), r = n5e(t);
- return /*#__PURE__*/ b.createElement(pK, y6({
+}, a5e = (e) => {
+ var t = e.index, n = $8e(e, Q8e), r = i5e(t);
+ return /*#__PURE__*/ b.createElement(pK, v6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, i5e = [
+}, o5e = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], a5e = [
+], s5e = [
"value",
"background",
"tooltipPosition"
-], o5e = ["id"], s5e = [
+], c5e = ["id"], l5e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function c5e(e, t) {
- return p5e(e) || f5e(e, t) || u5e(e, t) || l5e();
+function u5e(e, t) {
+ return h5e(e) || m5e(e, t) || f5e(e, t) || d5e();
}
-function l5e() {
+function d5e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function u5e(e, t) {
+function f5e(e, t) {
if (e) {
- if (typeof e == "string") return d5e(e, t);
+ if (typeof e == "string") return p5e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d5e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? p5e(e, t) : void 0;
}
}
-function d5e(e, t) {
+function p5e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function f5e(e, t) {
+function m5e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -91320,19 +91328,19 @@ function f5e(e, t) {
return s;
}
}
-function p5e(e) {
+function h5e(e) {
if (Array.isArray(e)) return e;
}
-function b6() {
- return b6 = Object.assign ? Object.assign.bind() : function(e) {
+function y6() {
+ return y6 = 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;
- }, b6.apply(null, arguments);
+ }, y6.apply(null, arguments);
}
-function m5e(e, t) {
+function g5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91342,30 +91350,30 @@ function m5e(e, t) {
}
return n;
}
-function x6(e) {
+function b6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? m5e(Object(n), !0).forEach(function(t) {
- h5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m5e(Object(n)).forEach(function(t) {
+ t % 2 ? g5e(Object(n), !0).forEach(function(t) {
+ _5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function h5e(e, t, n) {
- return (t = g5e(t)) in e ? Object.defineProperty(e, t, {
+function _5e(e, t, n) {
+ return (t = v5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function g5e(e) {
- var t = _5e(e, "string");
+function v5e(e) {
+ var t = y5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _5e(e, t) {
+function y5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91375,16 +91383,16 @@ function _5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function S6(e, t) {
+function x6(e, t) {
if (e == null) return {};
- var n, r, i = v5e(e, t);
+ var n, r, i = b5e(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 v5e(e, t) {
+function b5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91393,7 +91401,7 @@ function v5e(e, t) {
}
return n;
}
-var y5e = (e) => {
+var x5e = (e) => {
var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;
return [{
inactive: e.hide,
@@ -91403,7 +91411,7 @@ var y5e = (e) => {
value: yZ(n, t),
payload: e
}];
-}, b5e = /*#__PURE__*/ b.memo((e) => {
+}, S5e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
getPosition: IK,
@@ -91422,19 +91430,19 @@ var y5e = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ b.createElement(r3, { tooltipEntrySettings: d });
});
-function x5e(e) {
- var t = J(X2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = S6(a, i5e), u = t3(o, r, a.id), d = n3(s), f = r3(c, r, a.id);
+function C5e(e) {
+ var t = J(Y2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = x6(a, o5e), u = e3(o, r, a.id), d = t3(s), f = n3(c, r, a.id);
if (!i || n == null) return null;
var p = cK(i);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: B2e(i, T$.barBackground) }, n.map((e, n) => {
+ return /*#__PURE__*/ b.createElement(i4, { zIndex: H2e(i, w$.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
e.tooltipPosition;
- var o = S6(e, a5e);
+ var o = x6(e, s5e);
if (!a) return null;
- var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = x6(x6(x6(x6(x6({
+ var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = b6(b6(b6(b6(b6({
option: i,
isActive: String(e.originalDataIndex) === t
}, o), {}, { fill: "#eee" }, a), p), Vq(l, e, n)), {}, {
@@ -91445,10 +91453,10 @@ function x5e(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ b.createElement(_6, b6({ key: `background-bar-${n}` }, h));
+ return /*#__PURE__*/ b.createElement(g6, y6({ key: `background-bar-${n}` }, h));
}));
}
-function S5e(e) {
+function w5e(e) {
var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {
var t = {
x: e.x,
@@ -91458,7 +91466,7 @@ function S5e(e) {
upperWidth: e.width,
height: e.height
};
- return x6(x6({}, t), {}, {
+ return b6(b6({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -91466,10 +91474,10 @@ function S5e(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(E4, { value: t ? r : void 0 }, n);
}
-function C5e(e) {
- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(X2), c = J(ZJe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = c5e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = c5e((0, b.useState)(!1), 2), h = m[0], g = m[1];
+function T5e(e) {
+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(Y2), c = J($Je), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = u5e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = u5e((0, b.useState)(!1), 2), h = m[0], g = m[1];
(0, b.useEffect)(() => {
var e;
return l ? (p(!0), e = requestAnimationFrame(() => {
@@ -91480,7 +91488,7 @@ function C5e(e) {
}, [l, u]);
var _ = (0, b.useCallback)(() => {
l || p(!1);
- }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(_6, b6({}, r, { name: String(r.name) }, i, {
+ }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(g6, y6({}, r, { name: String(r.name) }, i, {
isActive: v,
option: x,
index: a,
@@ -91490,11 +91498,11 @@ function C5e(e) {
isEntrance: e.isEntrance,
onTransitionEnd: _
}));
- return y ? /*#__PURE__*/ b.createElement(a4, { zIndex: T$.activeBar }, /*#__PURE__*/ b.createElement(r5e, { index: i.originalDataIndex }, S)) : S;
+ return y ? /*#__PURE__*/ b.createElement(i4, { zIndex: w$.activeBar }, /*#__PURE__*/ b.createElement(a5e, { index: i.originalDataIndex }, S)) : S;
}
-function w5e(e) {
+function E5e(e) {
var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;
- return /*#__PURE__*/ b.createElement(_6, b6({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ b.createElement(g6, y6({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
@@ -91504,9 +91512,9 @@ function w5e(e) {
isEntrance: e.isEntrance
}));
}
-function T5e(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = sK(n) ?? {}, s = o.id, c = S6(o, o5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, s5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);
- return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(r5e, b6({
+function D5e(e) {
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = sK(n) ?? {}, s = o.id, c = x6(o, c5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = x6(n, l5e), g = e3(f, u, s), _ = t3(m), v = n3(p, u, s);
+ return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(a5e, y6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
@@ -91514,7 +91522,7 @@ function T5e(e) {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
- }), d ? /*#__PURE__*/ b.createElement(C5e, {
+ }), d ? /*#__PURE__*/ b.createElement(T5e, {
shape: l,
activeBar: d,
baseProps: c,
@@ -91524,7 +91532,7 @@ function T5e(e) {
animationElapsedTime: r,
isAnimating: i,
isEntrance: a
- }) : /*#__PURE__*/ b.createElement(w5e, {
+ }) : /*#__PURE__*/ b.createElement(E5e, {
shape: l,
baseProps: c,
entry: e,
@@ -91535,32 +91543,32 @@ function T5e(e) {
isEntrance: a
})))) : null;
}
-var E5e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
- if (e.status === "removed") return n === "horizontal" ? [x6(x6({}, e.prev), {}, {
+var O5e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
+ if (e.status === "removed") return n === "horizontal" ? [b6(b6({}, e.prev), {}, {
height: jK(e.prev.height, 0, t),
y: jK(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [x6(x6({}, e.prev), {}, { width: jK(e.prev.width, 0, t) })];
- if (e.status === "matched") return [x6(x6({}, e.next), {}, {
+ })] : [b6(b6({}, e.prev), {}, { width: jK(e.prev.width, 0, t) })];
+ if (e.status === "matched") return [b6(b6({}, e.next), {}, {
x: jK(e.prev.x, e.next.x, t),
y: jK(e.prev.y, e.next.y, t),
width: jK(e.prev.width, e.next.width, t),
height: jK(e.prev.height, e.next.height, t)
})];
var r = e.next;
- return n === "horizontal" ? [x6(x6({}, r), {}, {
+ return n === "horizontal" ? [b6(b6({}, r), {}, {
height: jK(0, r.height, t),
y: jK(r.stackedBarStart, r.y, t)
- })] : [x6(x6({}, r), {}, {
+ })] : [b6(b6({}, r), {}, {
width: jK(0, r.width, t),
x: jK(r.stackedBarStart, r.x, t)
})];
});
-function D5e(e) {
- var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = u3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
- return /*#__PURE__*/ b.createElement(S5e, {
+function k5e(e) {
+ var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = l3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
+ return /*#__PURE__*/ b.createElement(w5e, {
showLabels: !d,
rects: r
- }, /*#__PURE__*/ b.createElement(d3, {
+ }, /*#__PURE__*/ b.createElement(u3, {
animationInput: r,
animationIdPrefix: "recharts-bar-",
items: r,
@@ -91574,22 +91582,22 @@ function D5e(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ b.createElement(pK, null, /*#__PURE__*/ b.createElement(T5e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(pK, null, /*#__PURE__*/ b.createElement(D5e, {
props: t,
data: e,
animationElapsedTime: n,
isAnimating: d || n < 1,
isEntrance: r
- }))), /*#__PURE__*/ b.createElement(k4, { label: t.label }), t.children);
+ }))), /*#__PURE__*/ b.createElement(O4, { label: t.label }), t.children);
}
-function O5e(e) {
+function A5e(e) {
var t = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(D5e, {
+ return /*#__PURE__*/ b.createElement(k5e, {
previousRectanglesRef: t,
props: e
});
}
-var k5e = 0, A5e = (e, t) => {
+var j5e = 0, M5e = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -91597,7 +91605,7 @@ var k5e = 0, A5e = (e, t) => {
value: n,
errorVal: oZ(e, t)
};
-}, j5e = class extends b.PureComponent {
+}, N5e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
@@ -91605,49 +91613,49 @@ var k5e = 0, A5e = (e, t) => {
return /*#__PURE__*/ b.createElement(pK, {
className: u,
id: l
- }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(r6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
})), /*#__PURE__*/ b.createElement(pK, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
- }, /*#__PURE__*/ b.createElement(x5e, {
+ }, /*#__PURE__*/ b.createElement(C5e, {
data: n,
dataKey: r,
background: c,
allOtherBarProps: this.props
- }), /*#__PURE__*/ b.createElement(O5e, this.props)));
+ }), /*#__PURE__*/ b.createElement(A5e, this.props)));
}
-}, M5e = {
+}, P5e = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
animationEasing: "ease",
- animationInterpolateFn: E5e,
- animationMatchBy: h1e,
+ animationInterpolateFn: O5e,
+ animationMatchBy: _1e,
background: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: k5e,
- shape: g6,
+ minPointSize: j5e,
+ shape: h6,
xAxisId: 0,
yAxisId: 0,
- zIndex: T$.bar
+ zIndex: w$.bar
};
-function N5e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = r6(t, n).needClip, f = YZ(), p = AZ(), m = Z$e(e.children, p4), h = J((t) => Y8e(t, e.id, p, m));
+function F5e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = n6(t, n).needClip, f = YZ(), p = AZ(), m = $$e(e.children, f4), h = J((t) => Z8e(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__*/ b.createElement(g6e, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(v6e, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: A5e,
+ dataPointFormatter: M5e,
errorBarOffset: g
- }, /*#__PURE__*/ b.createElement(j5e, b6({}, e, {
+ }, /*#__PURE__*/ b.createElement(N5e, y6({}, e, {
layout: f,
needClip: d,
data: h,
@@ -91663,7 +91671,7 @@ function N5e(e) {
isAnimationActive: u
})));
}
-function P5e(e) {
+function I5e(e) {
var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = mZ({ numericAxis: v }), x = v.scale.map(b);
return p.map((e, n) => {
var p, v, S, C, w, T;
@@ -91672,7 +91680,7 @@ function P5e(e) {
if (E == null) return null;
p = uZ(E, y);
} else p = oZ(e, r), Array.isArray(p) || (p = [b, p]);
- var D = B8e(i, k5e)(p[1], n);
+ var D = H8e(i, j5e)(p[1], n);
if (t === "horizontal") {
var O = l.scale.map(p[0]), k = l.scale.map(p[1]);
if (O == null || k == null) return null;
@@ -91714,7 +91722,7 @@ function P5e(e) {
C += P;
}
}
- return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : x6(x6({}, e), {}, {
+ return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : b6(b6({}, e), {}, {
stackedBarStart: x,
x: v,
y: S,
@@ -91732,12 +91740,12 @@ function P5e(e) {
}, h && h[n] && h[n].props);
}).filter(Boolean);
}
-function F5e(e) {
- var t = Uq(e, M5e), n = e5e(t.stackId), r = AZ();
- return /*#__PURE__*/ b.createElement(f3, {
+function L5e(e) {
+ var t = Uq(e, P5e), n = n5e(t.stackId), r = AZ();
+ return /*#__PURE__*/ b.createElement(d3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: y5e(t) }), /*#__PURE__*/ b.createElement(b5e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i3, { legendPayload: x5e(t) }), /*#__PURE__*/ b.createElement(S5e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -91748,7 +91756,7 @@ function F5e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(m3, {
+ }), /*#__PURE__*/ b.createElement(p3, {
type: "bar",
id: e,
data: void 0,
@@ -91762,24 +91770,24 @@ function F5e(e) {
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize,
isPanorama: r,
- hasCustomShape: t.shape != null && t.shape !== g6
- }), /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(N5e, b6({}, t, { id: e })))));
+ hasCustomShape: t.shape != null && t.shape !== h6
+ }), /*#__PURE__*/ b.createElement(i4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(F5e, y6({}, t, { id: e })))));
}
-var C6 = /*#__PURE__*/ b.memo(F5e, cQ);
-C6.displayName = "Bar";
+var S6 = /*#__PURE__*/ b.memo(L5e, cQ);
+S6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var I5e = ["domain", "range"], L5e = ["domain", "range"];
-function R5e(e, t) {
+var R5e = ["domain", "range"], z5e = ["domain", "range"];
+function B5e(e, t) {
if (e == null) return {};
- var n, r, i = z5e(e, t);
+ var n, r, i = V5e(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 z5e(e, t) {
+function V5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91788,31 +91796,31 @@ function z5e(e, t) {
}
return n;
}
-function B5e(e, t) {
+function H5e(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 V5e(e, t) {
+function U5e(e, t) {
if (e === t) return !0;
- var n = e.domain, r = e.range, i = R5e(e, I5e), a = t.domain, o = t.range, s = R5e(t, L5e);
- return !B5e(n, a) || !B5e(r, o) ? !1 : cQ(i, s);
+ var n = e.domain, r = e.range, i = B5e(e, R5e), a = t.domain, o = t.range, s = B5e(t, z5e);
+ return !H5e(n, a) || !H5e(r, o) ? !1 : cQ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var H5e = ["type"], U5e = [
+var W5e = ["type"], G5e = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], W5e = ["id", "scale"];
-function w6() {
- return w6 = Object.assign ? Object.assign.bind() : function(e) {
+], K5e = ["id", "scale"];
+function C6() {
+ return C6 = 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;
- }, w6.apply(null, arguments);
+ }, C6.apply(null, arguments);
}
-function G5e(e, t) {
+function q5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -91822,30 +91830,30 @@ function G5e(e, t) {
}
return n;
}
-function K5e(e) {
+function J5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G5e(Object(n), !0).forEach(function(t) {
- q5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G5e(Object(n)).forEach(function(t) {
+ t % 2 ? q5e(Object(n), !0).forEach(function(t) {
+ Y5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function q5e(e, t, n) {
- return (t = J5e(t)) in e ? Object.defineProperty(e, t, {
+function Y5e(e, t, n) {
+ return (t = X5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function J5e(e) {
- var t = Y5e(e, "string");
+function X5e(e) {
+ var t = Z5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Y5e(e, t) {
+function Z5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -91855,16 +91863,16 @@ function Y5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function T6(e, t) {
+function w6(e, t) {
if (e == null) return {};
- var n, r, i = X5e(e, t);
+ var n, r, i = Q5e(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 X5e(e, t) {
+function Q5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -91873,27 +91881,27 @@ function X5e(e, t) {
}
return n;
}
-function Z5e(e) {
- var t = IJ(), n = (0, b.useRef)(null), r = XZ(), i = e.type, a = T6(e, H5e), o = k$(r, "xAxis", i), s = (0, b.useMemo)(() => {
- if (o != null) return K5e(K5e({}, a), {}, { type: o });
+function $5e(e) {
+ var t = IJ(), n = (0, b.useRef)(null), r = XZ(), i = e.type, a = w6(e, W5e), o = O$(r, "xAxis", i), s = (0, b.useMemo)(() => {
+ if (o != null) return J5e(J5e({}, a), {}, { type: o });
}, [a, o]);
return (0, b.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(o0e(s)) : n.current !== s && t(s0e({
+ s != null && (n.current === null ? t(c0e(s)) : n.current !== s && t(l0e({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(c0e(n.current)), null);
+ n.current &&= (t(u0e(n.current)), null);
}, [t]), null;
}
-var Q5e = (e) => {
- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(kZ), c = AZ(), l = IJ(), u = "xAxis", d = J((e) => Uqe(e, u, t, c)), f = J((e) => jqe(e, t)), p = J((e) => Iqe(e, t)), m = J((e) => kKe(e, t));
+var e7e = (e) => {
+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(kZ), c = AZ(), l = IJ(), u = "xAxis", d = J((e) => Gqe(e, u, t, c)), f = J((e) => Nqe(e, t)), p = J((e) => Rqe(e, t)), m = J((e) => jKe(e, t));
if ((0, b.useLayoutEffect)(() => {
- if (!(r !== "auto" || !f || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !f || S4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedHeight();
- Math.round(f.height) !== Math.round(n) && l(p0e({
+ Math.round(f.height) !== Math.round(n) && l(h0e({
id: t,
height: n
}));
@@ -91909,10 +91917,10 @@ var Q5e = (e) => {
m
]), f == null || p == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = T6(e, U5e);
+ var h = w6(e, G5e);
m.id, m.scale;
- var g = T6(m, W5e);
- return /*#__PURE__*/ b.createElement(Z3, w6({}, h, g, {
+ var g = w6(m, K5e);
+ return /*#__PURE__*/ b.createElement(X3, C6({}, h, g, {
ref: a,
labelRef: o,
x: p.x,
@@ -91925,33 +91933,33 @@ var Q5e = (e) => {
axisType: u,
axisId: t
}));
-}, $5e = {
- allowDataOverflow: H0.allowDataOverflow,
- allowDecimals: H0.allowDecimals,
- allowDuplicatedCategory: H0.allowDuplicatedCategory,
- angle: H0.angle,
- axisLine: X3.axisLine,
- height: H0.height,
+}, t7e = {
+ allowDataOverflow: V0.allowDataOverflow,
+ allowDecimals: V0.allowDecimals,
+ allowDuplicatedCategory: V0.allowDuplicatedCategory,
+ angle: V0.angle,
+ axisLine: Y3.axisLine,
+ height: V0.height,
hide: !1,
- includeHidden: H0.includeHidden,
- interval: H0.interval,
+ includeHidden: V0.includeHidden,
+ interval: V0.interval,
label: !1,
- minTickGap: H0.minTickGap,
- mirror: H0.mirror,
- orientation: H0.orientation,
- padding: H0.padding,
- reversed: H0.reversed,
- scale: H0.scale,
- tick: H0.tick,
- tickCount: H0.tickCount,
- tickLine: X3.tickLine,
- tickSize: X3.tickSize,
- type: H0.type,
- niceTicks: H0.niceTicks,
+ minTickGap: V0.minTickGap,
+ mirror: V0.mirror,
+ orientation: V0.orientation,
+ padding: V0.padding,
+ reversed: V0.reversed,
+ scale: V0.scale,
+ tick: V0.tick,
+ tickCount: V0.tickCount,
+ tickLine: Y3.tickLine,
+ tickSize: Y3.tickSize,
+ type: V0.type,
+ niceTicks: V0.niceTicks,
xAxisId: 0
-}, e7e = /*#__PURE__*/ b.memo((e) => {
- var t = Uq(e, $5e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Z5e, {
+}, T6 = /*#__PURE__*/ b.memo((e) => {
+ var t = Uq(e, t7e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($5e, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -91977,16 +91985,16 @@ var Q5e = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ b.createElement(Q5e, t));
-}, V5e);
-e7e.displayName = "XAxis";
+ }), /*#__PURE__*/ b.createElement(e7e, t));
+}, U5e);
+T6.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var t7e = ["type"], n7e = [
+var n7e = ["type"], r7e = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], r7e = ["id", "scale"];
+], i7e = ["id", "scale"];
function E6() {
return E6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -91996,7 +92004,7 @@ function E6() {
return e;
}, E6.apply(null, arguments);
}
-function i7e(e, t) {
+function a7e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92006,30 +92014,30 @@ function i7e(e, t) {
}
return n;
}
-function a7e(e) {
+function o7e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? i7e(Object(n), !0).forEach(function(t) {
- o7e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i7e(Object(n)).forEach(function(t) {
+ t % 2 ? a7e(Object(n), !0).forEach(function(t) {
+ s7e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a7e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function o7e(e, t, n) {
- return (t = s7e(t)) in e ? Object.defineProperty(e, t, {
+function s7e(e, t, n) {
+ return (t = c7e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function s7e(e) {
- var t = c7e(e, "string");
+function c7e(e) {
+ var t = l7e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function c7e(e, t) {
+function l7e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92041,14 +92049,14 @@ function c7e(e, t) {
}
function D6(e, t) {
if (e == null) return {};
- var n, r, i = l7e(e, t);
+ var n, r, i = u7e(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 l7e(e, t) {
+function u7e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -92057,27 +92065,27 @@ function l7e(e, t) {
}
return n;
}
-function u7e(e) {
- var t = IJ(), n = (0, b.useRef)(null), r = XZ(), i = e.type, a = D6(e, t7e), o = k$(r, "yAxis", i), s = (0, b.useMemo)(() => {
- if (o != null) return a7e(a7e({}, a), {}, { type: o });
+function d7e(e) {
+ var t = IJ(), n = (0, b.useRef)(null), r = XZ(), i = e.type, a = D6(e, n7e), o = O$(r, "yAxis", i), s = (0, b.useMemo)(() => {
+ if (o != null) return o7e(o7e({}, a), {}, { type: o });
}, [o, a]);
return (0, b.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(l0e(s)) : n.current !== s && t(u0e({
+ s != null && (n.current === null ? t(d0e(s)) : n.current !== s && t(f0e({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(d0e(n.current)), null);
+ n.current &&= (t(p0e(n.current)), null);
}, [t]), null;
}
-function d7e(e) {
- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(kZ), c = AZ(), l = IJ(), u = "yAxis", d = J((e) => Rqe(e, t)), f = J((e) => Lqe(e, t)), p = J((e) => Uqe(e, u, t, c)), m = J((e) => AKe(e, t));
+function f7e(e) {
+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(kZ), c = AZ(), l = IJ(), u = "yAxis", d = J((e) => Bqe(e, t)), f = J((e) => zqe(e, t)), p = J((e) => Gqe(e, u, t, c)), m = J((e) => MKe(e, t));
if ((0, b.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || S4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(f0e({
+ Math.round(d.width) !== Math.round(n) && l(m0e({
id: t,
width: n
}));
@@ -92093,10 +92101,10 @@ function d7e(e) {
m
]), d == null || f == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = D6(e, n7e);
+ var h = D6(e, r7e);
m.id, m.scale;
- var g = D6(m, r7e);
- return /*#__PURE__*/ b.createElement(Z3, E6({}, h, g, {
+ var g = D6(m, i7e);
+ return /*#__PURE__*/ b.createElement(X3, E6({}, h, g, {
ref: a,
labelRef: o,
x: f.x,
@@ -92111,33 +92119,33 @@ function d7e(e) {
axisId: t
}));
}
-var f7e = {
- allowDataOverflow: W0.allowDataOverflow,
- allowDecimals: W0.allowDecimals,
- allowDuplicatedCategory: W0.allowDuplicatedCategory,
- angle: W0.angle,
- axisLine: X3.axisLine,
+var p7e = {
+ allowDataOverflow: U0.allowDataOverflow,
+ allowDecimals: U0.allowDecimals,
+ allowDuplicatedCategory: U0.allowDuplicatedCategory,
+ angle: U0.angle,
+ axisLine: Y3.axisLine,
hide: !1,
- includeHidden: W0.includeHidden,
- interval: W0.interval,
+ includeHidden: U0.includeHidden,
+ interval: U0.interval,
label: !1,
- minTickGap: W0.minTickGap,
- mirror: W0.mirror,
- orientation: W0.orientation,
- padding: W0.padding,
- reversed: W0.reversed,
- scale: W0.scale,
- tick: W0.tick,
- tickCount: W0.tickCount,
- tickLine: X3.tickLine,
- tickSize: X3.tickSize,
- type: W0.type,
- niceTicks: W0.niceTicks,
- width: W0.width,
+ minTickGap: U0.minTickGap,
+ mirror: U0.mirror,
+ orientation: U0.orientation,
+ padding: U0.padding,
+ reversed: U0.reversed,
+ scale: U0.scale,
+ tick: U0.tick,
+ tickCount: U0.tickCount,
+ tickLine: Y3.tickLine,
+ tickSize: Y3.tickSize,
+ type: U0.type,
+ niceTicks: U0.niceTicks,
+ width: U0.width,
yAxisId: 0
-}, p7e = /*#__PURE__*/ b.memo((e) => {
- var t = Uq(e, f7e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(u7e, {
+}, m7e = /*#__PURE__*/ b.memo((e) => {
+ var t = Uq(e, p7e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(d7e, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -92163,27 +92171,27 @@ var f7e = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ b.createElement(d7e, t));
-}, V5e);
-p7e.displayName = "YAxis";
+ }), /*#__PURE__*/ b.createElement(f7e, t));
+}, U5e);
+m7e.displayName = "YAxis";
var O6 = Y([
(e, t) => t,
JZ,
- F$,
- U$,
- qJe,
- K2,
- bYe,
+ P$,
+ H$,
+ YJe,
+ G2,
+ SYe,
DZ
-], kYe);
+], jYe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function m7e(e) {
+function h7e(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function k6(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (m7e(e)) {
+ if (h7e(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 {
@@ -92198,31 +92206,31 @@ function k6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var h7e = _X("mouseClick"), g7e = ZX();
-g7e.startListening({
- actionCreator: h7e,
+var g7e = _X("mouseClick"), _7e = ZX();
+_7e.startListening({
+ actionCreator: g7e,
effect: (e, t) => {
var n = e.payload, r = O6(t.getState(), k6(n));
- r?.activeIndex != null && t.dispatch(cJe({
+ r?.activeIndex != null && t.dispatch(uJe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var A6 = _X("mouseMove"), _7e = ZX(), j6 = null, M6 = null, N6 = null;
-_7e.startListening({
+var A6 = _X("mouseMove"), v7e = ZX(), j6 = null, M6 = null, N6 = null;
+v7e.startListening({
actionCreator: A6,
effect: (e, t) => {
var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");
j6 !== null && (cancelAnimationFrame(j6), j6 = null), M6 !== null && (typeof i != "number" || !o) && (clearTimeout(M6), M6 = null), N6 = k6(n);
var s = () => {
- var e = t.getState(), n = N2(e, e.tooltip.settings.shared);
+ var e = t.getState(), n = M2(e, e.tooltip.settings.shared);
if (!N6) j6 = null, M6 = null;
else {
if (n === "axis") {
var r = O6(e, N6);
- r?.activeIndex == null ? t.dispatch(aJe()) : t.dispatch(sJe({
+ r?.activeIndex == null ? t.dispatch(sJe()) : t.dispatch(lJe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -92236,12 +92244,12 @@ _7e.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function v7e(e, t) {
+function y7e(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 y7e = {
+var b7e = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -92253,19 +92261,19 @@ var y7e = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, b7e = EX({
+}, x7e = EX({
name: "rootProps",
- initialState: y7e,
+ initialState: b7e,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? y7e.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 ?? b7e.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;
} }
-}), x7e = b7e.reducer, S7e = b7e.actions.updateOptions, C7e = EX({
+}), S7e = x7e.reducer, C7e = x7e.actions.updateOptions, w7e = EX({
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) }
-}), w7e = C7e.actions.updatePolarOptions, T7e = C7e.reducer, E7e = _X("keyDown"), D7e = _X("focus"), O7e = _X("blur"), P6 = ZX(), F6 = null, I6 = null, L6 = null;
+}), T7e = w7e.actions.updatePolarOptions, E7e = w7e.reducer, D7e = _X("keyDown"), O7e = _X("focus"), k7e = _X("blur"), P6 = ZX(), F6 = null, I6 = null, L6 = null;
P6.startListening({
- actionCreator: E7e,
+ actionCreator: D7e,
effect: (e, t) => {
L6 = e.payload, F6 !== null && (cancelAnimationFrame(F6), F6 = null);
var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");
@@ -92276,20 +92284,20 @@ P6.startListening({
if (e.rootProps.accessibilityLayer === !1) return;
var n = e.tooltip.keyboardInteraction, r = L6;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = z2(n, U2(e), o2(e), G2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = K2(e), c = U2(e), l = N2(e, e.tooltip.settings.shared);
+ var i = R2(n, H2(e), a2(e), W2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = G2(e), c = H2(e), l = M2(e, e.tooltip.settings.shared);
if (r === "Enter") {
if (o) return;
- var u = n4(e, l, "hover", String(n.index));
- t.dispatch(L2({
+ var u = t4(e, l, "hover", String(n.index));
+ t.dispatch(I2({
active: !n.active,
activeIndex: n.index,
activeCoordinate: u
}));
return;
}
- var d = Gqe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
+ var d = qqe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
if (o) {
- var m = o2(e), h = G2(e), g = f * d, _ = (e) => ({
+ var m = a2(e), h = W2(e), g = f * d, _ = (e) => ({
active: !1,
index: String(e),
dataKey: void 0,
@@ -92297,11 +92305,11 @@ P6.startListening({
coordinate: void 0
});
if (p = -1, g > 0) {
- for (var v = 0; v < c.length; v++) if (z2(_(v), c, m, h) != null) {
+ for (var v = 0; v < c.length; v++) if (R2(_(v), c, m, h) != null) {
p = v;
break;
}
- } else for (var y = c.length - 1; y >= 0; y--) if (z2(_(y), c, m, h) != null) {
+ } else for (var y = c.length - 1; y >= 0; y--) if (R2(_(y), c, m, h) != null) {
p = y;
break;
}
@@ -92311,8 +92319,8 @@ P6.startListening({
var b = s?.length || c.length;
if (b === 0 || p >= b || p < 0) return;
}
- var x = n4(e, l, "hover", String(p));
- t.dispatch(L2({
+ var x = t4(e, l, "hover", String(p));
+ t.dispatch(I2({
active: !0,
activeIndex: p.toString(),
activeCoordinate: x
@@ -92326,14 +92334,14 @@ P6.startListening({
}, r)) : o();
}
}), P6.startListening({
- actionCreator: D7e,
+ actionCreator: O7e,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var r = n.tooltip.keyboardInteraction;
if (!r.active && r.index == null) {
- var i = "0", a = n4(n, N2(n, n.tooltip.settings.shared), "hover", String(i));
- t.dispatch(L2({
+ var i = "0", a = t4(n, M2(n, n.tooltip.settings.shared), "hover", String(i));
+ t.dispatch(I2({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -92342,12 +92350,12 @@ P6.startListening({
}
}
}), P6.startListening({
- actionCreator: O7e,
+ actionCreator: k7e,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var r = n.tooltip.keyboardInteraction;
- r.active && t.dispatch(L2({
+ r.active && t.dispatch(I2({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -92357,7 +92365,7 @@ P6.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function k7e(e) {
+function A7e(e) {
e.persist();
var t = e.currentTarget;
return new Proxy(e, { get: (e, n) => {
@@ -92368,13 +92376,13 @@ function k7e(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var R6 = _X("externalEvent"), A7e = ZX(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
-A7e.startListening({
+var R6 = _X("externalEvent"), j7e = ZX(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
+j7e.startListening({
actionCreator: R6,
effect: (e, t) => {
var n = e.payload, r = n.handler, i = n.reactEvent;
if (r != null) {
- var a = i.type, o = k7e(i);
+ var a = i.type, o = A7e(i);
V6.set(a, {
handler: r,
reactEvent: o
@@ -92388,12 +92396,12 @@ A7e.startListening({
try {
if (!e) return;
var n = e.handler, r = e.reactEvent, i = t.getState(), o = {
- activeCoordinate: eYe(i),
- activeDataKey: ZJe(i),
- activeIndex: X2(i),
- activeLabel: XJe(i),
- activeTooltipIndex: X2(i),
- isTooltipActive: tYe(i)
+ activeCoordinate: nYe(i),
+ activeDataKey: $Je(i),
+ activeIndex: Y2(i),
+ activeLabel: QJe(i),
+ activeTooltipIndex: Y2(i),
+ isTooltipActive: rYe(i)
};
n && n(o, r);
} finally {
@@ -92414,8 +92422,8 @@ A7e.startListening({
}
}
});
-var j7e = Y([
- Y([B2], (e) => e.tooltipItemPayloads),
+var M7e = Y([
+ Y([z2], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -92426,30 +92434,30 @@ var j7e = Y([
if (i != null) return i(t);
}
}
-}), M7e = _X("touchMove"), N7e = ZX(), H6 = null, U6 = null, P7e = null, W6 = null;
-N7e.startListening({
- actionCreator: M7e,
+}), N7e = _X("touchMove"), P7e = ZX(), H6 = null, U6 = null, F7e = null, W6 = null;
+P7e.startListening({
+ actionCreator: N7e,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- W6 = k7e(n);
+ W6 = A7e(n);
var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");
- H6 !== null && (cancelAnimationFrame(H6), H6 = null), U6 !== null && (typeof i != "number" || !o) && (clearTimeout(U6), U6 = null), P7e = Array.from(n.touches).map((e) => k6({
+ H6 !== null && (cancelAnimationFrame(H6), H6 = null), U6 !== null && (typeof i != "number" || !o) && (clearTimeout(U6), U6 = null), F7e = Array.from(n.touches).map((e) => k6({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var s = () => {
if (W6 != null) {
- var e = t.getState(), n = N2(e, e.tooltip.settings.shared);
+ var e = t.getState(), n = M2(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = P7e?.[0];
+ var r = F7e?.[0];
if (r == null) {
H6 = null, U6 = null;
return;
}
var i = O6(e, r);
- i?.activeIndex != null && t.dispatch(sJe({
+ i?.activeIndex != null && t.dispatch(lJe({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
@@ -92459,10 +92467,10 @@ N7e.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(eRe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = H2(e).find((e) => e.id === c);
+ var s = o.getAttribute(tRe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = V2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var u = l.dataKey, d = j7e(e, s, c);
- t.dispatch(rJe({
+ var u = l.dataKey, d = M7e(e, s, c);
+ t.dispatch(aJe({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
@@ -92489,33 +92497,33 @@ var G6 = {
"scroll",
"wheel"
]
-}, F7e = EX({
+}, I7e = EX({
name: "eventSettings",
initialState: G6,
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hX(t.payload.throttledEvents));
} }
-}), I7e = F7e.actions.setEventSettings, L7e = F7e.reducer, R7e = iY({
- brush: l4e,
- cartesianAxis: m0e,
- chartData: lXe,
- errorBars: d6e,
- eventSettings: L7e,
- graphicalItems: H1e,
- layout: VLe,
- legend: IRe,
- options: rXe,
- polarAxis: c$e,
- polarOptions: T7e,
- referenceElements: _4e,
- renderedTicks: u3e,
- rootProps: x7e,
- tooltip: lJe,
- zIndex: WYe
-}), z7e = function(e) {
+}), L7e = I7e.actions.setEventSettings, R7e = I7e.reducer, z7e = iY({
+ brush: d4e,
+ cartesianAxis: g0e,
+ chartData: dXe,
+ errorBars: p6e,
+ eventSettings: R7e,
+ graphicalItems: W1e,
+ layout: HLe,
+ legend: LRe,
+ options: aXe,
+ polarAxis: u$e,
+ polarOptions: E7e,
+ referenceElements: y4e,
+ renderedTicks: f3e,
+ rootProps: S7e,
+ tooltip: dJe,
+ zIndex: KYe
+}), B7e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return pLe({
- reducer: R7e,
+ return mLe({
+ reducer: z7e,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -92525,40 +92533,40 @@ var G6 = {
"production"
].includes("es6")
}).concat([
- g7e.middleware,
_7e.middleware,
+ v7e.middleware,
P6.middleware,
- A7e.middleware,
- N7e.middleware
+ j7e.middleware,
+ P7e.middleware
]),
enhancers: (e) => {
var t = e;
return typeof e == "function" && (t = e()), t.concat(wX({ type: "raf" }));
},
devTools: xQ.devToolsEnabled && {
- serialize: { replacer: v7e },
+ serialize: { replacer: y7e },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function B7e(e) {
+function V7e(e) {
var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = AZ(), a = (0, b.useRef)(null);
if (i) return n;
- a.current ??= z7e(t, r);
+ a.current ??= B7e(t, r);
var o = FJ;
- return /*#__PURE__*/ b.createElement(XRe, {
+ return /*#__PURE__*/ b.createElement(ZRe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function V7e(e) {
+function H7e(e) {
var t = e.layout, n = e.margin, r = IJ(), i = AZ();
return (0, b.useEffect)(() => {
- i || (r(RLe(t)), r(LLe(n)));
+ i || (r(zLe(t)), r(RLe(n)));
}, [
r,
i,
@@ -92566,31 +92574,31 @@ function V7e(e) {
n
]), null;
}
-var H7e = /*#__PURE__*/ (0, b.memo)(V7e, cQ);
+var U7e = /*#__PURE__*/ (0, b.memo)(H7e, cQ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function U7e(e) {
+function W7e(e) {
var t = IJ();
return (0, b.useEffect)(() => {
- t(S7e(e));
+ t(C7e(e));
}, [t, e]), null;
}
-var W7e = /*#__PURE__*/ (0, b.memo)((e) => {
+var G7e = /*#__PURE__*/ (0, b.memo)((e) => {
var t = IJ();
return (0, b.useEffect)(() => {
- t(I7e(e));
+ t(L7e(e));
}, [t, e]), null;
}, cQ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function G7e(e) {
+function K7e(e) {
var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = IJ();
- return (0, b.useLayoutEffect)(() => (r.current && i(HYe({
+ return (0, b.useLayoutEffect)(() => (r.current && i(WYe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(UYe({
+ i(GYe({
zIndex: t,
isPanorama: n
}));
@@ -92604,15 +92612,15 @@ function G7e(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function K7e(e) {
- var t = e.children, n = e.isPanorama, r = J(jYe);
+function q7e(e) {
+ var t = e.children, n = e.isPanorama, r = J(NYe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(G7e, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(K7e, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ b.createElement(G7e, {
+ })), t, a.map((e) => /*#__PURE__*/ b.createElement(K7e, {
key: e,
zIndex: e,
isPanorama: n
@@ -92620,17 +92628,17 @@ function K7e(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var q7e = ["children"];
-function J7e(e, t) {
+var J7e = ["children"];
+function Y7e(e, t) {
if (e == null) return {};
- var n, r, i = Y7e(e, t);
+ var n, r, i = X7e(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 Y7e(e, t) {
+function X7e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -92648,11 +92656,11 @@ function K6() {
return e;
}, K6.apply(null, arguments);
}
-var X7e = {
+var Z7e = {
width: "100%",
height: "100%",
display: "block"
-}, Z7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+}, Q7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = KZ(), r = qZ(), i = DQ();
if (!rZ(n) || !rZ(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
@@ -92663,10 +92671,10 @@ var X7e = {
tabIndex: l,
width: n,
height: r,
- style: X7e,
+ style: Z7e,
ref: t
}), a);
-}), Q7e = (e) => {
+}), $7e = (e) => {
var t = e.children, n = J(MZ);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
@@ -92676,31 +92684,31 @@ var X7e = {
x: o,
y: a
}, t);
-}, $7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = J7e(e, q7e);
- return AZ() ? /*#__PURE__*/ b.createElement(Q7e, null, /*#__PURE__*/ b.createElement(K7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(Z7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(K7e, { isPanorama: !1 }, n));
+}, e9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = Y7e(e, J7e);
+ return AZ() ? /*#__PURE__*/ b.createElement($7e, null, /*#__PURE__*/ b.createElement(q7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(Q7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(q7e, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function e9e(e, t) {
- return a9e(e) || i9e(e, t) || n9e(e, t) || t9e();
+function t9e(e, t) {
+ return o9e(e) || a9e(e, t) || r9e(e, t) || n9e();
}
-function t9e() {
+function n9e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function n9e(e, t) {
+function r9e(e, t) {
if (e) {
- if (typeof e == "string") return r9e(e, t);
+ if (typeof e == "string") return i9e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? r9e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? i9e(e, t) : void 0;
}
}
-function r9e(e, t) {
+function i9e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function i9e(e, t) {
+function a9e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -92721,15 +92729,15 @@ function i9e(e, t) {
return s;
}
}
-function a9e(e) {
+function o9e(e) {
if (Array.isArray(e)) return e;
}
-function o9e() {
- var e = IJ(), t = e9e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J($Le);
+function s9e() {
+ var e = IJ(), t = t9e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(eRe);
return (0, b.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- nZ(t) && t !== i && e(BLe(t));
+ nZ(t) && t !== i && e(VLe(t));
}
}, [
n,
@@ -92739,7 +92747,7 @@ function o9e() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function s9e(e, t) {
+function c9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -92749,30 +92757,30 @@ function s9e(e, t) {
}
return n;
}
-function c9e(e) {
+function l9e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s9e(Object(n), !0).forEach(function(t) {
- l9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s9e(Object(n)).forEach(function(t) {
+ t % 2 ? c9e(Object(n), !0).forEach(function(t) {
+ u9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function l9e(e, t, n) {
- return (t = u9e(t)) in e ? Object.defineProperty(e, t, {
+function u9e(e, t, n) {
+ return (t = d9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function u9e(e) {
- var t = d9e(e, "string");
+function d9e(e) {
+ var t = f9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function d9e(e, t) {
+function f9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -92792,24 +92800,24 @@ function q6() {
}, q6.apply(null, arguments);
}
function J6(e, t) {
- return g9e(e) || h9e(e, t) || p9e(e, t) || f9e();
+ return _9e(e) || g9e(e, t) || m9e(e, t) || p9e();
}
-function f9e() {
+function p9e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function p9e(e, t) {
+function m9e(e, t) {
if (e) {
- if (typeof e == "string") return m9e(e, t);
+ if (typeof e == "string") return h9e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? m9e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h9e(e, t) : void 0;
}
}
-function m9e(e, t) {
+function h9e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function h9e(e, t) {
+function g9e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -92830,10 +92838,10 @@ function h9e(e, t) {
return s;
}
}
-function g9e(e) {
+function _9e(e) {
if (Array.isArray(e)) return e;
}
-var _9e = () => (yXe(), null);
+var v9e = () => (xXe(), null);
function Y6(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -92842,7 +92850,7 @@ function Y6(e) {
}
return 0;
}
-var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+var y9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = (0, b.useRef)(null), r = J6((0, b.useState)({
containerWidth: Y6(e.style?.width),
containerHeight: Y6(e.style?.height)
@@ -92874,7 +92882,7 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ b.createElement("div", q6({ ref: s }, e)));
-}), y9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+}), b9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height, i = J6((0, b.useState)({
containerWidth: Y6(n),
containerHeight: Y6(r)
@@ -92896,15 +92904,15 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
width: a.containerWidth,
height: a.containerHeight
}), /*#__PURE__*/ b.createElement("div", q6({ ref: c }, e)));
-}), b9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+}), x9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($Z, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
-}), x9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+}), S9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(y9e, q6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(b9e, q6({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(b9e, q6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(x9e, q6({}, e, {
width: n,
height: r,
ref: t
@@ -92913,11 +92921,11 @@ var v9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
});
-function S9e(e) {
- return e ? v9e : x9e;
+function C9e(e) {
+ return e ? y9e : S9e;
}
-var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = IJ(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = o9e(), j = HZ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
+var w9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = IJ(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = s9e(), j = HZ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (S.current = e);
}, [
A,
@@ -92925,7 +92933,7 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
E,
k
]), ee = (0, b.useCallback)((e) => {
- C(h7e(e)), C(R6({
+ C(g7e(e)), C(R6({
handler: a,
reactEvent: e
}));
@@ -92935,7 +92943,7 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, l]), te = (0, b.useCallback)((e) => {
- C(aJe()), C(R6({
+ C(sJe()), C(R6({
handler: u,
reactEvent: e
}));
@@ -92945,11 +92953,11 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, d]), ne = (0, b.useCallback)(() => {
- C(D7e());
- }, [C]), re = (0, b.useCallback)(() => {
C(O7e());
+ }, [C]), re = (0, b.useCallback)(() => {
+ C(k7e());
}, [C]), ie = (0, b.useCallback)((e) => {
- C(E7e(e.key));
+ C(D7e(e.key));
}, [C]), ae = (0, b.useCallback)((e) => {
C(R6({
handler: o,
@@ -92976,7 +92984,7 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, h]), ue = (0, b.useCallback)((e) => {
- x && C(M7e(e)), C(R6({
+ x && C(N7e(e)), C(R6({
handler: m,
reactEvent: e
}));
@@ -92989,12 +92997,12 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [C, p]), fe = S9e(v);
- return /*#__PURE__*/ b.createElement(QYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(HK.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {
+ }, [C, p]), fe = C9e(v);
+ return /*#__PURE__*/ b.createElement(eXe.Provider, { value: T }, /*#__PURE__*/ b.createElement(HK.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {
width: M ?? g?.width,
height: N ?? g?.height,
className: Fv("recharts-wrapper", r),
- style: c9e({
+ style: l9e({
position: "relative",
cursor: "default",
width: M,
@@ -93015,8 +93023,8 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
onTouchMove: ue,
onTouchStart: le,
ref: P
- }, /*#__PURE__*/ b.createElement(_9e, null), n)));
-}), w9e = [
+ }, /*#__PURE__*/ b.createElement(v9e, null), n)));
+}), T9e = [
"width",
"height",
"responsive",
@@ -93027,16 +93035,16 @@ var C9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
"title",
"desc"
];
-function T9e(e, t) {
+function E9e(e, t) {
if (e == null) return {};
- var n, r, i = E9e(e, t);
+ var n, r, i = D9e(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 E9e(e, t) {
+function D9e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93045,16 +93053,16 @@ function E9e(e, t) {
}
return n;
}
-var D9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = sK(T9e(e, w9e));
+var O9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = sK(E9e(e, T9e));
return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($Z, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement($7e, {
+ }), /*#__PURE__*/ b.createElement(e9e, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ b.createElement(C9e, {
+ }, a)) : /*#__PURE__*/ b.createElement(w9e, {
className: o,
style: s,
width: n,
@@ -93071,12 +93079,12 @@ var D9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ b.createElement($7e, {
+ }, /*#__PURE__*/ b.createElement(e9e, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ b.createElement(T4e, null, a)));
+ }, /*#__PURE__*/ b.createElement(D4e, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -93089,7 +93097,7 @@ function X6() {
return e;
}, X6.apply(null, arguments);
}
-function O9e(e, t) {
+function k9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93099,30 +93107,30 @@ function O9e(e, t) {
}
return n;
}
-function k9e(e) {
+function A9e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O9e(Object(n), !0).forEach(function(t) {
- A9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O9e(Object(n)).forEach(function(t) {
+ t % 2 ? k9e(Object(n), !0).forEach(function(t) {
+ j9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A9e(e, t, n) {
- return (t = j9e(t)) in e ? Object.defineProperty(e, t, {
+function j9e(e, t, n) {
+ return (t = M9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j9e(e) {
- var t = M9e(e, "string");
+function M9e(e) {
+ var t = N9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M9e(e, t) {
+function N9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93132,7 +93140,7 @@ function M9e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var N9e = k9e({
+var P9e = A9e({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -93148,23 +93156,23 @@ var N9e = k9e({
stackOffset: "none",
syncMethod: "index"
}, G6), Z6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = Uq(e.categoricalChartProps, N9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+ var n = Uq(e.categoricalChartProps, P9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ b.createElement(B7e, {
+ return /*#__PURE__*/ b.createElement(V7e, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ b.createElement(o4e, { chartData: s.data }), /*#__PURE__*/ b.createElement(H7e, {
+ }, /*#__PURE__*/ b.createElement(c4e, { chartData: s.data }), /*#__PURE__*/ b.createElement(U7e, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ b.createElement(W7e, {
+ }), /*#__PURE__*/ b.createElement(G7e, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ b.createElement(U7e, {
+ }), /*#__PURE__*/ b.createElement(W7e, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -93176,33 +93184,33 @@ var N9e = k9e({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ b.createElement(D9e, X6({}, n, { ref: t })));
-}), P9e = ["axis"], F9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
+ }), /*#__PURE__*/ b.createElement(O9e, X6({}, n, { ref: t })));
+}), F9e = ["axis"], I9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: P9e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: F9e,
+ tooltipPayloadSearcher: l4,
categoricalChartProps: e,
ref: t
-})), I9e = ["axis", "item"], L9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
+})), L9e = ["axis", "item"], R9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: I9e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: L9e,
+ tooltipPayloadSearcher: l4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function R9e(e) {
+function z9e(e) {
var t = IJ();
return (0, b.useEffect)(() => {
- t(w7e(e));
+ t(T7e(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var z9e = ["layout"];
+var B9e = ["layout"];
function Q6() {
return Q6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -93212,16 +93220,16 @@ function Q6() {
return e;
}, Q6.apply(null, arguments);
}
-function B9e(e, t) {
+function V9e(e, t) {
if (e == null) return {};
- var n, r, i = V9e(e, t);
+ var n, r, i = H9e(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 V9e(e, t) {
+function H9e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -93230,7 +93238,7 @@ function V9e(e, t) {
}
return n;
}
-function H9e(e, t) {
+function U9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93240,30 +93248,30 @@ function H9e(e, t) {
}
return n;
}
-function U9e(e) {
+function W9e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? H9e(Object(n), !0).forEach(function(t) {
- W9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H9e(Object(n)).forEach(function(t) {
+ t % 2 ? U9e(Object(n), !0).forEach(function(t) {
+ G9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function W9e(e, t, n) {
- return (t = G9e(t)) in e ? Object.defineProperty(e, t, {
+function G9e(e, t, n) {
+ return (t = K9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function G9e(e) {
- var t = K9e(e, "string");
+function K9e(e) {
+ var t = q9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function K9e(e, t) {
+function q9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93273,7 +93281,7 @@ function K9e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $6 = U9e({
+var $6 = W9e({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -93292,24 +93300,24 @@ var $6 = U9e({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, G6), q9e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = Uq(e.categoricalChartProps, $6), r = n.layout, i = B9e(n, z9e), a = e.chartName, o = {
+}, G6), J9e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ var n = Uq(e.categoricalChartProps, $6), r = n.layout, i = V9e(n, B9e), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
tooltipPayloadSearcher: e.tooltipPayloadSearcher,
eventEmitter: void 0
};
- return /*#__PURE__*/ b.createElement(B7e, {
+ return /*#__PURE__*/ b.createElement(V7e, {
preloadedState: { options: o },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ b.createElement(o4e, { chartData: n.data }), /*#__PURE__*/ b.createElement(H7e, {
+ }, /*#__PURE__*/ b.createElement(c4e, { chartData: n.data }), /*#__PURE__*/ b.createElement(U7e, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ b.createElement(W7e, {
+ }), /*#__PURE__*/ b.createElement(G7e, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ b.createElement(U7e, {
+ }), /*#__PURE__*/ b.createElement(W7e, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -93321,18 +93329,18 @@ var $6 = U9e({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ b.createElement(R9e, {
+ }), /*#__PURE__*/ b.createElement(z9e, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ b.createElement(D9e, Q6({}, i, { ref: t })));
+ }), /*#__PURE__*/ b.createElement(O9e, Q6({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function J9e(e, t) {
+function Y9e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93342,30 +93350,30 @@ function J9e(e, t) {
}
return n;
}
-function Y9e(e) {
+function X9e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? J9e(Object(n), !0).forEach(function(t) {
- X9e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J9e(Object(n)).forEach(function(t) {
+ t % 2 ? Y9e(Object(n), !0).forEach(function(t) {
+ Z9e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y9e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function X9e(e, t, n) {
- return (t = Z9e(t)) in e ? Object.defineProperty(e, t, {
+function Z9e(e, t, n) {
+ return (t = Q9e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Z9e(e) {
- var t = Q9e(e, "string");
+function Q9e(e) {
+ var t = $9e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Q9e(e, t) {
+function $9e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93375,31 +93383,31 @@ function Q9e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $9e = ["axis"], eet = Y9e(Y9e({}, $6), {}, {
+var eet = ["axis"], tet = X9e(X9e({}, $6), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), tet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Uq(e, eet);
- return /*#__PURE__*/ b.createElement(q9e, {
+}), net = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = Uq(e, tet);
+ return /*#__PURE__*/ b.createElement(J9e, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: $9e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: eet,
+ tooltipPayloadSearcher: l4,
categoricalChartProps: n,
ref: t
});
-}), net = ["axis"], ret = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
+}), ret = ["axis"], iet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: net,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: ret,
+ tooltipPayloadSearcher: l4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function iet(e, t) {
+function aet(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -93409,30 +93417,30 @@ function iet(e, t) {
}
return n;
}
-function aet(e) {
+function oet(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iet(Object(n), !0).forEach(function(t) {
- oet(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iet(Object(n)).forEach(function(t) {
+ t % 2 ? aet(Object(n), !0).forEach(function(t) {
+ set(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aet(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oet(e, t, n) {
- return (t = set(t)) in e ? Object.defineProperty(e, t, {
+function set(e, t, n) {
+ return (t = cet(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function set(e) {
- var t = cet(e, "string");
+function cet(e) {
+ var t = uet(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cet(e, t) {
+function uet(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -93442,17 +93450,17 @@ function cet(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var uet = ["axis", "item"], det = aet(aet({}, $6), {}, {
+var det = ["axis", "item"], fet = oet(oet({}, $6), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), fet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Uq(e, det);
- return /*#__PURE__*/ b.createElement(q9e, {
+}), pet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = Uq(e, fet);
+ return /*#__PURE__*/ b.createElement(J9e, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: uet,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: det,
+ tooltipPayloadSearcher: l4,
categoricalChartProps: n,
ref: t
});
@@ -93460,20 +93468,20 @@ var uet = ["axis", "item"], det = aet(aet({}, $6), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e8(...e) {
- return Qk(Fv(e));
+ return Zk(Fv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var pet = {
+var met = {
light: "",
dark: ".dark"
-}, t8 = Object.keys(pet);
-function met(e) {
+}, t8 = Object.keys(met);
+function het(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !t8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t8.join(", ")}). Received empty object or invalid keys.`);
}
-var het = b.createContext(null);
+var get = b.createContext(null);
function n8() {
- let e = b.useContext(het);
+ let e = b.useContext(get);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
@@ -93482,7 +93490,7 @@ function r8({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = b.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return met(t), /* @__PURE__ */ (0, x.jsx)(het.Provider, {
+ return het(t), /* @__PURE__ */ (0, x.jsx)(get.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-slot": "chart",
@@ -93490,7 +93498,7 @@ function r8({ id: e, config: t, initialDimension: n = {
className: e8("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, x.jsx)(_et, {
+ /* @__PURE__ */ (0, x.jsx)(vet, {
id: c,
config: t
}),
@@ -93513,7 +93521,7 @@ function i8({ isLoading: e }) {
})
}) : null;
}
-function get(e, t) {
+function _et(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -93523,13 +93531,13 @@ function get(e, t) {
}
return r;
}
-var _et = ({ id: e, config: t }) => {
+var vet = ({ 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 ? [] : get(r, o8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(pet).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : _et(r, o8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(met).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, x.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
function a8(e, t, n) {
@@ -93542,15 +93550,15 @@ function o8(e) {
let t = t8.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var vet = (e = 10, t = 0, n = 70) => {
+var yet = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, yet = {
+}, bet = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, bet = {
+}, xet = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -93577,7 +93585,7 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: e8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", yet[p], bet[m], n),
+ className: e8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", bet[p], xet[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, x.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -93591,7 +93599,7 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: xet(n, o)
+ style: Cet(n, o)
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: e8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -93610,10 +93618,10 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function xet(e, t) {
+function Cet(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 c8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(IXe, {
+var c8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(RXe, {
animationDuration: e,
...t
});
@@ -93630,7 +93638,7 @@ function l8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(Cet, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(wet, {
variant: l,
dataKey: r,
colorsCount: d
@@ -93639,8 +93647,8 @@ function l8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function Cet({ variant: e, dataKey: t, colorsCount: n }) {
- let r = wet(t, n), i = Tet(t, n);
+function wet({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = Tet(t, n), i = Eet(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, x.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -93672,10 +93680,10 @@ function Cet({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function wet(e, t) {
+function Tet(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 Tet(e, t) {
+function Eet(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -93690,12 +93698,12 @@ function Tet(e, t) {
...n
};
}
-var u8 = pQ, d8 = () => null, Eet = {
+var u8 = pQ, d8 = () => null, Det = {
stiffness: 300,
damping: 35,
mass: .8
};
-function Det({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function Oet({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = b.useRef(null), [a, o] = b.useState(!1), s = (0, b.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, b.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -93741,7 +93749,7 @@ function Det({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function Oet({ 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: S = !1 }) {
+function ket({ 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: S = !1 }) {
let C = b.useRef(null), w = b.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = b.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = b.useState(() => ({
startIndex: Math.max(0, Math.min(p, T - 1)),
endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))
@@ -93775,7 +93783,7 @@ function Oet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [T, v]), { isDragging: M, bind: N } = Det({
+ }, [T, v]), { isDragging: M, bind: N } = Oet({
range: O,
totalPoints: T,
containerRef: C,
@@ -93802,7 +93810,7 @@ function Oet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = C_(ee), I = C_(F);
te.get() !== ee && te.set(ee), I.get() !== F && I.set(F);
- let ne = Wre(te, Eet), re = Wre(I, Eet), ie = w_(ne, (e) => `${e}%`), ae = w_(re, (e) => `${e}%`), oe = w_(ne, (e) => `${e}%`), se = w_(re, (e) => `${Math.max(0, 100 - e)}%`), ce = C_(`${Math.max(0, F - ee)}%`), le = (0, b.useCallback)(() => {
+ let ne = Wre(te, Det), re = Wre(I, Det), ie = w_(ne, (e) => `${e}%`), ae = w_(re, (e) => `${e}%`), oe = w_(ne, (e) => `${e}%`), se = w_(re, (e) => `${Math.max(0, 100 - e)}%`), ce = C_(`${Math.max(0, F - ee)}%`), le = (0, b.useCallback)(() => {
ce.set(`${Math.max(0, re.get() - ne.get())}%`);
}, [
ne,
@@ -93825,13 +93833,13 @@ function Oet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
className: e8("group relative select-none", o),
style: { height: a },
children: [
- !S && /* @__PURE__ */ (0, x.jsx)(_et, {
+ !S && /* @__PURE__ */ (0, x.jsx)(vet, {
id: E,
config: t
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, x.jsx)(Aet, {
+ children: /* @__PURE__ */ (0, x.jsx)(jet, {
data: e,
keys: w,
chartConfig: t,
@@ -93860,13 +93868,13 @@ function Oet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, x.jsx)(ket, {
+ /* @__PURE__ */ (0, x.jsx)(Aet, {
side: "left",
position: ie,
label: y ? ue(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, x.jsx)(ket, {
+ /* @__PURE__ */ (0, x.jsx)(Aet, {
side: "right",
position: ae,
label: y ? ue(P.endIndex) : void 0,
@@ -93875,7 +93883,7 @@ function Oet({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function ket({ side: e, position: t, label: n, bind: r }) {
+function Aet({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, x.jsxs)(D_.div, {
className: "absolute inset-y-0 z-10",
@@ -93900,7 +93908,7 @@ function ket({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function jet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = b.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: o8(t)
@@ -93960,7 +93968,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, x.jsx)(UZ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(F9e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(I9e, {
data: e,
margin: {
top: 4,
@@ -93968,7 +93976,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(J6e, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(X6e, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -93987,7 +93995,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, x.jsx)(UZ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(L9e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(R9e, {
data: e,
margin: {
top: 2,
@@ -93997,7 +94005,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(C6, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(S6, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -94016,7 +94024,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, x.jsx)(UZ, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(ret, {
+ children: /* @__PURE__ */ (0, x.jsxs)(iet, {
data: e,
margin: {
top: 4,
@@ -94024,7 +94032,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(P8e, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(I8e, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -94042,7 +94050,7 @@ function Aet({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function jet({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function Met({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = b.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -94066,7 +94074,7 @@ function jet({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var Met = {
+var Net = {
dots: ({ id: e }) => /* @__PURE__ */ (0, x.jsx)("pattern", {
id: e,
x: "0",
@@ -94239,8 +94247,8 @@ var Met = {
})
};
function f8({ variant: e }) {
- let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Met[e];
- return /* @__PURE__ */ (0, x.jsxs)(a4, {
+ let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Net[e];
+ return /* @__PURE__ */ (0, x.jsxs)(i4, {
zIndex: -1,
children: [/* @__PURE__ */ (0, x.jsxs)("defs", { children: [
/* @__PURE__ */ (0, x.jsx)(a, { id: n }),
@@ -94270,19 +94278,19 @@ function f8({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var Net = 2, Pet = "loading", Fet = 2e3, Iet = "evil-stacked", Let = .5, Ret = .05, zet = [
+var Pet = 2, Fet = "loading", Iet = 2e3, Let = "evil-stacked", Ret = .5, zet = .05, Bet = [
0,
.7,
.5,
1
-], Bet = (0, b.createContext)(null);
+], Vet = (0, b.createContext)(null);
function p8() {
- let e = (0, b.use)(Bet);
+ let e = (0, b.use)(Vet);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function m8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Net, 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, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = ott(m, h), { visibleData: D, brushProps: O } = jet({ data: t }), k = (0, b.useMemo)(() => {
+function m8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Pet, 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, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = stt(m, h), { visibleData: D, brushProps: O } = Met({ data: t }), k = (0, b.useMemo)(() => {
let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === d8), r = (0, b.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -94320,12 +94328,12 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
C
]);
- return /* @__PURE__ */ (0, x.jsx)(Bet, {
+ return /* @__PURE__ */ (0, x.jsx)(Vet, {
value: ee,
children: /* @__PURE__ */ (0, x.jsxs)(r8, {
className: r,
config: e,
- footer: A && !m && /* @__PURE__ */ (0, x.jsx)(Oet, {
+ footer: A && !m && /* @__PURE__ */ (0, x.jsx)(ket, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -94341,7 +94349,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
O.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(L9e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(R9e, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -94354,9 +94362,9 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
...i,
children: [
d && /* @__PURE__ */ (0, x.jsx)(f8, { variant: d }),
- /* @__PURE__ */ (0, x.jsx)(V4e, { color: "white" }),
+ /* @__PURE__ */ (0, x.jsx)(U4e, { color: "white" }),
k.chartChildren,
- m && /* @__PURE__ */ (0, x.jsx)(stt, {
+ m && /* @__PURE__ */ (0, x.jsx)(ctt, {
chartId: _,
onShimmerExit: E
})
@@ -94365,7 +94373,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function Vet({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function Het({ 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 } = p8(), S = (0, b.useId)().replace(/:/g, ""), C = T_();
if (f) return null;
let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {
@@ -94386,65 +94394,65 @@ function Vet({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(T ? null : e);
}
};
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(S6, {
dataKey: e,
- stackId: u ? Iet : void 0,
+ stackId: u ? Let : void 0,
fill: `url(#${S}-colors-${e})`,
radius: w,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(qet, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(Jet, {
...e,
...D,
animationType: E
}),
- activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(qet, {
+ activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(Jet, {
...e,
...D,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, x.jsx)(Zet, {
+ /* @__PURE__ */ (0, x.jsx)(Qet, {
id: S,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, x.jsx)(Qet, {
+ t === "hatched" && /* @__PURE__ */ (0, x.jsx)($et, {
id: S,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, x.jsx)(ett, {
+ t === "duotone" && /* @__PURE__ */ (0, x.jsx)(ttt, {
id: S,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(ttt, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(ntt, {
id: S,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, x.jsx)(ntt, {
+ t === "gradient" && /* @__PURE__ */ (0, x.jsx)(rtt, {
id: S,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, x.jsx)(rtt, {
+ t === "stripped" && /* @__PURE__ */ (0, x.jsx)(itt, {
id: S,
dataKey: e
}),
- s && /* @__PURE__ */ (0, x.jsx)($et, {
+ s && /* @__PURE__ */ (0, x.jsx)(ett, {
id: S,
dataKey: e
}),
- o && /* @__PURE__ */ (0, x.jsx)(itt, {
+ o && /* @__PURE__ */ (0, x.jsx)(att, {
id: S,
dataKey: e
})
] })] });
}
-function Het({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function Uet({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = p8();
- return o ? null : /* @__PURE__ */ (0, x.jsx)(e7e, {
+ return o ? null : /* @__PURE__ */ (0, x.jsx)(T6, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -94453,9 +94461,9 @@ function Het({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function Uet({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function Wet({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = p8();
- return s ? null : /* @__PURE__ */ (0, x.jsx)(p7e, {
+ return s ? null : /* @__PURE__ */ (0, x.jsx)(m7e, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -94465,16 +94473,16 @@ function Uet({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function Wet({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function Get({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = p8();
- return /* @__PURE__ */ (0, x.jsx)(Q3e, {
+ return /* @__PURE__ */ (0, x.jsx)(e6e, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function Get({ variant: e, roundness: t, defaultIndex: n }) {
+function Ket({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = p8();
return r ? null : /* @__PURE__ */ (0, x.jsx)(c8, {
cursor: !1,
@@ -94486,7 +94494,7 @@ function Get({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Ket({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function qet({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = p8();
return /* @__PURE__ */ (0, x.jsx)(u8, {
verticalAlign: n,
@@ -94499,8 +94507,8 @@ function Ket({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var qet = (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, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = Jet(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : Yet(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = Xet({
+var Jet = (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, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = Yet(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : Xet(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = Zet({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -94512,7 +94520,7 @@ var qet = (e) => {
c,
0,
0
- ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(t$, {
+ ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(e$, {
x: t,
y: n,
width: r,
@@ -94523,7 +94531,7 @@ var qet = (e) => {
filter: D,
stroke: C ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: C ? 1 : void 0
- }), w && /* @__PURE__ */ (0, x.jsx)(t$, {
+ }), w && /* @__PURE__ */ (0, x.jsx)(e$, {
x: t,
y: n - 4,
width: r,
@@ -94534,7 +94542,7 @@ var qet = (e) => {
return /* @__PURE__ */ (0, x.jsxs)("g", {
style: k,
onClick: b,
- children: [/* @__PURE__ */ (0, x.jsx)(t$, {
+ children: [/* @__PURE__ */ (0, x.jsx)(e$, {
...e,
fill: "transparent"
}), T ? /* @__PURE__ */ (0, x.jsx)(D_.g, {
@@ -94545,7 +94553,7 @@ var qet = (e) => {
children: j
}) : j]
});
-}, Jet = (e, t, n, r, i) => {
+}, Yet = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -94560,11 +94568,11 @@ var qet = (e) => {
break;
default: s = t;
}
- let c = s * Ret * 1e3, l = Let * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * zet * 1e3, l = Ret * 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: zet,
+ ease: Bet,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -94578,7 +94586,7 @@ var qet = (e) => {
transition: p,
style: { originY: 1 }
};
-}, Yet = (e, t, n) => {
+}, Xet = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -94587,10 +94595,10 @@ var qet = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, Xet = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, Zet = ({ 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;
-}, Zet = ({ id: e, dataKey: t, config: n }) => {
+}, Qet = ({ id: e, dataKey: t, config: n }) => {
let r = o8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -94612,7 +94620,7 @@ var qet = (e) => {
}, i);
})
});
-}, Qet = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+}, $et = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -94653,7 +94661,7 @@ var qet = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), $et = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+] }), ett = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -94694,7 +94702,7 @@ var qet = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), ett = ({ id: e, dataKey: t, config: n }) => {
+] }), ttt = ({ id: e, dataKey: t, config: n }) => {
let r = o8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
@@ -94762,7 +94770,7 @@ var qet = (e) => {
})
})
] });
-}, ttt = ({ id: e, dataKey: t, config: n }) => {
+}, ntt = ({ id: e, dataKey: t, config: n }) => {
let r = o8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
@@ -94830,7 +94838,7 @@ var qet = (e) => {
})
})
] });
-}, ntt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+}, rtt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -94867,7 +94875,7 @@ var qet = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), rtt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+] }), itt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -94904,7 +94912,7 @@ var qet = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), itt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
+] }), att = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -94924,35 +94932,35 @@ var qet = (e) => {
}),
/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), att = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), ott = (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 ott(e, t = 12) {
+function stt(e, t = 12) {
let [n, r] = (0, b.useState)(!1), i = (0, b.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, b.useMemo)(() => vet(t, 20, 80), [t, n]),
+ loadingData: (0, b.useMemo)(() => yet(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var stt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {
- dataKey: Pet,
+var ctt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(S6, {
+ dataKey: Fet,
fill: "currentColor",
fillOpacity: .15,
- radius: Net,
+ radius: Pet,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(ctt, {
+}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(ltt, {
chartId: e,
onShimmerExit: t
-}) })] }), ctt = ({ chartId: e, onShimmerExit: t }) => {
- let n = att(), r = (0, b.useRef)(-1);
+}) })] }), ltt = ({ chartId: e, onShimmerExit: t }) => {
+ let n = ott(), r = (0, b.useRef)(-1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -94983,7 +94991,7 @@ var stt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: Fet / 1e3,
+ duration: Iet / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -95005,10 +95013,10 @@ var stt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
})
] });
};
-m8.Bar = Vet, m8.XAxis = Het, m8.YAxis = Uet, m8.Grid = Wet, m8.Tooltip = Get, m8.Legend = Ket, m8.Brush = d8;
+m8.Bar = Het, m8.XAxis = Uet, m8.YAxis = Wet, m8.Grid = Get, m8.Tooltip = Ket, m8.Legend = qet, m8.Brush = d8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var h8 = `${iA({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var h8 = `${rA({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function g8({ title: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: h8,
@@ -95022,8 +95030,8 @@ function g8({ title: e, children: t }) {
})]
});
}
-var ltt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, utt = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), _8;
-function dtt(e) {
+var utt = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, dtt = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), _8;
+function ftt(e) {
if (_8 === void 0) try {
_8 = document.createElement("canvas").getContext("2d"), _8 && (_8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
} catch {
@@ -95031,19 +95039,19 @@ function dtt(e) {
}
return _8 ? _8.measureText(e).width : null;
}
-var v8 = (e) => dtt(e) ?? utt(e).reduce((e, t) => e + ltt(t), 0);
-function ftt(e, t) {
+var v8 = (e) => ftt(e) ?? dtt(e).reduce((e, t) => e + utt(t), 0);
+function ptt(e, t) {
if (v8(e) <= t) return e;
- let n = utt(e), r = 0;
+ let n = dtt(e), r = 0;
for (; r < n.length && v8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
return `${n.slice(0, r).join("")}…`;
}
-var ptt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(v8)) + 12);
+var mtt = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(v8)) + 12);
function y8(e) {
let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;
- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(b4, {
+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(y4, {
...a,
- children: ftt(o, s)
+ children: ptt(o, s)
})] });
}
function b8({ title: e, figure: t, note: n }) {
@@ -95072,7 +95080,7 @@ var x8 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], S8 = (e) => ({ light: [e] }), C8 = (e) => `s${e}`;
-function mtt(e) {
+function htt(e) {
return Object.fromEntries(e.map((e, t) => [C8(t), {
label: e,
colors: S8(x8[t % x8.length])
@@ -95080,8 +95088,8 @@ function mtt(e) {
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var htt = "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 gtt({ swatch: e, name: t, value: n }) {
+var gtt = "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 _tt({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -95096,23 +95104,23 @@ function gtt({ swatch: e, name: t, value: n }) {
})]
});
}
-var _tt = "size-2.5 shrink-0 rounded-xs";
-function vtt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+var vtt = "size-2.5 shrink-0 rounded-xs";
+function ytt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = n8(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: htt,
+ className: gtt,
children: [c ? /* @__PURE__ */ (0, x.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 = a8(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, x.jsx)(gtt, {
+ return /* @__PURE__ */ (0, x.jsx)(_tt, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, x.jsx)("i", {
- className: _tt,
+ className: vtt,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
@@ -95122,7 +95130,7 @@ function vtt({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function w8({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, x.jsx)(c8, {
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(vtt, {
+ content: /* @__PURE__ */ (0, x.jsx)(ytt, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -95132,17 +95140,17 @@ function w8({ nameKey: e, valueKey: t, hideLabel: n }) {
//#endregion
//#region src/react/charts/bar-card.tsx
var T8 = [0, (e) => e * 1.2];
-function ytt(e) {
+function btt(e) {
let t = Math.abs(e), n = (t, n) => {
let r = e / t;
return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;
};
return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();
}
-var btt = (e) => ({
+var xtt = (e) => ({
position: e,
className: "fill-text-secondary",
- formatter: (e) => ytt(Number(e))
+ formatter: (e) => btt(Number(e))
});
function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
@@ -95182,7 +95190,7 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
dataKey: "name",
interval: 0,
tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "y" }),
- width: ptt(s.map((e) => e.name))
+ width: mtt(s.map((e) => e.name))
}) : /* @__PURE__ */ (0, x.jsx)(m8.XAxis, {
dataKey: "name",
interval: 0,
@@ -95200,7 +95208,7 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: btt(l ? "right" : "top")
+ label: xtt(l ? "right" : "top")
}
}),
/* @__PURE__ */ (0, x.jsx)(w8, {})
@@ -95210,7 +95218,7 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
}
//#endregion
//#region src/react/charts/heat.ts
-var xtt = [
+var Stt = [
"周一",
"周二",
"周三",
@@ -95218,8 +95226,8 @@ var xtt = [
"周五",
"周六",
"周日"
-], Stt = (e, t) => e ? Math.max(.12, e / t) : 0;
-function Ctt(e) {
+], Ctt = (e, t) => e ? Math.max(.12, e / t) : 0;
+function wtt(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;
@@ -95229,14 +95237,14 @@ function Ctt(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${xtt[t]} ${n}:00`,
+ label: `${Stt[t]} ${n}:00`,
count: e,
- share: Stt(e, r)
+ share: Ctt(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function wtt(e) {
+function Ttt(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,
@@ -95254,7 +95262,7 @@ function wtt(e) {
key: r,
label: r,
count: s,
- share: Stt(s, o)
+ share: Ctt(s, o)
};
});
return {
@@ -95266,7 +95274,7 @@ function wtt(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var D8 = 14, O8 = 17, Ttt = {
+var D8 = 14, O8 = 17, Ett = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -95275,30 +95283,30 @@ var D8 = 14, O8 = 17, Ttt = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, Ett = {
+}, Dtt = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function Dtt({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function Ott({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${htt} ${Ett[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${gtt} ${Dtt[a]}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, x.jsx)(gtt, {
+ }), /* @__PURE__ */ (0, x.jsx)(_tt, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${_tt} ${Ttt[n].dot}` })
+ swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${vtt} ${Ett[n].dot}` })
})]
});
}
-function Ott({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+function ktt({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * O8, m = f + a * O8, h = (e) => ({
x: d + e % i * O8,
y: f + Math.floor(e / i) * O8
@@ -95338,14 +95346,14 @@ function Ott({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
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 ${Ttt[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 ${Ett[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, x.jsx)(Dtt, {
+ }), g && _ ? /* @__PURE__ */ (0, x.jsx)(Ott, {
cell: g,
series: t.series,
tone: c,
@@ -95361,7 +95369,7 @@ function Ott({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
]
});
}
-var ktt = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [xtt.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {
+var Att = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [Stt.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {
x: 0,
y: 18 + t * O8 + 7,
dominantBaseline: "middle",
@@ -95374,11 +95382,11 @@ var ktt = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [xtt.map((e, t) =>
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function Att({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = Ctt(e), s = wtt(e);
+function jtt({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = wtt(e), s = Ttt(e);
return s.cells.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Ott, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ktt, {
title: t,
words: r,
tone: i,
@@ -95386,9 +95394,9 @@ function Att({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: ktt,
+ axis: Att,
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, x.jsx)(Ott, {
+ }), /* @__PURE__ */ (0, x.jsx)(ktt, {
title: n,
words: r,
tone: i,
@@ -95405,7 +95413,7 @@ function Att({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function jtt({ children: e, className: t = "", previewCount: n = 10 }) {
+function Mtt({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, b.useId)(), i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(!1), l = b.Children.toArray(e), u = l.length > n;
(0, b.useLayoutEffect)(() => {
let e = i.current;
@@ -95446,20 +95454,20 @@ function jtt({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, x.jsx)(_k, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(gk, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var Mtt = "30%", Ntt = "100%", Ptt = 5, Ftt = 14, Itt = 5, Ltt = 1500, Rtt = (0, b.createContext)(null);
+var Ntt = "30%", Ptt = "100%", Ftt = 5, Itt = 14, Ltt = 5, Rtt = 1500, ztt = (0, b.createContext)(null);
function k8() {
- let e = (0, b.use)(Rtt);
+ let e = (0, b.use)(ztt);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Mtt, outerRadius: l = Ntt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = Gtt(f), v = Htt(o), y = (0, b.useCallback)((e, t) => {
+function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = Ntt, outerRadius: l = Ptt, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = Ktt(f), v = Utt(o), y = (0, b.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -95486,12 +95494,12 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, x.jsx)(Rtt, {
+ return /* @__PURE__ */ (0, x.jsx)(ztt, {
value: C,
children: /* @__PURE__ */ (0, x.jsxs)(r8, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(fet, {
+ children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(pet, {
id: m,
data: f ? _ : S,
innerRadius: c,
@@ -95502,7 +95510,7 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)(Z4, {
+ s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)(X4, {
type: "number",
domain: [0, s],
tick: !1,
@@ -95510,8 +95518,8 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, x.jsx)(f8, { variant: p }),
r,
- f && /* @__PURE__ */ (0, x.jsx)(Ktt, {}),
- /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(Utt, {
+ f && /* @__PURE__ */ (0, x.jsx)(qtt, {}),
+ /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(Wtt, {
config: e,
chartId: m
}) })
@@ -95520,9 +95528,9 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function ztt({ dataKey: e, cornerRadius: t = Ptt, barSize: n = Ftt, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function Btt({ dataKey: e, cornerRadius: t = Ftt, barSize: n = Itt, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = k8();
- return s ? null : /* @__PURE__ */ (0, x.jsx)(B3, {
+ return s ? null : /* @__PURE__ */ (0, x.jsx)(z3, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -95536,7 +95544,7 @@ function ztt({ dataKey: e, cornerRadius: t = Ptt, barSize: n = Ftt, showBackgrou
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, x.jsx)(c$, {
+ return /* @__PURE__ */ (0, x.jsx)(s$, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -95545,7 +95553,7 @@ function ztt({ dataKey: e, cornerRadius: t = Ptt, barSize: n = Ftt, showBackgrou
...a
});
}
-function Btt({ variant: e, roundness: t, defaultIndex: n }) {
+function Vtt({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = k8();
return i ? null : /* @__PURE__ */ (0, x.jsx)(c8, {
defaultIndex: n,
@@ -95558,7 +95566,7 @@ function Btt({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Vtt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function Htt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = k8();
return a ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
verticalAlign: n,
@@ -95572,7 +95580,7 @@ function Vtt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function Htt(e) {
+function Utt(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -95588,7 +95596,7 @@ function Htt(e) {
};
}
}
-var Utt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var Wtt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = o8(n);
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -95611,47 +95619,47 @@ var Utt = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function Wtt() {
- return Array.from({ length: Itt }, (e, t) => ({
+function Gtt() {
+ return Array.from({ length: Ltt }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function Gtt(e) {
+function Ktt(e) {
let [t, n] = (0, b.useState)(0);
return (0, b.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, Ltt);
+ }, Rtt);
return () => clearInterval(t);
- }, [e]), (0, b.useMemo)(() => Wtt(), [t]);
+ }, [e]), (0, b.useMemo)(() => Gtt(), [t]);
}
-var Ktt = () => /* @__PURE__ */ (0, x.jsx)(B3, {
+var qtt = () => /* @__PURE__ */ (0, x.jsx)(z3, {
dataKey: "value",
- cornerRadius: Ptt,
- barSize: Ftt,
+ cornerRadius: Ftt,
+ barSize: Itt,
background: !0,
isAnimationActive: !0,
- animationDuration: Ltt,
+ animationDuration: Rtt,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(c$, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(s$, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-A8.RadialBar = ztt, A8.Tooltip = Btt, A8.Legend = Vtt;
+A8.RadialBar = Btt, A8.Tooltip = Vtt, A8.Legend = Htt;
//#endregion
//#region src/react/stats/radial-card.tsx
-var qtt = [
+var Jtt = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], Jtt = [
+], Ytt = [
"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",
@@ -95659,16 +95667,16 @@ var qtt = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function Ytt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = _Pe(t);
+function Xtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = vPe(t);
if (!c.length) return /* @__PURE__ */ (0, x.jsx)(g8, {
title: e,
children: n
});
- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = vPe(c.map((e) => e.value)), m = c.map((e, t) => ({
+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = yPe(c.map((e) => e.value)), m = c.map((e, t) => ({
slice: C8(t),
value: e.value,
- arc: yPe(e.value, p)
+ arc: bPe(e.value, p)
}));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: h8,
@@ -95679,7 +95687,7 @@ function Ytt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",
- children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(EA, { mark: d.mark }) : null, d ? d.name : e]
+ children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(TA, { mark: d.mark }) : null, d ? d.name : e]
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (d ? d.value : u).toLocaleString()
@@ -95696,15 +95704,15 @@ function Ytt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
children: /* @__PURE__ */ (0, x.jsxs)(A8, {
data: m,
nameKey: "slice",
- config: mtt(c.map((e) => e.name)),
+ config: htt(c.map((e) => e.name)),
max: p,
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, x.jsx)(A8.RadialBar, {
dataKey: "arc",
- barSize: bPe(c.length),
+ barSize: xPe(c.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(c$, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(s$, {
...e,
opacity: l >= 0 && l !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -95729,16 +95737,16 @@ function Ytt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onPointerLeave: () => s(-1),
onFocus: () => s(t),
onBlur: () => s(-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 ${Jtt[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 ${Ytt[t % 6]}`,
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, x.jsx)("i", {
"aria-hidden": !0,
- className: `mt-0.5 size-3 shrink-0 rounded-sm ${qtt[t % 6]}`
+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${Jtt[t % 6]}`
}), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(EA, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(TA, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, x.jsx)("b", {
@@ -95757,7 +95765,7 @@ function Ytt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var Xtt = 10, j8 = x8[5], Ztt = x8[4], Qtt = `${iA()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", $tt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", ent = "开始播放后,这里会显示最近的真实观看证据。", tnt = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", nnt = "添加媒体文件夹后,这里会显示存储空间。", rnt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", int = "探测时长后,这里会显示时长分布。", ant = "探测画质后,这里会显示画质分布。", ont = "开始播放后,这里会显示播放落在一周的哪些时段。", snt = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
+var Ztt = 10, j8 = x8[5], Qtt = x8[4], $tt = `${rA()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", ent = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", tnt = "开始播放后,这里会显示最近的真实观看证据。", nnt = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", rnt = "添加媒体文件夹后,这里会显示存储空间。", int = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", ant = "探测时长后,这里会显示时长分布。", ont = "探测画质后,这里会显示画质分布。", snt = "开始播放后,这里会显示播放落在一周的哪些时段。", cnt = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
function P8({ term: e, value: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -95783,7 +95791,7 @@ function F8({ term: e, value: t, total: n }) {
children: $G(t, n)
}) : null]
})]
- }), /* @__PURE__ */ (0, x.jsx)(lA, {
+ }), /* @__PURE__ */ (0, x.jsx)(cA, {
label: `${e}:${QG(t)} / ${n.toLocaleString()}`,
value: ZG(t) ? N8(t, r) : 0,
max: r
@@ -95811,19 +95819,19 @@ function I8({ term: e, figure: t, unit: n }) {
}
function L8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${Qtt} md:flex-row md:gap-6`,
+ className: `${$tt} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function cnt({ data: e, configurable: t, openMediaSettings: n }) {
+function lnt({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Ytt, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Xtt, {
title: "网盘与本地",
empty: M8,
rows: e.by_loc.map((e) => ({
@@ -95832,9 +95840,9 @@ function cnt({ data: e, configurable: t, openMediaSettings: n }) {
bytes: e.bytes,
mark: Ja[e.k] || "database"
}))
- }), /* @__PURE__ */ (0, x.jsx)(Ytt, {
+ }), /* @__PURE__ */ (0, x.jsx)(Xtt, {
title: "媒体库",
- empty: rnt,
+ empty: int,
rows: e.by_library.map((e) => ({
name: e.name,
value: e.videos,
@@ -95850,8 +95858,8 @@ function cnt({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: wPe(e.by_length),
- empty: int
+ rows: TPe(e.by_length),
+ empty: ant
}),
/* @__PURE__ */ (0, x.jsx)(E8, {
title: "画质",
@@ -95859,7 +95867,7 @@ function cnt({ data: e, configurable: t, openMediaSettings: n }) {
series: "视频",
color: j8,
rows: rK(e.by_quality),
- empty: ant
+ empty: ont
}),
/* @__PURE__ */ (0, x.jsx)(E8, {
title: "文件类型",
@@ -95867,20 +95875,20 @@ function cnt({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: j8,
layout: "horizontal",
- rows: SPe(e.by_medium),
+ rows: CPe(e.by_medium),
empty: M8
})
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: ohe,
+ icon: she,
title: "还没有视频",
actions: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, x.jsx)(rA, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
href: "/subscriptions?tab=add",
size: "small",
@@ -95889,8 +95897,8 @@ function cnt({ data: e, configurable: t, openMediaSettings: n }) {
children: M8
});
}
-function lnt({ data: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Att, {
+function unt({ data: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jtt, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -95900,17 +95908,17 @@ function lnt({ data: e }) {
cellUnit: "个作品"
},
tone: 5,
- empty: ont
+ empty: snt
}), /* @__PURE__ */ (0, x.jsx)(E8, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: Ztt,
- rows: EPe(e.replays),
- empty: snt
+ color: Qtt,
+ rows: DPe(e.replays),
+ empty: cnt
})] });
}
-function unt({ attribution: e }) {
+function dnt({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
@@ -95943,7 +95951,7 @@ function unt({ attribution: e }) {
]
});
}
-function dnt({ volume: e }) {
+function fnt({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, x.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -95964,7 +95972,7 @@ function dnt({ volume: e }) {
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, x.jsx)(lA, {
+ t == null ? null : /* @__PURE__ */ (0, x.jsx)(cA, {
label: `${e.label}空间使用率`,
value: N8(n, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -95982,25 +95990,25 @@ function dnt({ volume: e }) {
]
});
}
-function fnt({ volumes: e, configurable: t, openMediaSettings: n }) {
+function pnt({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(dnt, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(fnt, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Tk,
+ icon: wk,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: nnt
+ children: rnt
});
}
-function pnt({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, x.jsx)(jtt, {
- previewCount: Xtt,
+function mnt({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, x.jsx)(Mtt, {
+ previewCount: Ztt,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0",
@@ -96024,20 +96032,20 @@ function pnt({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, `${e.k}:${r}`))
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Dk,
+ icon: Ek,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, x.jsx)(rA, {
+ actions: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: $tt
+ children: ent
});
}
-function mnt({ rows: e }) {
+function hnt({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
@@ -96049,7 +96057,7 @@ function mnt({ rows: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, x.jsx)("a", {
- href: gPe(e),
+ href: _Pe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -96059,11 +96067,11 @@ function mnt({ rows: e }) {
children: [e.creator ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: hPe(e) })]
+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: gPe(e) })]
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, x.jsx)(lA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(cA, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, x.jsx)("small", {
@@ -96073,20 +96081,20 @@ function mnt({ rows: e }) {
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Ek,
+ icon: Tk,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, x.jsx)(rA, {
+ actions: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: ent
+ children: tnt
});
}
-function hnt({ sources: e, videos: t }) {
+function gnt({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("article", {
@@ -96105,7 +96113,7 @@ function hnt({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsx)(cA, {
label: `${e.k} 覆盖视频`,
value: N8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -96116,21 +96124,21 @@ function hnt({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Dk,
+ icon: Ek,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, x.jsx)(rA, {
+ actions: /* @__PURE__ */ (0, x.jsx)(nA, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: tnt
+ children: nnt
});
}
function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, x.jsx)(RN, {
+ return /* @__PURE__ */ (0, x.jsx)(LN, {
id: e,
className: eL({
interactive: !0,
@@ -96145,34 +96153,34 @@ function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function gnt(e) {
+function _nt(e) {
let t = dt({
queryKey: YG,
queryFn: ({ signal: e }) => XG(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!n) return /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? B(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), s = ZG(n.tag_cov) ? $G(n.tag_cov, n.attribution.videos) : "未取得", c = `${QG(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Zt(o)}`
}),
- /* @__PURE__ */ (0, x.jsxs)(IN, {
+ /* @__PURE__ */ (0, x.jsxs)(FN, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsxs)(LN, {
+ /* @__PURE__ */ (0, x.jsxs)(IN, {
"aria-label": "统计视图",
className: tL,
children: [
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "inventory",
label: "馆藏视频",
- icon: Sk,
+ icon: xk,
accent: 0,
figure: a.toLocaleString(),
detail: Zt(o)
@@ -96180,7 +96188,7 @@ function gnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "viewing",
label: "看过",
- icon: Bme,
+ icon: Vme,
accent: 1,
figure: QG(r.played),
detail: eK(r.play_seconds)
@@ -96188,7 +96196,7 @@ function gnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "coverage",
label: "内容标签",
- icon: Dk,
+ icon: Ek,
accent: 2,
figure: s,
detail: c
@@ -96196,21 +96204,21 @@ function gnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "storage",
label: "使用空间",
- icon: Tk,
+ icon: wk,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
detail: i.measured ? `已用 ${Zt(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "inventory",
- children: /* @__PURE__ */ (0, x.jsx)(cnt, {
+ children: /* @__PURE__ */ (0, x.jsx)(lnt, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, x.jsxs)(zN, {
+ /* @__PURE__ */ (0, x.jsxs)(RN, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsx)(L8, {
@@ -96256,9 +96264,9 @@ function gnt(e) {
})
]
})
- }), /* @__PURE__ */ (0, x.jsx)(lnt, { data: n })]
+ }), /* @__PURE__ */ (0, x.jsx)(unt, { data: n })]
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "coverage",
children: /* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
@@ -96266,10 +96274,10 @@ function gnt(e) {
figure: s,
unit: c
}),
- children: /* @__PURE__ */ (0, x.jsx)(unt, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, x.jsx)(dnt, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "storage",
children: /* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
@@ -96277,7 +96285,7 @@ function gnt(e) {
figure: i.measured.toLocaleString(),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, x.jsx)(fnt, {
+ children: /* @__PURE__ */ (0, x.jsx)(pnt, {
volumes: n.storage_volumes,
...e
})
@@ -96285,9 +96293,9 @@ function gnt(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(IN, {
+ /* @__PURE__ */ (0, x.jsxs)(FN, {
defaultSelectedKey: "tags",
- className: `${iA({ padding: "none" })} flex flex-col`,
+ className: `${rA({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
@@ -96295,17 +96303,17 @@ function gnt(e) {
"aria-label": "统计维度",
className: uP,
children: [
- /* @__PURE__ */ (0, x.jsx)(RN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
id: "tags",
className: dP,
children: "内容标签"
}),
- /* @__PURE__ */ (0, x.jsx)(RN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
id: "recent",
className: dP,
children: "最近看过"
}),
- /* @__PURE__ */ (0, x.jsx)(RN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
id: "sources",
className: dP,
children: "标签来源"
@@ -96313,23 +96321,23 @@ function gnt(e) {
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(pnt, {
+ children: /* @__PURE__ */ (0, x.jsx)(mnt, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(mnt, { rows: n.recent })
+ children: /* @__PURE__ */ (0, x.jsx)(hnt, { rows: n.recent })
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(RN, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(hnt, {
+ children: /* @__PURE__ */ (0, x.jsx)(gnt, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -96340,7 +96348,7 @@ function gnt(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function _nt(e, t) {
+function vnt(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -96352,10 +96360,10 @@ function z8(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function vnt(e, t) {
+function ynt(e, t) {
return B8(e.source, t.source) || e.index - t.index;
}
-function ynt(e, t) {
+function bnt(e, t) {
return B8(e.target, t.target) || e.index - t.index;
}
function B8(e, t) {
@@ -96364,38 +96372,38 @@ function B8(e, t) {
function V8(e) {
return e.value;
}
-function bnt(e) {
+function xnt(e) {
return e.index;
}
-function xnt(e) {
+function Snt(e) {
return e.nodes;
}
-function Snt(e) {
+function Cnt(e) {
return e.links;
}
-function Cnt(e, t) {
+function wnt(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function wnt({ nodes: e }) {
+function Tnt({ 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 Tnt() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = bnt, c = _nt, l, u, d = xnt, f = Snt, p = 6;
+function Ent() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = xnt, c = vnt, l, u, d = Snt, f = Cnt, 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), wnt(e), e;
+ return h(e), g(e), _(e), v(e), x(e), Tnt(e), e;
}
m.update = function(e) {
- return wnt(e), e;
+ return Tnt(e), e;
}, m.nodeId = function(e) {
return arguments.length ? (s = typeof e == "function" ? e : z8(e), m) : s;
}, m.nodeAlign = function(e) {
@@ -96425,12 +96433,12 @@ function Tnt() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = Cnt(n, t)), typeof i != "object" && (i = r.target = Cnt(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = wnt(n, t)), typeof i != "object" && (i = r.target = wnt(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(r1(t.sourceLinks, V8), r1(t.targetLinks, V8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(n1(t.sourceLinks, V8), n1(t.targetLinks, V8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -96455,7 +96463,7 @@ function Tnt() {
}
}
function y({ nodes: t }) {
- let r = e1(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = $$(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -96464,7 +96472,7 @@ function Tnt() {
return o;
}
function b(e) {
- let n = t1(e, (e) => (r - t - (e.length - 1) * o) / r1(e, V8));
+ let n = e1(e, (e) => (r - t - (e.length - 1) * o) / n1(e, V8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -96481,7 +96489,7 @@ function Tnt() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (e1(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / ($$(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -96537,12 +96545,12 @@ function Tnt() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(ynt);
- for (let { target: { targetLinks: t } } of e) t.sort(vnt);
+ for (let { source: { sourceLinks: e } } of t) e.sort(bnt);
+ for (let { target: { targetLinks: t } } of e) t.sort(ynt);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(ynt), n.sort(vnt);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(bnt), n.sort(ynt);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -96572,14 +96580,14 @@ function Tnt() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var H8 = Math.PI, U8 = 2 * H8, W8 = 1e-6, Ent = U8 - W8;
+var H8 = Math.PI, U8 = 2 * H8, W8 = 1e-6, Dnt = U8 - W8;
function G8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function Dnt() {
+function Ont() {
return new G8();
}
-G8.prototype = Dnt.prototype = {
+G8.prototype = Ont.prototype = {
constructor: G8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
@@ -96613,7 +96621,7 @@ G8.prototype = Dnt.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) > W8 || Math.abs(this._y1 - l) > W8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U8 + U8), d > Ent ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W8 && (this._ += "A" + n + "," + n + ",0," + +(d >= H8) + "," + 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) > W8 || Math.abs(this._y1 - l) > W8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U8 + U8), d > Dnt ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W8 && (this._ += "A" + n + "," + n + ",0," + +(d >= H8) + "," + 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";
@@ -96624,93 +96632,93 @@ G8.prototype = Dnt.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function Ont(e) {
+function knt(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function knt(e) {
+function Ant(e) {
return e[0];
}
-function Ant(e) {
+function jnt(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var jnt = Array.prototype.slice;
+var Mnt = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function Mnt(e) {
+function Nnt(e) {
return e.source;
}
-function Nnt(e) {
+function Pnt(e) {
return e.target;
}
-function Pnt(e) {
- var t = Mnt, n = Nnt, r = knt, i = Ant, a = null;
+function Fnt(e) {
+ var t = Nnt, n = Pnt, r = Ant, i = jnt, a = null;
function o() {
- var o, s = jnt.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = Dnt(), 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 = Mnt.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = Ont(), 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 : Ont(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : knt(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : Ont(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : knt(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function Fnt(e, t, n, r, i) {
+function Int(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function Int() {
- return Pnt(Fnt);
+function Lnt() {
+ return Fnt(Int);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function Lnt(e) {
+function Rnt(e) {
return [e.source.x1, e.y0];
}
-function Rnt(e) {
+function znt(e) {
return [e.target.x0, e.y1];
}
-function znt() {
- return Int().source(Lnt).target(Rnt);
+function Bnt() {
+ return Lnt().source(Rnt).target(znt);
}
//#endregion
//#region src/react/taste/taste.ts
-var Bnt = "/api/taste", Vnt = "/api/taste/refresh", Hnt = "/api/taste/import", Unt = "/api/taste/source", K8 = (e) => ["taste", e], Wnt = ["taste", "refresh"], Gnt = [
+var Vnt = "/api/taste", Hnt = "/api/taste/refresh", Unt = "/api/taste/import", Wnt = "/api/taste/source", K8 = (e) => ["taste", e], Gnt = ["taste", "refresh"], Knt = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], Knt = (e, t) => H(Unt, {
+], qnt = (e, t) => H(Wnt, {
...e,
window: t
-}), qnt = (e, t) => V(`${Bnt}?window=${e}`, t), Jnt = (e) => V(Vnt, e);
-async function Ynt(e, t) {
+}), Jnt = (e, t) => V(`${Vnt}?window=${e}`, t), Ynt = (e) => V(Hnt, e);
+async function Xnt(e, t) {
await U.fetchQuery({
queryKey: K8(e),
- queryFn: () => qnt(e, t)
+ queryFn: () => Jnt(e, t)
});
}
-var Xnt = (e) => H(Vnt, {
+var Znt = (e) => H(Hnt, {
window: e,
background: !0
-}), Znt = (e, t) => H(Unt, {
+}), Qnt = (e, t) => H(Wnt, {
operation: "remove",
source_key: e,
window: t
});
-async function Qnt(e) {
- let t = await fetch(Hnt, {
+async function $nt(e) {
+ let t = await fetch(Unt, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -96728,47 +96736,47 @@ async function Qnt(e) {
}
return n;
}
-var $nt = 1e4, q8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function ert(e) {
+var ert = 1e4, q8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function trt(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
return !e.range_start && !e.range_end ? t : `${t} · ${q8(e.range_start)}—${q8(e.range_end)}`;
}
-var trt = eK, nrt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), rrt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function irt(e) {
+var nrt = eK, rrt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), irt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function art(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function art(e) {
- let t = e.map(rrt), n = Math.max(1, ...t);
+function ort(e) {
+ let t = e.map(irt), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var ort = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var srt = (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 srt(e) {
- let t = ort(e, 6);
+function crt(e) {
+ let t = srt(e, 6);
return t.length < 3 ? [] : t;
}
-var crt = {
+var lrt = {
width: 720,
height: 435
-}, lrt = {
+}, urt = {
source: 145,
target: 545
-}, urt = 30, drt = 240;
-function frt(e, t, n) {
+}, drt = 30, frt = 240;
+function prt(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function prt(e = []) {
+function mrt(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = frt(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = frt(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = prt(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = prt(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -96777,7 +96785,7 @@ function prt(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * urt + drt), u = Tnt().nodeId((e) => e.id).nodeWidth(10).nodePadding(urt).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * drt + frt), u = Ent().nodeId((e) => e.id).nodeWidth(10).nodePadding(drt).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -96792,7 +96800,7 @@ function prt(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = znt();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = Bnt();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -96820,14 +96828,14 @@ function prt(e = []) {
};
}),
total: d,
- height: l + crt.height - 404
+ height: l + lrt.height - 404
};
}
-var mrt = (e) => nn(e, 17), hrt = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var hrt = (e) => nn(e, 17), grt = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = b.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, x.jsx)(_rt, {
+ case "border": return /* @__PURE__ */ (0, x.jsx)(vrt, {
cx: e,
cy: t,
dotId: c,
@@ -96836,7 +96844,7 @@ var mrt = (e) => nn(e, 17), hrt = b.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, x.jsx)(vrt, {
+ case "colored-border": return /* @__PURE__ */ (0, x.jsx)(yrt, {
cx: e,
cy: t,
dotId: c,
@@ -96845,7 +96853,7 @@ var mrt = (e) => nn(e, 17), hrt = b.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, x.jsx)(grt, {
+ default: return /* @__PURE__ */ (0, x.jsx)(_rt, {
cx: e,
cy: t,
dotId: c,
@@ -96855,7 +96863,7 @@ var mrt = (e) => nn(e, 17), hrt = b.memo(function({ cx: e, cy: t, dataKey: n, ch
maskId: s
});
}
-}), grt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+}), _rt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -96875,8 +96883,8 @@ var mrt = (e) => nn(e, 17), hrt = b.memo(function({ cx: e, cy: t, dataKey: n, ch
clipPath: `url(#dot-clip-${n})`
})]
}));
-grt.displayName = "DefaultDot";
-var _rt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+_rt.displayName = "DefaultDot";
+var vrt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
className: e8(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
@@ -96913,8 +96921,8 @@ var _rt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
}) })
]
}));
-_rt.displayName = "PrimaryBorderDot";
-var vrt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+vrt.displayName = "PrimaryBorderDot";
+var yrt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
className: e8(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
@@ -96943,17 +96951,17 @@ var vrt = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
})
]
}));
-vrt.displayName = "ColoredBorderDot";
+yrt.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var yrt = 1, brt = .3, xrt = 6, Srt = 1500, Crt = "value", wrt = (0, b.createContext)(null);
+var brt = 1, xrt = .3, Srt = 6, Crt = 1500, wrt = "value", Trt = (0, b.createContext)(null);
function J8() {
- let e = (0, b.use)(wrt);
+ let e = (0, b.use)(Trt);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function Y8({ 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, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = zrt(c, l), m = (0, b.useCallback)((e) => {
+ let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = Brt(c, l), m = (0, b.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, b.useMemo)(() => ({
config: e,
@@ -96966,37 +96974,37 @@ function Y8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, x.jsx)(wrt, {
+ return /* @__PURE__ */ (0, x.jsx)(Trt, {
value: h,
children: /* @__PURE__ */ (0, x.jsxs)(r8, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(tet, {
+ children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(net, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, x.jsx)(f8, { variant: a }),
n,
- c && /* @__PURE__ */ (0, x.jsx)(Brt, {})
+ c && /* @__PURE__ */ (0, x.jsx)(Vrt, {})
]
})]
})
});
}
-function Trt({ dataKey: e, variant: t = "filled", fillOpacity: n = brt, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function Ert({ dataKey: e, variant: t = "filled", fillOpacity: n = xrt, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = J8(), d = (0, b.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 } = Nrt(a, d, e, p.dot);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(D3, {
+ }, m = t === "filled", { dot: h, activeDot: g } = Prt(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(E3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: yrt,
+ strokeWidth: brt,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -97009,30 +97017,30 @@ function Trt({ dataKey: e, variant: t = "filled", fillOpacity: n = brt, isGlowin
},
...o
}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, x.jsx)(Prt, {
+ /* @__PURE__ */ (0, x.jsx)(Frt, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, x.jsx)(Frt, {
+ /* @__PURE__ */ (0, x.jsx)(Irt, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, x.jsx)(Irt, {
+ m && /* @__PURE__ */ (0, x.jsx)(Lrt, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, x.jsx)(Lrt, {
+ r && /* @__PURE__ */ (0, x.jsx)(Rrt, {
id: d,
dataKey: e
})
] })] });
}
-var Ert = () => null, Drt = () => null;
-function Ort({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, x.jsx)(e$e, {
+var Drt = () => null, Ort = () => null;
+function krt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, x.jsx)(n$e, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -97040,30 +97048,30 @@ function Ort({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function krt({ tick: e = {
+function Art({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
let { isLoading: r } = J8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(Z4, {
+ return r ? null : /* @__PURE__ */ (0, x.jsx)(X4, {
tick: e,
tickLine: t,
...n
});
}
-function Art({ tick: e = {
+function jrt({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
let { isLoading: i } = J8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(E$e, {
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(O$e, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function jrt({ variant: e, roundness: t, defaultIndex: n }) {
+function Mrt({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = J8();
return r ? null : /* @__PURE__ */ (0, x.jsx)(c8, {
defaultIndex: n,
@@ -97075,7 +97083,7 @@ function jrt({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Mrt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function Nrt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = J8();
return i ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
verticalAlign: n,
@@ -97088,22 +97096,22 @@ function Mrt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var Nrt = (e, t, n, r) => {
+var Prt = (e, t, n, r) => {
let i = !1, a = !1;
return b.Children.forEach(e, (e) => {
if ((0, b.isValidElement)(e)) {
- if (e.type === Ert) {
+ if (e.type === Drt) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, x.jsx)(hrt, {
+ i = /* @__PURE__ */ (0, x.jsx)(grt, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === Drt) {
+ if (e.type === Ort) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, x.jsx)(hrt, {
+ a = /* @__PURE__ */ (0, x.jsx)(grt, {
type: i,
dataKey: n,
chartId: t,
@@ -97130,7 +97138,7 @@ var Nrt = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), Prt = ({ id: e, dataKey: t, config: n }) => {
+}) }), Frt = ({ id: e, dataKey: t, config: n }) => {
let r = o8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -97143,7 +97151,7 @@ var Nrt = (e, t, n, r) => {
colorsCount: r
})
});
-}, Frt = ({ id: e, dataKey: t, config: n }) => {
+}, Irt = ({ id: e, dataKey: t, config: n }) => {
let r = o8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -97156,7 +97164,7 @@ var Nrt = (e, t, n, r) => {
colorsCount: r
})
});
-}, Irt = ({ id: e, dataKey: t, config: n }) => {
+}, Lrt = ({ id: e, dataKey: t, config: n }) => {
let r = o8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, x.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -97169,7 +97177,7 @@ var Nrt = (e, t, n, r) => {
opacities: i
})
});
-}, Lrt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
+}, Rrt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -97189,7 +97197,7 @@ var Nrt = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), Rrt = (e) => [
+}), zrt = (e) => [
"A",
"B",
"C",
@@ -97198,20 +97206,20 @@ var Nrt = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [Crt]: 30 + Math.random() * 70
+ [wrt]: 30 + Math.random() * 70
}));
-function zrt(e, t = xrt) {
+function Brt(e, t = Srt) {
let [n, r] = (0, b.useState)(0);
return (0, b.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, Srt);
+ }, Crt);
return () => clearInterval(t);
- }, [e]), (0, b.useMemo)(() => Rrt(t), [t, n]);
+ }, [e]), (0, b.useMemo)(() => zrt(t), [t, n]);
}
-var Brt = () => /* @__PURE__ */ (0, x.jsx)(D3, {
- dataKey: Crt,
+var Vrt = () => /* @__PURE__ */ (0, x.jsx)(E3, {
+ dataKey: wrt,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -97219,41 +97227,41 @@ var Brt = () => /* @__PURE__ */ (0, x.jsx)(D3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: Srt,
+ animationDuration: Crt,
animationEasing: "ease-in-out"
});
-Y8.Radar = Trt, Y8.Dot = Ert, Y8.ActiveDot = Drt, Y8.PolarGrid = Ort, Y8.PolarAngleAxis = krt, Y8.PolarRadiusAxis = Art, Y8.Tooltip = jrt, Y8.Legend = Mrt;
+Y8.Radar = Ert, Y8.Dot = Drt, Y8.ActiveDot = Ort, Y8.PolarGrid = krt, Y8.PolarAngleAxis = Art, Y8.PolarRadiusAxis = jrt, Y8.Tooltip = Mrt, Y8.Legend = Nrt;
//#endregion
//#region src/react/taste/charts.tsx
-function Vrt(e) {
+function Hrt(e) {
let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;
- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(b4, {
+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(y4, {
...a,
x: t,
textAnchor: r,
fill: "currentColor",
fontSize: 12,
- children: ftt(o, c - 4)
+ children: ptt(o, c - 4)
})] });
}
-var Hrt = [
+var Urt = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Urt = [
+], Wrt = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], Wrt = { value: {
+], Grt = { value: {
label: "标签命中",
colors: S8(x8[3])
-} }, Grt = [
+} }, Krt = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -97263,27 +97271,27 @@ var Hrt = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Krt = 26, qrt = { radius: Wrt.value }, Jrt = (e, t) => Math.sqrt(e / t);
-function Yrt({ rows: e, label: t }) {
- let n = srt(e);
+], qrt = 26, Jrt = { radius: Grt.value }, Yrt = (e, t) => Math.sqrt(e / t);
+function Xrt({ rows: e, label: t }) {
+ let n = crt(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: Jrt(e.value, r)
+ radius: Yrt(e.value, r)
}));
return /* @__PURE__ */ (0, x.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, x.jsxs)(Y8, {
data: i,
- config: qrt,
+ config: Jrt,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
/* @__PURE__ */ (0, x.jsx)(Y8.PolarGrid, {}),
/* @__PURE__ */ (0, x.jsx)(Y8.PolarAngleAxis, {
dataKey: "name",
- tick: /* @__PURE__ */ (0, x.jsx)(Vrt, {})
+ tick: /* @__PURE__ */ (0, x.jsx)(Hrt, {})
}),
/* @__PURE__ */ (0, x.jsx)(Y8.PolarRadiusAxis, {
domain: [0, 1],
@@ -97296,18 +97304,18 @@ function Yrt({ rows: e, label: t }) {
})
});
}
-function Xrt({ rows: e, label: t }) {
- let n = ort(e, 8);
+function Zrt({ rows: e, label: t }) {
+ let n = srt(e, 8);
return n.length ? /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${Grt[n.length]}`,
+ className: `flex grow flex-col ${Krt[n.length]}`,
children: /* @__PURE__ */ (0, x.jsxs)(m8, {
data: n,
- config: Wrt,
+ config: Grt,
layout: "horizontal",
barRadius: 4,
chartProps: {
- maxBarSize: Krt,
+ maxBarSize: qrt,
margin: {
top: 5,
right: 56,
@@ -97321,7 +97329,7 @@ function Xrt({ rows: e, label: t }) {
dataKey: "name",
interval: 0,
tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "y" }),
- width: ptt(n.map((e) => e.name))
+ width: mtt(n.map((e) => e.name))
}),
/* @__PURE__ */ (0, x.jsx)(m8.XAxis, {
hide: !0,
@@ -97332,7 +97340,7 @@ function Xrt({ rows: e, label: t }) {
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: btt("right")
+ label: xtt("right")
}
}),
/* @__PURE__ */ (0, x.jsx)(w8, {})
@@ -97340,8 +97348,8 @@ function Xrt({ rows: e, label: t }) {
})
}) : null;
}
-function Zrt({ flows: e }) {
- let [t, n] = (0, b.useState)(null), r = prt(e);
+function Qrt({ flows: e }) {
+ let [t, n] = (0, b.useState)(null), r = mrt(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, x.jsxs)("section", {
@@ -97369,7 +97377,7 @@ function Zrt({ flows: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 max-sm:hidden",
children: /* @__PURE__ */ (0, x.jsxs)("svg", {
- viewBox: `0 0 ${crt.width} ${r.height}`,
+ viewBox: `0 0 ${lrt.width} ${r.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -97383,7 +97391,7 @@ function Zrt({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${Hrt[e.color]}`,
+ className: `outline-none transition-opacity ${Urt[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -97417,15 +97425,15 @@ function Zrt({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Urt[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? Wrt[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, x.jsxs)("text", {
- x: lrt[e.side],
+ x: urt[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: [mrt(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
- x: lrt[e.side],
+ children: [hrt(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
+ x: urt[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -97442,15 +97450,15 @@ function Zrt({ flows: e }) {
}
//#endregion
//#region src/react/taste/browser-sources.tsx
-function Qrt({ browsers: e, range: t }) {
+function $rt({ browsers: e, range: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({
- mutationFn: (e) => Knt(e, t),
+ mutationFn: (e) => qnt(e, t),
onSuccess: (e) => {
U.setQueryData(K8(t), e.dashboard), r(!1), a(""), s("");
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: `${iA()} flex flex-col gap-4`,
+ className: `${rA()} flex flex-col gap-4`,
"aria-label": "浏览器同步",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -97484,7 +97492,7 @@ function Qrt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -97492,7 +97500,7 @@ function Qrt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, x.jsx)(WN, {
+ /* @__PURE__ */ (0, x.jsx)(UN, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -97569,7 +97577,7 @@ function Qrt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var $rt = 10, eit = Qk(sL, cL, "text-body-2-medium"), Z8 = `${iA()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", tit = "读取运行 Peach 的这台电脑上的浏览记录", nit = "导入或读取浏览记录后,这里会列出已采集设备。", rit = "馆藏里暂时没有对得上浏览信号的标签。", iit = "采集浏览记录后,这里会显示聚合后的口味证据。", ait = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", oit = "采集浏览记录后,这里会列出浏览过的标签。", sit = "采集浏览记录后,这里会列出浏览过的创作者。", cit = "采集浏览记录后,这里会列出常访问的网站。", lit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", uit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", dit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", fit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", pit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", mit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", hit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", git = "peach-taste-guide-dismissed";
+var eit = 10, tit = Zk(sL, cL, "text-body-2-medium"), Z8 = `${rA()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", nit = "读取运行 Peach 的这台电脑上的浏览记录", rit = "导入或读取浏览记录后,这里会列出已采集设备。", iit = "馆藏里暂时没有对得上浏览信号的标签。", ait = "采集浏览记录后,这里会显示聚合后的口味证据。", oit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", sit = "采集浏览记录后,这里会列出浏览过的标签。", cit = "采集浏览记录后,这里会列出浏览过的创作者。", lit = "采集浏览记录后,这里会列出常访问的网站。", uit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", dit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", fit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", pit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", mit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", hit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", git = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", _it = "peach-taste-guide-dismissed";
function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: eL(),
@@ -97582,7 +97590,7 @@ function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function _it({ name: e, domain: t }) {
+function vit({ name: e, domain: t }) {
return /* @__PURE__ */ (0, x.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: [tn(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -97596,22 +97604,22 @@ function _it({ name: e, domain: t }) {
})]
});
}
-function vit({ html: e }) {
+function yit({ html: e }) {
return /* @__PURE__ */ (0, x.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 ${QB}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function yit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(aA, {
+function bit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: kk,
+ icon: Ok,
title: "暂无足够证据",
children: r
});
- let a = art(e);
- return /* @__PURE__ */ (0, x.jsx)(jtt, {
- previewCount: $rt,
+ let a = ort(e);
+ return /* @__PURE__ */ (0, x.jsx)(Mtt, {
+ previewCount: eit,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -97630,15 +97638,15 @@ function yit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, x.jsx)(_it, {
+ n === "domain" ? /* @__PURE__ */ (0, x.jsx)(vit, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(_it, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(vit, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(vit, { html: ia(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(yit, { html: ia(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -97652,10 +97660,10 @@ function yit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: irt(e)
+ children: art(e)
})]
}),
- o ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ o ? /* @__PURE__ */ (0, x.jsx)(vk, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -97675,31 +97683,31 @@ function yit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function bit({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, x.jsxs)(IN, {
- className: `${iA({ padding: "none" })} flex flex-col`,
+function xit({ label: e, panels: t, onSignal: n }) {
+ return /* @__PURE__ */ (0, x.jsxs)(FN, {
+ className: `${rA({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, x.jsx)(cP, {
"aria-label": e,
className: uP,
- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(RN, {
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(LN, {
id: e.id,
className: dP,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(zN, {
+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(RN, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(yit, {
+ children: /* @__PURE__ */ (0, x.jsx)(bit, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function xit({ data: e, onSignal: t, navigate: n }) {
+function Sit({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -97768,44 +97776,44 @@ function xit({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, x.jsx)(yk, {
+ }), /* @__PURE__ */ (0, x.jsx)(vk, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: kk,
+ icon: Ok,
title: "还没有可探索的入口",
- children: rit
+ children: iit
})
]
});
}
-function Sit({ onboarding: e, done: t }) {
+function Cit({ onboarding: e, done: t }) {
let [n, r] = (0, b.useState)(() => {
try {
- return localStorage.getItem(git) === "1";
+ return localStorage.getItem(_it) === "1";
} catch {
return !1;
}
});
return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {
- className: iA({
+ className: rA({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: fit
+ children: pit
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: pit
+ children: mit
}),
/* @__PURE__ */ (0, x.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -97835,7 +97843,7 @@ function Sit({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: mit
+ children: hit
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
@@ -97844,7 +97852,7 @@ function Sit({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(git, "1");
+ localStorage.setItem(_it, "1");
} catch {}
r(!0);
},
@@ -97855,7 +97863,7 @@ function Sit({ onboarding: e, done: t }) {
})
});
}
-function Cit({ busy: e, onRefresh: t, onImport: n }) {
+function wit({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -97864,15 +97872,15 @@ function Cit({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: xk,
- title: tit,
+ leadingIcon: bk,
+ title: nit,
onClick: t,
...q(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: _k,
+ leadingIcon: gk,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -97881,7 +97889,7 @@ function Cit({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(HM, {
+ }), /* @__PURE__ */ (0, x.jsx)(VM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
@@ -97893,17 +97901,17 @@ function Cit({ busy: e, onRefresh: t, onImport: n }) {
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: eit,
+ className: tit,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(xk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bk, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: eit,
+ className: tit,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(ihe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ahe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -97911,9 +97919,9 @@ function Cit({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function wit({ sources: e, window: t, toast: n }) {
+function Tit({ sources: e, window: t, toast: n }) {
let r = ft({
- mutationFn: (e) => Znt(e, t),
+ mutationFn: (e) => Qnt(e, t),
onSuccess: (e) => {
U.setQueryData(K8(t), e.dashboard), n("已移除口味数据源");
}
@@ -97937,10 +97945,10 @@ function wit({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(ihe, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(ahe, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, x.jsx)(Sk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(xk, {
"aria-hidden": !0,
className: "size-4"
})
@@ -97961,12 +97969,12 @@ function wit({ sources: e, window: t, toast: n }) {
"aria-label": `移除 ${e.profile}`,
className: "shrink-0",
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: Sk,
...q(r.isPending),
onClick: () => {
r.isPending || Ts({
title: "移除口味数据源",
- body: hit,
+ body: git,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -97974,30 +97982,30 @@ function wit({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: Sk,
+ icon: xk,
title: "还没有数据源",
- children: nit
+ children: rit
})
]
});
}
-function Tit(e) {
+function Eit(e) {
let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = dt({
queryKey: K8(a),
- queryFn: ({ signal: e }) => qnt(a, e),
+ queryFn: ({ signal: e }) => Jnt(a, e),
placeholderData: ue
}), { job: d, running: f, outcome: p, start: m } = NL({
- queryKey: Wnt,
- queryFn: ({ signal: e }) => Jnt(e),
- start: () => Xnt(a),
- idlePollMs: $nt,
+ queryKey: Gnt,
+ queryFn: ({ signal: e }) => Ynt(e),
+ start: () => Znt(a),
+ idlePollMs: ert,
onFinish: (e) => {
e.status !== "failed" && (U.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));
}
}), h = ft({
- mutationFn: (e) => Qnt(e),
+ mutationFn: (e) => $nt(e),
onSuccess: (e) => {
U.setQueryData(K8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
@@ -98007,14 +98015,14 @@ function Tit(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!v) return /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? B(u.error) : "读取口味分析失败"
}) });
- let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = nrt(C.browser_categories || []), E = srt(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? B(m.error) : h.error ? B(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
- /* @__PURE__ */ (0, x.jsxs)(IN, {
+ let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = rrt(C.browser_categories || []), E = crt(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? B(m.error) : h.error ? B(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
+ return /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(FN, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
@@ -98024,11 +98032,11 @@ function Tit(e) {
children: [/* @__PURE__ */ (0, x.jsxs)(cP, {
"aria-label": "口味证据来源",
className: uP,
- children: [/* @__PURE__ */ (0, x.jsx)(RN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(LN, {
id: "browser",
className: dP,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, x.jsx)(RN, {
+ }), /* @__PURE__ */ (0, x.jsx)(LN, {
id: "peach",
className: dP,
children: "Peach 内部"
@@ -98042,12 +98050,12 @@ function Tit(e) {
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Gnt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
+ children: Knt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jL, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Cit, {
+ /* @__PURE__ */ (0, x.jsx)(wit, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -98063,7 +98071,7 @@ function Tit(e) {
]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Sit, {
+ /* @__PURE__ */ (0, x.jsx)(Cit, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -98087,7 +98095,7 @@ function Tit(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(zN, {
+ /* @__PURE__ */ (0, x.jsxs)(RN, {
id: "browser",
className: "flex flex-col gap-5",
children: [
@@ -98096,27 +98104,27 @@ function Tit(e) {
children: [
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 0,
- icon: Ek,
+ icon: Tk,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
- detail: ert(y)
+ detail: trt(y)
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 1,
- icon: Dk,
+ icon: Ek,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 2,
- icon: kk,
+ icon: Ok,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 3,
- icon: Sk,
+ icon: xk,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: Zt(w.bytes || 0)
@@ -98133,7 +98141,7 @@ function Tit(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- E ? /* @__PURE__ */ (0, x.jsx)(Yrt, {
+ E ? /* @__PURE__ */ (0, x.jsx)(Xrt, {
rows: T,
label: "主要口味维度"
}) : null,
@@ -98144,18 +98152,18 @@ function Tit(e) {
]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, x.jsx)(Xrt, {
+ children: T.length ? /* @__PURE__ */ (0, x.jsx)(Zrt, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(iA, {
shell: "plain",
- icon: kk,
+ icon: Ok,
title: "暂无口味维度",
- children: iit
+ children: ait
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Att, {
+ /* @__PURE__ */ (0, x.jsx)(jtt, {
activity: v.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -98167,8 +98175,8 @@ function Tit(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, x.jsx)(Zrt, { flows: v.creator_flows }),
- /* @__PURE__ */ (0, x.jsx)(bit, {
+ /* @__PURE__ */ (0, x.jsx)(Qrt, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, x.jsx)(xit, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -98179,7 +98187,7 @@ function Tit(e) {
rows: C.browser_tags || [],
kind: "tag",
visual: "none",
- empty: oit
+ empty: sit
}
},
{
@@ -98189,7 +98197,7 @@ function Tit(e) {
rows: C.browser_creators || [],
kind: "creator",
visual: "creator",
- empty: sit
+ empty: cit
}
},
{
@@ -98209,7 +98217,7 @@ function Tit(e) {
rows: C.domains || [],
kind: "",
visual: "domain",
- empty: cit
+ empty: lit
}
},
{
@@ -98219,14 +98227,14 @@ function Tit(e) {
rows: D,
kind: "",
visual: "none",
- empty: ait
+ empty: oit
}
}
]
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(zN, {
+ /* @__PURE__ */ (0, x.jsxs)(RN, {
id: "peach",
className: "flex flex-col gap-5",
children: [
@@ -98235,26 +98243,26 @@ function Tit(e) {
children: [
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 0,
- icon: Bme,
+ icon: Vme,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: trt(y.peach_seconds || 0)
+ detail: nrt(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 1,
- icon: rhe,
+ icon: ihe,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 2,
- icon: nhe,
+ icon: rhe,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 3,
- icon: Dk,
+ icon: Ek,
term: "有标签",
figure: O.toLocaleString()
})
@@ -98281,18 +98289,18 @@ function Tit(e) {
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(Eit, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Dit, {
term: "有标签",
value: O,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, x.jsx)(Eit, {
+ }), /* @__PURE__ */ (0, x.jsx)(Dit, {
term: "有身份",
value: k,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(bit, {
+ /* @__PURE__ */ (0, x.jsx)(xit, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -98303,7 +98311,7 @@ function Tit(e) {
rows: C.peach_tags || [],
kind: "tag",
visual: "none",
- empty: lit
+ empty: uit
}
},
{
@@ -98313,7 +98321,7 @@ function Tit(e) {
rows: C.peach_creators || [],
kind: "creator",
visual: "creator",
- empty: uit
+ empty: dit
}
},
{
@@ -98323,7 +98331,7 @@ function Tit(e) {
rows: C.peach_performers || [],
kind: "performer",
visual: "entity",
- empty: dit
+ empty: fit
}
}
]
@@ -98332,23 +98340,23 @@ function Tit(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(xit, {
+ /* @__PURE__ */ (0, x.jsx)(Sit, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, x.jsx)(wit, {
+ /* @__PURE__ */ (0, x.jsx)(Tit, {
sources: v.sources || [],
window: a,
toast: r
}),
- /* @__PURE__ */ (0, x.jsx)(Qrt, {
+ /* @__PURE__ */ (0, x.jsx)($rt, {
browsers: v.browsers || [],
range: a
})
] });
}
-function Eit({ term: e, value: t, rest: n }) {
+function Dit({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -98361,7 +98369,7 @@ function Eit({ term: e, value: t, rest: n }) {
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, x.jsx)(lA, {
+ }), /* @__PURE__ */ (0, x.jsx)(cA, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -98376,7 +98384,7 @@ var e5 = {
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Dit = [[
+}, Oit = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -98384,7 +98392,7 @@ var e5 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], Oit = [[
+]], kit = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -98392,7 +98400,7 @@ var e5 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], kit = [[
+]], Ait = [[
"studios",
"厂牌",
"clapperboard"
@@ -98400,7 +98408,7 @@ var e5 = {
"agencies",
"事务所",
"briefcase"
-]], Ait = [[
+]], jit = [[
"local",
"本地",
"hard-drive"
@@ -98408,7 +98416,7 @@ var e5 = {
"online",
"在线",
"rss"
-]], jit = [
+]], Mit = [
[
"performers",
"艺人",
@@ -98424,7 +98432,7 @@ var e5 = {
"在线",
"rss"
]
-], Mit = [[
+], Nit = [[
"cloud",
"标签云",
"tags"
@@ -98432,8 +98440,8 @@ var e5 = {
"alphabet",
"字母表",
"text-aa"
-]], Nit = (e) => e === "compact" ? "compact" : "big";
-function Pit(e, t) {
+]], Pit = (e) => e === "compact" ? "compact" : "big";
+function Fit(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -98451,39 +98459,39 @@ var t5 = (e, t, n) => bo(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), Fit = (e) => `<div class="board-filter-frame" data-filter-frame>
+}), Iit = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${hs("tag-view", "标签视图", Mit, e)}</div></div>`;
-function Iit({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = e5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? hs("people-layout", o + "索引版式", c ? Oit : Dit, a) : "";
+ ${hs("tag-view", "标签视图", Nit, e)}</div></div>`;
+function Lit({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = e5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? hs("people-layout", o + "索引版式", c ? kit : Oit, a) : "";
return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
${no()}
<div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${ro("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? t5(Ait, n, "词表") : e === "performers" || e === "creators" ? t5(jit, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(kit, e, "公司类型") : ""}
- ${e === "tags" ? Fit(r) : ""}
- ${e === "performers" && n !== "online" ? bCe(i) : ""}
+ ${e === "tags" ? t5(jit, n, "词表") : e === "performers" || e === "creators" ? t5(Mit, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(Ait, e, "公司类型") : ""}
+ ${e === "tags" ? Iit(r) : ""}
+ ${e === "performers" && n !== "online" ? xCe(i) : ""}
${Po({
kind: e,
layout: a,
mode: r
})}`;
}
-var Lit = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function Rit(e, t, n) {
- let r = Iit(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Lit(r) && (e.innerHTML = r, Vo(e));
+var Rit = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function zit(e, t, n) {
+ let r = Lit(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Rit(r) && (e.innerHTML = r, Vo(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var zit = () => Uc, Bit = () => Oc, n5 = () => document.getElementById("index");
+var Bit = () => Uc, Vit = () => Oc, n5 = () => document.getElementById("index");
function r5(e, t, n = {}) {
- let r = (0, b.useSyncExternalStore)(el, zit);
- TO();
- let i = LO(dk.navigation.location.pathname), a = (0, b.useRef)({
+ let r = (0, b.useSyncExternalStore)(el, Bit);
+ wO();
+ let i = IO(uk.navigation.location.pathname), a = (0, b.useRef)({
mounted: !0,
epoch: -1,
opens: -1,
@@ -98508,7 +98516,7 @@ function r5(e, t, n = {}) {
let t = a.current;
if (!t.mounted) return;
let n = t.epoch !== e || t.opens !== Uc, r = t.opens !== Uc;
- if (t.epoch = e, t.opens = Uc, LO(dk.navigation.location.pathname)) {
+ if (t.epoch = e, t.opens = Uc, IO(uk.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -98529,13 +98537,13 @@ function r5(e, t, n = {}) {
i
]);
}
-async function Vit(e, t, n, r) {
+async function Hit(e, t, n, r) {
let i = n5();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = Pit(t, n), s = Nit(YT().value.peopleLayout);
- Rit(i, o, s), await tk(a, {
+ let o = Fit(t, n), s = Pit(YT().value.peopleLayout);
+ zit(i, o, s), await ek(a, {
...o,
layout: s,
selectMode: Oc,
@@ -98545,23 +98553,23 @@ async function Vit(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function Hit(e) {
- let t = n5(), n = t ? ZO(t) : null;
+function Uit(e) {
+ let t = n5(), n = t ? XO(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function Uit({ epoch: e }) {
- let t = (0, b.useContext)(wz), n = TO(), r = n.pathname.split("/").filter(Boolean)[0];
+function Wit({ epoch: e }) {
+ let t = (0, b.useContext)(wz), n = wO(), r = n.pathname.split("/").filter(Boolean)[0];
return r5(e, (e, i) => {
- t && Vit(t, r, n.search, i);
- }, { shown: () => Hit(`/${r}`) }), null;
+ t && Hit(t, r, n.search, i);
+ }, { shown: () => Uit(`/${r}`) }), null;
}
-function Wit() {
- let e = Cz(), t = (0, b.useSyncExternalStore)(el, Bit), n = (0, b.useRef)(t);
+function Git() {
+ let e = Cz(), t = (0, b.useSyncExternalStore)(el, Vit), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && nk(n5(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, x.jsx)(Uit, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && tk(n5(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, x.jsx)(Wit, { epoch: e }, e);
}
-function Git(e) {
+function Kit(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -98575,9 +98583,9 @@ function Git(e) {
name: a
} : null;
}
-var Kit = /* @__PURE__ */ new WeakMap();
-function qit(e) {
- let t = Kit.get(e);
+var qit = /* @__PURE__ */ new WeakMap();
+function Jit(e) {
+ let t = qit.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -98587,13 +98595,13 @@ function qit(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, Kit.set(e, t)), t;
+ }, qit.set(e, t)), t;
}
-function Jit() {
- let e = n5(), t = e ? ZO(e) : null;
+function Yit() {
+ let e = n5(), t = e ? XO(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function Yit(e, t, n, r, i, a, o) {
+async function Xit(e, t, n, r, i, a, o) {
let s = n5();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
@@ -98608,7 +98616,7 @@ async function Yit(e, t, n, r, i, a, o) {
}, h = t.props(l, u, i), g = {
...h,
hosts: m,
- card: qit(e),
+ card: Jit(e),
resolvedEntity: o,
actions: {
...h.actions,
@@ -98617,17 +98625,17 @@ async function Yit(e, t, n, r, i, a, o) {
}
}
};
- await tk(`/${c}/*`, g, {
+ await ek(`/${c}/*`, g, {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && Jit() && (e.surfaceShown?.("entity", r), window.scrollTo({
+ }) && a() && Yit() && (e.surfaceShown?.("entity", r), window.scrollTo({
top: 0,
behavior: "smooth"
}));
}
-function Xit({ target: e }) {
- let t = (0, b.useContext)(wz), n = Cz(), r = TO();
+function Zit({ target: e }) {
+ let t = (0, b.useContext)(wz), n = Cz(), r = wO();
return r5(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
@@ -98644,9 +98652,9 @@ function Xit({ target: e }) {
}).catch(() => null);
if (!i()) return;
if (s?.redirect) {
- fk(It(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
+ dk(It(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
return;
}
@@ -98655,37 +98663,37 @@ function Xit({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = It(e.kind, c, Number(s.id));
- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Yit(t, a, {
+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Xit(t, a, {
...e,
name: c
- }, r.pathname, r.search, i, s) : fk(l + r.search + r.hash, {
+ }, r.pathname, r.search, i, s) : dk(l + r.search + r.hash, {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
})();
- }, { shown: () => Jit() && !n5()?.hidden }), null;
+ }, { shown: () => Yit() && !n5()?.hidden }), null;
}
-function Zit() {
- let e = Git(TO().pathname);
- return e ? /* @__PURE__ */ (0, x.jsx)(Xit, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function Qit() {
+ let e = Kit(wO().pathname);
+ return e ? /* @__PURE__ */ (0, x.jsx)(Zit, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var Qit = () => Uc, $it = dk.navigation.seq, eat = dk.navigation.openEpoch, i5 = dk.navigation.location.pathname, a5 = {
- seq: $it,
+var $it = () => Uc, eat = uk.navigation.seq, tat = uk.navigation.openEpoch, i5 = uk.navigation.location.pathname, a5 = {
+ seq: eat,
claimed: !0,
from: i5
};
-dk.listen((e) => {
+uk.listen((e) => {
a5 = {
seq: e.seq,
- claimed: e.openEpoch === eat,
+ claimed: e.openEpoch === tat,
from: i5
- }, eat = e.openEpoch, i5 = e.location.pathname;
+ }, tat = e.openEpoch, i5 = e.location.pathname;
});
var o5 = !1;
-function tat(e) {
- let { seq: t, openEpoch: n, location: r } = dk.navigation, i = LO(r.pathname), a = mk() ?? r, o = W ?? {};
+function nat(e) {
+ let { seq: t, openEpoch: n, location: r } = uk.navigation, i = IO(r.pathname), a = pk() ?? r, o = W ?? {};
return {
seq: t,
epoch: n,
@@ -98696,7 +98704,7 @@ function tat(e) {
opened: e
};
}
-function nat(e, t, n, r) {
+function rat(e, t, n, r) {
let i = { ...W };
if (e === "/trash") return {
...i,
@@ -98729,13 +98737,13 @@ function nat(e, t, n, r) {
series: a.get("series") || ""
};
}
-function rat(e, t) {
- let n = { ...e }, r = tat(n.opened);
+function iat(e, t) {
+ let n = { ...e }, r = nat(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
if (r.covered) {
- mk() || i.fill();
+ pk() || i.fill();
return;
}
let a = !1;
@@ -98745,41 +98753,41 @@ function rat(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = dk.navigation.action === "POP" && a5.from !== "/");
+ r.epoch !== n.epoch && (a = uk.navigation.action === "POP" && a5.from !== "/");
}
- let { pathname: o, search: s } = dk.navigation.location;
+ let { pathname: o, search: s } = uk.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
let { kind: e, view: t } = gV(s);
- o5 = !0, fk(_V(e, t), { replace: !0 });
+ o5 = !0, dk(_V(e, t), { replace: !0 });
return;
}
let c = o5;
- o5 = !1, a &&= o === "/", e.opened = !0, Qc({ state: nat(o, s, a, i) }), i.open(o, {
+ o5 = !1, a &&= o === "/", e.opened = !0, Qc({ state: rat(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function iat(e) {
- return Nt(e) || e === "/trash" || LO(e) || e === "/immerse" || !!Git(e);
+function aat(e) {
+ return Nt(e) || e === "/trash" || IO(e) || e === "/immerse" || !!Kit(e);
}
-function aat() {
- let e = (0, b.useContext)(wz), t = Cz(), n = (0, b.useSyncExternalStore)(el, Qit), r = TO(), i = (0, b.useRef)(null), a = (0, b.useRef)({
+function oat() {
+ let e = (0, b.useContext)(wz), t = Cz(), n = (0, b.useSyncExternalStore)(el, $it), r = wO(), i = (0, b.useRef)(null), a = (0, b.useRef)({
mounted: !0,
queued: !1
});
return (0, b.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = tat(!LO(dk.navigation.location.pathname));
- return !n.covered && n.opens > 0 && (o5 || a5.seq === $it ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
+ let n = nat(!IO(uk.navigation.location.pathname));
+ return !n.covered && n.opens > 0 && (o5 || a5.seq === eat ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !iat(dk.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !aat(uk.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, b.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && rat(i.current, e);
+ t.queued = !1, t.mounted && i.current && iat(i.current, e);
}));
}, [
t,
@@ -98788,8 +98796,8 @@ function aat() {
e
]), null;
}
-function oat() {
- let { pathname: e, search: t } = TO();
+function sat() {
+ let { pathname: e, search: t } = wO();
(0, b.useLayoutEffect)(() => {
if (e !== "/wall") return;
document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");
@@ -98807,28 +98815,28 @@ function oat() {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), LO(e) && !fme(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(aat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(POe, {
+ }, [r, i]), IO(e) && !pme(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(oat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(FOe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null] });
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var s5 = () => document.getElementById("stats"), sat = () => Yc;
-function cat(e) {
+var s5 = () => document.getElementById("stats"), cat = () => Yc;
+function lat(e) {
let t = document.createElement("div");
return t.className = "peach-react", jo(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function lat(e, t) {
+async function uat(e, t) {
let n = s5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Jc;
- e.surfaceChanged("follow", "/follow"), vW(n, r.skeleton()), await tk("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), vW(n, r.skeleton()), await ek("/follow", r.props(), {
container: n,
isCurrent: t,
- place: cat
+ place: lat
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -98837,32 +98845,32 @@ async function lat(e, t) {
behavior: "smooth"
});
}
-function uat() {
- let e = s5(), t = e ? ZO(e) : null;
+function dat() {
+ let e = s5(), t = e ? XO(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function dat() {
+function fat() {
let e = (0, b.useContext)(wz);
return r5(Cz(), (t, n) => {
- e && lat(e, n);
+ e && uat(e, n);
}, {
- shown: uat,
+ shown: dat,
onCovered: () => {
- dk.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
+ uk.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function fat(e) {
- let t = e ? ZO(e) : null;
+function pat(e) {
+ let t = e ? XO(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function pat(e, t) {
+async function mat(e, t) {
let n = s5();
n && (e.surfaceChanged("playlists", "/playlists"), vW(n, gW("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
- })), await tk("/playlists", { revision: Yc }, {
+ })), await ek("/playlists", { revision: Yc }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -98870,46 +98878,46 @@ async function pat(e, t) {
behavior: "smooth"
}));
}
-function mat() {
- let e = (0, b.useContext)(wz), t = (0, b.useSyncExternalStore)(el, sat), n = (0, b.useRef)(t);
+function hat() {
+ let e = (0, b.useContext)(wz), t = (0, b.useSyncExternalStore)(el, cat), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
if (n.current === t) return;
n.current = t;
let e = s5();
- fat(e) && nk(e, { revision: t });
+ pat(e) && tk(e, { revision: t });
}, [t]), r5(Cz(), (t, n) => {
- e && pat(e, n);
+ e && mat(e, n);
}, { shown: () => {
let e = s5();
- return fat(e) && !e.hidden;
+ return pat(e) && !e.hidden;
} }), null;
}
//#endregion
//#region src/react/router/pages/immerse.tsx
-function hat() {
- let e = new URLSearchParams(dk.navigation.location.search).get("id");
+function gat() {
+ let e = new URLSearchParams(uk.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function gat() {
+function _at() {
let e = (0, b.useContext)(wz);
return xz(() => {
- e?.openImmerse(hat());
+ e?.openImmerse(gat());
}, !0), null;
}
-function _at() {
- return /* @__PURE__ */ (0, x.jsx)(gat, {}, Cz());
+function vat() {
+ return /* @__PURE__ */ (0, x.jsx)(_at, {}, Cz());
}
//#endregion
//#region src/react/router/pages/managed.tsx
-var vat = [
+var yat = [
"list",
"add",
"feeds"
-], yat = () => Uc > 0, bat = () => (0, b.useSyncExternalStore)(el, yat), c5 = !1, xat = () => YT().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
-function Sat(e) {
+], bat = () => Uc > 0, xat = () => (0, b.useSyncExternalStore)(el, bat), c5 = !1, Sat = () => YT().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
+function Cat(e) {
let t = l5();
return gW(e, {
- followLayout: xat(),
+ followLayout: Sat(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
@@ -98920,14 +98928,14 @@ function u5(e) {
throw e;
});
}
-function Cat(e, t) {
+function wat(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function wat(e, t) {
+async function Tat(e, t) {
if (e === "/jav") {
let e = await u5(t);
return t.live ? {
@@ -98942,19 +98950,19 @@ async function wat(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && Qc({ configurationRequestedSection: "网络与访问" });
- let t = l5().get("section") || Bc || cme(e);
+ let t = l5().get("section") || Bc || lme(e);
return t ? { section: t } : {};
}
if (e === "/review") {
let e = l5().get("category") || "", n = await u5(t);
return t.live ? {
category: tI(e) ? e : "",
- ...Cat(n, "/review")
+ ...wat(n, "/review")
} : null;
}
if (e === "/subscriptions") {
let e = l5(), n = e.get("tab") || "", r = {
- tab: vat.includes(n) ? n : "list",
+ tab: yat.includes(n) ? n : "list",
page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),
sort: e.get("sort") || "",
dir: e.get("dir") || ""
@@ -98964,8 +98972,8 @@ async function wat(e, t) {
return {
...r,
pageSize: Number(a.followPageSize) || 20,
- layout: xat(),
- ...Cat(i, "/subscriptions")
+ layout: Sat(),
+ ...wat(i, "/subscriptions")
};
}
return {};
@@ -98977,23 +98985,23 @@ var d5 = () => {
});
}, f5 = (e) => {
document.getElementById(e)?.scrollIntoView({ block: "start" });
-}, Tat = /* @__PURE__ */ new Set(["/stats", "/taste"]), Eat = /* @__PURE__ */ new Set([
+}, Eat = /* @__PURE__ */ new Set(["/stats", "/taste"]), Dat = /* @__PURE__ */ new Set([
"/review",
"/quality-goals",
"/tasks",
"/subscriptions"
]);
-async function Dat(e, t, n) {
+async function Oat(e, t, n) {
if (e === "/jav" && wV(l5().get("tab")) === "library") {
- dk.replace(iOe(window.location.search));
+ uk.replace(aOe(window.location.search));
return;
}
if (e === "/subscriptions" && l5().get("tab") === "wants") {
- fk("/jav?tab=wants", { replace: !0 });
+ dk("/jav?tab=wants", { replace: !0 });
return;
}
if (e === "/subscriptions" && l5().get("tab") === "source") {
- fk("/settings/subscriptions", { replace: !0 });
+ dk("/settings/subscriptions", { replace: !0 });
return;
}
let r = document.getElementById("stats");
@@ -99017,17 +99025,17 @@ async function Dat(e, t, n) {
jav: ""
} }), t.clearSearch());
let i = e === "/data-cleanup" && c5;
- i && (c5 = !1), vW(r, Sat(e));
- let a = await wat(e, n);
+ i && (c5 = !1), vW(r, Cat(e));
+ let a = await Tat(e, n);
if (!a) return;
- let o = await tk(e, a, {
+ let o = await ek(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = ZO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Qc({ configurationRequestedSection: "" }), Tat.has(e) && d5(), n.live) {
+ if (o && (n.revision = XO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Qc({ configurationRequestedSection: "" }), Eat.has(e) && d5(), n.live) {
let { hash: t } = window.location;
- Eat.has(e) && d5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
- n.live && fk("/data-cleanup#libraryProcessing", {
+ Dat.has(e) && d5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
+ n.live && dk("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
@@ -99037,19 +99045,19 @@ async function Dat(e, t, n) {
}
function p5({ path: e }) {
let t = Cz();
- TO();
- let n = LO(dk.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
+ wO();
+ let n = IO(uk.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
!n && (!i.current || r.current === null) && (r.current = t), i.current = n;
let a = e.startsWith("/settings/") ? "/settings/configuration" : e;
- return /* @__PURE__ */ (0, x.jsx)(Oat, {
+ return /* @__PURE__ */ (0, x.jsx)(kat, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function Oat({ path: e, covered: t }) {
- let n = (0, b.useContext)(wz), r = bat(), i = (0, b.useRef)(null);
+function kat({ path: e, covered: t }) {
+ let n = (0, b.useContext)(wz), r = xat(), i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
- e.startsWith("/settings/") && nk(document.getElementById("stats"), { section: cme(e) });
+ e.startsWith("/settings/") && tk(document.getElementById("stats"), { section: lme(e) });
}, [e]), (0, b.useEffect)(() => {
if (t || !n || !r || i.current) return;
let a = {
@@ -99058,7 +99066,7 @@ function Oat({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && Dat(e, n, a);
+ a.live && Oat(e, n, a);
});
}, [r]), (0, b.useEffect)(() => () => {
let e = i.current;
@@ -99066,18 +99074,18 @@ function Oat({ path: e, covered: t }) {
e.live = !1, e.controller.abort();
let t = document.getElementById("stats");
queueMicrotask(() => {
- t && e.revision && !t.hidden && ZO(t)?.revision === e.revision && rk(t);
+ t && e.revision && !t.hidden && XO(t)?.revision === e.revision && nk(t);
});
}, []), null;
}
-function kat() {
- let e = bat(), t = (0, b.useRef)(!1);
+function Aat() {
+ let e = xat(), t = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
- if (!e || t.current || LO(dk.navigation.location.pathname)) return;
+ if (!e || t.current || IO(uk.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (c5 = !0, fk("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (c5 = !0, dk("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -99085,7 +99093,7 @@ function kat() {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function Aat(e, t, n) {
+function jat(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
@@ -99095,8 +99103,8 @@ function Aat(e, t, n) {
}
var m5 = (e) => ({
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: e }),
- prefetch: (e, t) => Xke(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(dje, {
+ prefetch: (e, t) => Zke(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(fje, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
@@ -99104,8 +99112,8 @@ var m5 = (e) => ({
}), h5 = {
"/jav": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/jav" }),
- prefetch: (e, t) => NOe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(IOe, {
+ prefetch: (e, t) => POe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(LOe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
@@ -99113,8 +99121,8 @@ var m5 = (e) => ({
},
"/stats": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/stats" }),
- prefetch: (e, t) => pPe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(gnt, {
+ prefetch: (e, t) => mPe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(_nt, {
tagLabel: pc,
onTag: t.openTag,
configurable: e.configurable,
@@ -99125,8 +99133,8 @@ var m5 = (e) => ({
},
"/taste": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/taste" }),
- prefetch: (e, t) => Ynt("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Tit, {
+ prefetch: (e, t) => Xnt("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Eit, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -99135,8 +99143,8 @@ var m5 = (e) => ({
},
"/review": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/review" }),
- prefetch: (e, t) => dxe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(yke, {
+ prefetch: (e, t) => fxe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(bke, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -99147,17 +99155,17 @@ var m5 = (e) => ({
},
"/data-cleanup": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/data-cleanup" }),
- prefetch: (e, t) => Zxe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(uCe, {
+ prefetch: (e, t) => Qxe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(dCe, {
failure: t.failure,
- open: (e) => Aat(e, t, n),
+ open: (e) => jat(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/duplicates" }),
- prefetch: (e, t) => Obe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(rEe, {
+ prefetch: (e, t) => kbe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(iEe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
@@ -99165,19 +99173,19 @@ var m5 = (e) => ({
},
"/quality-goals": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/quality-goals" }),
- prefetch: (e, t) => Kbe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(nke, {
+ prefetch: (e, t) => qbe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(rke, {
openItem: t.openItem,
- javTitleHtml: gk,
- javDisplayName: hk,
+ javTitleHtml: hk,
+ javDisplayName: mk,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
})
},
"/sources": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/sources" }),
- prefetch: (e, t) => Eke(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Bke, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => Dke(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Vke, { toast: (e) => t.toast(e) })
},
"/settings/library": m5("/settings/library"),
"/settings/subscriptions": m5("/settings/subscriptions"),
@@ -99186,25 +99194,25 @@ var m5 = (e) => ({
"/settings/maintenance": m5("/settings/maintenance"),
"/diagnostics": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/diagnostics" }),
- prefetch: (e, t) => iEe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(cEe, {
+ prefetch: (e, t) => aEe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(lEe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
configure: (e) => {
- t.requestConfigurationSection(e), n(PO(e));
+ t.requestConfigurationSection(e), n(NO(e));
}
})
},
"/tasks": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/tasks" }),
- prefetch: (e, t) => Lge(t),
- page: () => /* @__PURE__ */ (0, x.jsx)(r_e, {})
+ prefetch: (e, t) => Rge(t),
+ page: () => /* @__PURE__ */ (0, x.jsx)(i_e, {})
},
"/subscriptions": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/subscriptions" }),
prefetch: (e, t) => Ar(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(xDe, {
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(SDe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -99213,11 +99221,11 @@ var m5 = (e) => ({
openServiceConfiguration: () => t.navigate("/settings/subscriptions")
})
}
-}, g5 = (e) => Object.hasOwn(h5, e), jat = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(kat, {}) } }, Mat = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(_at, {}) } }, _5 = {
+}, g5 = (e) => Object.hasOwn(h5, e), Mat = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Aat, {}) } }, Nat = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(vat, {}) } }, _5 = {
"/playlists": {
- element: /* @__PURE__ */ (0, x.jsx)(mat, {}),
- prefetch: (e, t) => HOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(eke, {
+ element: /* @__PURE__ */ (0, x.jsx)(hat, {}),
+ prefetch: (e, t) => UOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(tke, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -99226,14 +99234,14 @@ var m5 = (e) => ({
})
},
"/follow": {
- element: /* @__PURE__ */ (0, x.jsx)(dat, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(fat, {}),
prefetch: (e, t) => Qr(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(dwe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(fwe, { ...e })
}
-}, Nat = (e) => Object.hasOwn(_5, e), v5 = {
- element: /* @__PURE__ */ (0, x.jsx)(Wit, {}),
- prefetch: (e, t) => jCe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(LDe, {
+}, Pat = (e) => Object.hasOwn(_5, e), v5 = {
+ element: /* @__PURE__ */ (0, x.jsx)(Git, {}),
+ prefetch: (e, t) => MCe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(RDe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -99253,9 +99261,9 @@ var m5 = (e) => ({
"/agencies": v5,
"/tags": v5
}, b5 = {
- element: /* @__PURE__ */ (0, x.jsx)(Zit, {}),
- prefetch: (e) => yCe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(qTe, { ...e })
+ element: /* @__PURE__ */ (0, x.jsx)(Qit, {}),
+ prefetch: (e) => bCe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(JTe, { ...e })
}, x5 = {
"/performers/*": b5,
"/studios/*": b5,
@@ -99265,62 +99273,62 @@ var m5 = (e) => ({
"/tags/*": b5
}, S5 = {
"/": {
- element: /* @__PURE__ */ (0, x.jsx)(oat, {}),
- prefetch: (e, t) => Eue(e, t),
+ element: /* @__PURE__ */ (0, x.jsx)(sat, {}),
+ prefetch: (e, t) => Due(e, t),
page: (e) => /* @__PURE__ */ (0, x.jsx)(TF, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, x.jsx)(oat, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(sat, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(QDe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)($De, { ...e })
}
-}, Pat = (e) => Object.hasOwn(S5, e), Fat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(BOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(OL, { ...e }), Iat = {
+}, Fat = (e) => Object.hasOwn(S5, e), Iat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(VOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(OL, { ...e }), Lat = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Cye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(wye, { ...e })
},
"feed-new": {
- prefetch: (e) => hCe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(lEe, { ...e })
+ prefetch: (e) => gCe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(uEe, { ...e })
},
"library-processing": {
prefetch: (e, t) => RF(t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Fat, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Iat, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Gke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Kke, { ...e })
}
-}, Lat = (e) => Object.hasOwn(Iat, e), Rat = {
+}, Rat = (e) => Object.hasOwn(Lat, e), zat = {
"batch-dock": {
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, x.jsx)(Dce, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(ule, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(dle, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(wfe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Tfe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(ufe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(dfe, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(jje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Mje, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Gje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Kje, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(dPe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(fPe, {})
}
-}, zat = (e) => Object.hasOwn(Rat, e), Bat = [
+}, Bat = (e) => Object.hasOwn(zat, e), Vat = [
"/",
"/wall",
"/unseen",
@@ -99334,40 +99342,40 @@ var m5 = (e) => ({
...Object.keys(_5),
...Object.keys(y5),
...Object.keys(x5),
- ...Bat
+ ...Vat
];
-var Vat = (e) => g5(e) || Nat(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || Pat(e) || Lat(e) || zat(e);
-function Hat(e) {
- return g5(e) ? h5[e] : Nat(e) ? _5[e] : Pat(e) ? S5[e] : Lat(e) ? Iat[e] : zat(e) ? Rat[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];
+var Hat = (e) => g5(e) || Pat(e) || Object.hasOwn(y5, e) || Object.hasOwn(x5, e) || Fat(e) || Rat(e) || Bat(e);
+function Uat(e) {
+ return g5(e) ? h5[e] : Pat(e) ? _5[e] : Fat(e) ? S5[e] : Rat(e) ? Lat[e] : Bat(e) ? zat[e] : Object.hasOwn(y5, e) ? y5[e] : x5[e];
}
-function Uat(e, t, n) {
- return Vat(e) ? Hat(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function Wat(e, t, n) {
+ return Hat(e) ? Uat(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function Wat(e, t, n, r) {
- return Hat(e).page(t, n, r);
+function Gat(e, t, n, r) {
+ return Uat(e).page(t, n, r);
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function Gat(e) {
+function Kat(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var Kat = (e) => {
+var qat = (e) => {
switch (e) {
- case "success": return Yat;
- case "info": return Zat;
- case "warning": return Xat;
- case "error": return Qat;
+ case "success": return Xat;
+ case "info": return Qat;
+ case "warning": return Zat;
+ case "error": return $at;
default: return null;
}
-}, qat = Array(12).fill(0), Jat = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {
+}, Jat = Array(12).fill(0), Yat = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, qat.map((e, t) => /*#__PURE__*/ b.createElement("div", {
+}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, Jat.map((e, t) => /*#__PURE__*/ b.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Yat = /*#__PURE__*/ b.createElement("svg", {
+})))), Xat = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -99378,7 +99386,7 @@ var Kat = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), Xat = /*#__PURE__*/ b.createElement("svg", {
+})), Zat = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -99389,7 +99397,7 @@ var Kat = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), Zat = /*#__PURE__*/ b.createElement("svg", {
+})), Qat = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -99400,7 +99408,7 @@ var Kat = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), Qat = /*#__PURE__*/ b.createElement("svg", {
+})), $at = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -99411,7 +99419,7 @@ var Kat = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), $at = /*#__PURE__*/ b.createElement("svg", {
+})), eot = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -99432,7 +99440,7 @@ var Kat = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), eot = () => {
+})), tot = () => {
let [e, t] = b.useState(document.hidden);
return b.useEffect(() => {
let e = () => {
@@ -99440,7 +99448,7 @@ var Kat = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, tot = 1, not = 100, rot = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : tot++, C5 = new class {
+}, not = 1, rot = 100, iot = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : not++, C5 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -99450,10 +99458,10 @@ var Kat = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - not;
+ let e = this.toasts.length - rot;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
- let { message: t, ...n } = e, r = rot(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = iot(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -99528,7 +99536,7 @@ var Kat = (e) => {
type: "default",
message: e
});
- else if (aot(e) && !e.ok) {
+ else if (oot(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !b.isValidElement(r) ? r : { message: r };
this.create({
@@ -99572,7 +99580,7 @@ var Kat = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = rot(t);
+ let n = iot(t);
return this.create({
...t,
jsx: e(n),
@@ -99581,7 +99589,7 @@ var Kat = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), iot = (e, t) => C5.message(e, t), aot = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", oot = Object.assign(iot, {
+}(), aot = (e, t) => C5.message(e, t), oot = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", sot = Object.assign(aot, {
success: C5.success,
info: C5.info,
warning: C5.warning,
@@ -99595,20 +99603,20 @@ var Kat = (e) => {
getHistory: () => C5.toasts,
getToasts: () => C5.getActiveToasts()
});
-Gat("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+Kat("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function w5(e) {
return e.label !== void 0;
}
-var sot = 3, cot = "24px", lot = "16px", uot = 4e3, dot = 356, fot = 14, pot = 45, mot = 200;
+var cot = 3, lot = "24px", uot = "16px", dot = 4e3, fot = 356, pot = 14, mot = 45, hot = 200;
function T5(...e) {
return e.filter(Boolean).join(" ");
}
-function hot(e) {
+function got(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var got = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, I] = b.useState(!1), [ne, re] = b.useState(!1), [ie, ae] = b.useState(0), [oe, se] = b.useState(0), ce = b.useRef(n.duration || y || uot), le = b.useRef(null), ue = b.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = b.useMemo(() => n.duration || y || uot, [n.duration, y]), xe = b.useRef(0), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(null), [Te, Ee] = x.split("-"), De = b.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = eot(), ke = b.useMemo(() => e.swipeDirections ?? hot(x), [e.swipeDirections, x]), Ae = n.invert || t, je = pe === "loading";
+var _ot = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, I] = b.useState(!1), [ne, re] = b.useState(!1), [ie, ae] = b.useState(0), [oe, se] = b.useState(0), ce = b.useRef(n.duration || y || dot), le = b.useRef(null), ue = b.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = b.useMemo(() => n.duration || y || dot, [n.duration, y]), xe = b.useRef(0), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(null), [Te, Ee] = x.split("-"), De = b.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = tot(), ke = b.useMemo(() => e.swipeDirections ?? got(x), [e.swipeDirections, x]), Ae = n.invert || t, je = pe === "loading";
Se.current = b.useMemo(() => ve * S + De, [ve, De]), b.useEffect(() => {
ce.current = be;
}, [be]), b.useEffect(() => {
@@ -99649,7 +99657,7 @@ var got = (e) => {
let Me = b.useCallback(() => {
P(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, mot);
+ }, hot);
}, [
n,
d,
@@ -99682,12 +99690,12 @@ var got = (e) => {
return T?.loading ? /*#__PURE__*/ b.createElement("div", {
className: T5(w?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": pe === "loading"
- }, T.loading) : /*#__PURE__*/ b.createElement(Jat, {
+ }, T.loading) : /*#__PURE__*/ b.createElement(Yat, {
className: T5(w?.loader, n?.classNames?.loader),
visible: pe === "loading"
});
}
- let Pe = n.icon || T?.[pe] || Kat(pe);
+ let Pe = n.icon || T?.[pe] || qat(pe);
return /*#__PURE__*/ b.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -99734,7 +99742,7 @@ var got = (e) => {
if (te || !he) return;
we.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;
- if ((D === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= pot || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);
+ if ((D === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= mot || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);
else {
var o, s;
(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), F(!1), O(null);
@@ -99774,7 +99782,7 @@ var got = (e) => {
Me(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: T5(w?.closeButton, n?.classNames?.closeButton)
- }, T?.close ?? $at) : null, (pe || n.icon || n.promise) && n.icon !== null && (T?.[pe] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {
+ }, T?.close ?? eot) : null, (pe || n.icon || n.promise) && n.icon !== null && (T?.[pe] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {
"data-icon": "",
className: T5(w?.icon, n?.classNames?.icon)
}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ b.createElement("div", {
@@ -99804,15 +99812,15 @@ var got = (e) => {
className: T5(w?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function _ot() {
+function vot() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function vot(e, t) {
+function yot(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? lot : cot;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? uot : lot;
function o(e) {
[
"top",
@@ -99833,8 +99841,8 @@ function vot(e, t) {
}) : o(a);
}), n;
}
-var yot = /*#__PURE__*/ b.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = sot, toastOptions: g, dir: _ = _ot(), gap: v = fot, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), I = b.useRef(!1), ne = b.useCallback((e) => {
+var bot = /*#__PURE__*/ b.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = cot, toastOptions: g, dir: _ = vot(), gap: v = pot, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), I = b.useRef(!1), ne = b.useCallback((e) => {
w((t) => (t.find((t) => t.id === e.id)?.delete || C5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return b.useEffect(() => C5.subscribe((e) => {
@@ -99906,7 +99914,7 @@ var yot = /*#__PURE__*/ b.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return T.length ? /*#__PURE__*/ b.createElement("ol", {
key: t,
- dir: _ === "auto" ? _ot() : _,
+ dir: _ === "auto" ? vot() : _,
tabIndex: -1,
ref: ee,
className: c,
@@ -99916,10 +99924,10 @@ var yot = /*#__PURE__*/ b.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${D[0]?.height || 0}px`,
- "--width": `${dot}px`,
+ "--width": `${fot}px`,
"--gap": `${v}px`,
...m,
- ...vot(l, u)
+ ...yot(l, u)
},
onBlur: (e) => {
I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));
@@ -99937,7 +99945,7 @@ var yot = /*#__PURE__*/ b.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(got, {
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(_ot, {
key: n.id,
icons: y,
index: i,
@@ -99967,23 +99975,23 @@ var yot = /*#__PURE__*/ b.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), bot = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), xot = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
}), E5 = null;
-function xot() {
+function Sot() {
let e = E5;
E5 = null, e?.root.unmount();
}
-var Sot = (e, t) => {
+var Cot = (e, t) => {
if (E5?.host === e) return;
- xot();
+ Sot();
let n = (0, ht.createRoot)(e);
E5 = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, x.jsx)(yot, {
+ }, n.render(/* @__PURE__ */ (0, x.jsx)(bot, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -100000,16 +100008,16 @@ var Sot = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: bot(t.success, !0),
- error: bot(t.error, !1)
+ success: xot(t.success, !0),
+ error: xot(t.error, !1)
}
}));
-}, Cot = 6e3, wot = (e, t) => {
+}, wot = 6e3, Tot = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? oot.error : oot.success, r = t.action;
+ let n = t.alert ? sot.error : sot.success, r = t.action;
n(/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
- duration: t.timeout > 0 ? t.timeout : Cot,
+ duration: t.timeout > 0 ? t.timeout : wot,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -100018,82 +100026,82 @@ var Sot = (e, t) => {
} : void 0
});
}, D5 = null, O5 = null, k5 = 0, A5 = /* @__PURE__ */ new Set();
-function Tot(e) {
+function Eot(e) {
return D5 = e, O5 && e(O5), () => {
D5 === e && (D5 = null);
};
}
-function Eot(e) {
- return D5 && (O5 = e, D5(e), vme(Promise.resolve(Uat))), Promise.resolve();
+function Dot(e) {
+ return D5 && (O5 = e, D5(e), yme(Promise.resolve(Wat))), Promise.resolve();
}
async function j5(e, t, n = (e) => e) {
let r = k5;
- if (t.isConnected || A5.add(t), !await tk(e, {}, {
+ if (t.isConnected || A5.add(t), !await ek(e, {}, {
container: t,
resident: !0,
isCurrent: () => !!D5 && r === k5,
place: () => n(t)
}) || r !== k5 || !D5) throw new DOMException("应用已卸载", "AbortError");
}
-function Dot() {
+function Oot() {
k5 += 1, D5 = null, O5 = null, M5 = null, N5 = null, I5 = null, L5 = null, z5 = null, B5 = null, V5 = null, H5 = null, W5 = null, G5 = null, K5 = null, q5 = null, J5 = null;
for (let e of A5) e.remove();
- A5.clear(), xot();
+ A5.clear(), Sot();
}
var M5 = null, N5 = null;
function P5(e) {
return M5 ??= (async () => {
- let t = uPe(e), n = document.createElement("div");
+ let t = dPe(e), n = document.createElement("div");
return n.dataset.stageHost = "", await j5("stage", n, (e) => (document.body.append(e), e)), N5 = t, t;
})(), M5;
}
var F5 = () => N5, I5 = null, L5 = null;
-function Oot(e) {
+function kot(e) {
return I5 ??= (async () => {
- let t = lfe(e), n = document.createElement("div");
+ let t = ufe(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await j5("immerse", n, (e) => (document.body.append(e), e)), L5 = t, t;
})(), I5;
}
var R5 = () => L5, z5 = null, B5 = null;
-function kot(e) {
+function Aot(e) {
return z5 ??= (async () => {
- let t = Aje(e), n = document.createElement("div");
+ let t = jje(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await j5("settings-panel", n, (e) => (document.body.append(e), e)), B5 = t, t;
})(), z5;
}
-var Aot = () => B5, V5 = null, H5 = null;
-function jot(e) {
+var jot = () => B5, V5 = null, H5 = null;
+function Mot(e) {
return V5 ??= (async () => {
- let t = Wje(e);
+ let t = Gje(e);
return await j5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), H5 = t, t;
})(), V5;
}
var U5 = () => H5, W5 = null, G5 = null;
-function Mot(e) {
+function Not(e) {
return W5 ??= (async () => {
- let t = Cfe(e);
+ let t = wfe(e);
return await j5("manage-header", e.root, (e) => (e.replaceChildren(), e)), G5 = t, t;
})(), W5;
}
-var Not = () => G5, K5 = null, q5 = null;
-function Pot(e) {
+var Pot = () => G5, K5 = null, q5 = null;
+function Fot(e) {
return K5 ??= (async () => {
let t = Ece(e);
return await j5("batch-dock", e.root), q5 = t, t;
})(), K5;
}
-var Fot = () => q5, J5 = null;
-function Iot(e) {
+var Iot = () => q5, J5 = null;
+function Lot(e) {
return J5 ??= (async () => {
- lle(e), await j5("glow-picker", e.root);
+ ule(e), await j5("glow-picker", e.root);
})(), J5;
}
-function Lot(e, t, n, r) {
- Sot(e, t), wot(n, r);
+function Rot(e, t, n, r) {
+ Cot(e, t), Tot(n, r);
}
//#endregion
//#region src/application/effects.ts
-var Rot = class {
+var zot = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -100174,9 +100182,9 @@ var Rot = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, Y5 = new Rot();
-function zot() {
- return Y5.dispose(), Y5 = new Rot(), Y5;
+}, Y5 = new zot();
+function Bot() {
+ return Y5.dispose(), Y5 = new zot(), Y5;
}
//#endregion
//#region src/application/receipts.js
@@ -100190,10 +100198,10 @@ var X5 = {
rollSeed: void 0,
seededSample: void 0
};
-function Bot() {
+function Vot() {
X5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), X5.toastSeq = 0, X5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
let a = `toast-${++X5.toastSeq}`, o = (e, t, n, r) => {
- Aa(i || (t ? "error" : "success")), Lot(L("#toasts"), {
+ Aa(i || (t ? "error" : "success")), Rot(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -100235,7 +100243,7 @@ function Bot() {
}
//#endregion
//#region src/react/catalog-grid/catalog-state.ts
-var Vot = [
+var Hot = [
"loc",
"creator",
"studio",
@@ -100252,10 +100260,10 @@ var Vot = [
"q",
"jav"
];
-function Hot(e, t, n, r = n.defaultSort) {
+function Uot(e, t, n, r = n.defaultSort) {
return AT(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function Uot(e, t, n) {
+function Wot(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Nt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -100270,25 +100278,25 @@ function Uot(e, t, n) {
orient: o("orient") || "",
region: o("region") || "",
state: jt[r] || o("state") || "",
- ...Hot(o("sort"), o("dir"), t),
+ ...Uot(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
thumb: o("thumb") || "0"
};
}
-function Wot(e, t) {
+function Got(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function Got(e) {
+function Kot(e) {
let t = At[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of Vot) {
+ for (let t of Hot) {
let r = e[t];
r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== DT(e.sort ?? "")) && n.set(t, r);
}
return !At[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function Kot(e, t, n) {
+function qot(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -100310,7 +100318,7 @@ function Kot(e, t, n) {
thumb: "0"
};
}
-function qot(e) {
+function Jot(e) {
return {
state: e,
barsContext: {
@@ -100322,7 +100330,7 @@ function qot(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-controller.ts
-var Jot = class {
+var Yot = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -100367,39 +100375,39 @@ var Jot = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, Z5 = 3e4, Q5 = 0, Yot = (e, t = Q5) => [
+}, Z5 = 3e4, Q5 = 0, Xot = (e, t = Q5) => [
"facets",
e,
t
-], Xot = (e, t, n = Q5) => [
+], Zot = (e, t, n = Q5) => [
"tops",
e,
t,
n
-], Zot = (e, t = Q5) => [
+], Qot = (e, t = Q5) => [
"tops",
e,
t
];
-async function Qot(e) {
+async function $ot(e) {
let t = String(e), n = await Dt(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Dt(`/api/tops?${r}`));
}
-function $ot(e, t) {
+function est(e, t) {
return Promise.all([U.fetchQuery({
- queryKey: Yot(e),
+ queryKey: Xot(e),
queryFn: () => Dt(`/api/facets${e ? `?${e}` : ""}`),
staleTime: Z5
}), U.fetchQuery({
- queryKey: Xot(t, e),
- queryFn: () => Qot(t),
+ queryKey: Zot(t, e),
+ queryFn: () => $ot(t),
staleTime: Z5
})]);
}
-function est(e) {
+function tst(e) {
return U.fetchQuery({
- queryKey: Zot(e),
- queryFn: () => Qot(e),
+ queryKey: Qot(e),
+ queryFn: () => $ot(e),
staleTime: Z5
});
}
@@ -100416,7 +100424,7 @@ function $5() {
}
//#endregion
//#region src/application/navigation-items.ts
-var tst = [
+var nst = [
[
"",
"首页",
@@ -100513,18 +100521,18 @@ var tst = [
"Peach 配置",
"folder-cog"
]
-], nst = [
+], rst = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], rst = (e) => e7.filter(([t]) => nst.includes(t) && (t !== "configuration" || e)), ist = e7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], ist = (e) => e7.filter(([t]) => rst.includes(t) && (t !== "configuration" || e)), ast = e7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), ast = [...tst, ...ist], ost = {
+]]), ost = [...nst, ...ast], sst = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -100535,11 +100543,11 @@ var tst = [
};
//#endregion
//#region src/react/index/index-controller.ts
-function sst({ kind: e, q: t, scope: n, view: r, category: i }) {
+function cst({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function cst(e, t, n) {
+function lst(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: ia(e.k, r ? {
@@ -100552,20 +100560,20 @@ function cst(e, t, n) {
face: oa(e.avatar_focus)
};
}
-function lst(e) {
+function ust(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Mi({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function ust(e) {
+function dst(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(bi(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(sst(t), n);
+ e.route(cst(t), n);
},
- personAvatar: cst,
- authorAvatar: lst,
+ personAvatar: lst,
+ authorAvatar: ust,
openFollowAuthor(n) {
t(xi(e.followView(), n));
},
@@ -100576,27 +100584,27 @@ function ust(e) {
}
//#endregion
//#region src/react/follow-manage/manage-route.ts
-var dst = [
+var fst = [
"list",
"add",
"feeds"
];
-function fst(e) {
+function pst(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: dst.find((e) => e === n) || "list",
+ tab: fst.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function pst(e) {
+function mst(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");
}
-function mst(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : pst({
- tab: t || fst(e).tab,
+function hst(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : mst({
+ tab: t || pst(e).tab,
page: 1,
sort: "",
dir: ""
@@ -100604,7 +100612,7 @@ function mst(e, t) {
}
//#endregion
//#region src/application/source-action.ts
-function hst(e) {
+function gst(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -100621,7 +100629,7 @@ function hst(e) {
//#endregion
//#region src/react/entity-page/entity-route.ts
var t7 = () => Object.fromEntries(nR.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function gst(e, t) {
+function _st(e, t) {
let n = new URLSearchParams(e), r = t7();
for (let e of nR) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
@@ -100629,27 +100637,27 @@ function gst(e, t) {
...AT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function _st(e) {
+function vst(e) {
let t = new URLSearchParams();
for (let n of nR) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== DT(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
-function vst(e) {
+function yst(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function yst(e, t) {
- let n = new URLSearchParams(_st(e));
+function bst(e, t) {
+ let n = new URLSearchParams(vst(e));
return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();
}
-function bst(e, t, n, r) {
- let i = yst(n, r);
+function xst(e, t, n, r) {
+ let i = bst(n, r);
return It(e, t) + (i ? `?${i}` : "");
}
-function xst() {
+function Sst() {
let e = "";
return {
fresh(t, n) {
@@ -100658,23 +100666,23 @@ function xst() {
read(t, n, r, i) {
let a = e === It(t, n) && !r;
e = "";
- let o = a ? t7() : { ...gst(r, i) };
+ let o = a ? t7() : { ..._st(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : vst(r)
+ } : yst(r)
};
}
};
}
//#endregion
//#region src/react/entity-page/photo-surface.ts
-function Sst(e, t) {
+function Cst(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function Cst(e) {
+function wst(e) {
let t = () => {
let t = e.preferences();
for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);
@@ -100697,12 +100705,12 @@ function Cst(e) {
}
//#endregion
//#region src/react/entity-page/entity-controller.ts
-function wst(e, t, n) {
+function Tst(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(bst(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(xst(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -100781,7 +100789,7 @@ function wst(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-loading.ts
-function Tst(e) {
+function Est(e) {
return async (t, n, r) => {
!e.shapesReady() && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -100790,7 +100798,7 @@ function Tst(e) {
}
//#endregion
//#region src/react/entity-page/entity-portrait.ts
-function Est(e, t) {
+function Dst(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? ra({
kind: e,
id: t.id,
@@ -100812,11 +100820,11 @@ function Est(e, t) {
}
//#endregion
//#region src/react/entity-page/entity-application.ts
-function Dst(e) {
- let t = xst(), n = {
+function Ost(e) {
+ let t = Sst(), n = {
...e.helpers,
- portraitImg: Est
- }, r = wst(e.controller, n, e.actions);
+ portraitImg: Dst
+ }, r = Tst(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -100825,13 +100833,13 @@ function Dst(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: Tst(e.loading),
- photos: Cst(e.photos)
+ loading: Est(e.loading),
+ photos: wst(e.photos)
};
}
//#endregion
//#region src/card-art/feed-identity.ts
-function Ost(e) {
+function kst(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {
let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : ia(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(It("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -100854,11 +100862,11 @@ var n7 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function kst(e) {
+function Ast(e) {
return e.has_cover ? la(e, "big") : e.cover_url ? la({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";
}
-function Ast(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = kst(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? gk({
+function jst(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = Ast(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? hk({
is_jav: !0,
code: e.code,
name: e.code,
@@ -100870,17 +100878,17 @@ function Ast(e) {
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>
- <div class="meta">${Ost(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${kst(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
async function r7() {
let e = Y5, t = await Dt("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Wt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && jst(L("#feedNew"))), n7.entityShapes;
+ return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Wt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && Mst(L("#feedNew"))), n7.entityShapes;
}
-function jst(e) {
- !e || QO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
+function Mst(e) {
+ !e || ZO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
}
-function Mst(e, t) {
+function Nst(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : _o(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -100888,22 +100896,22 @@ function Mst(e, t) {
actionHref: "/sources"
});
}
-function Nst(e) {
+function Pst(e) {
let t = e && !e.error && e.items || [];
- return Mst(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Ast).join("")}</div>`;
+ return Nst(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(jst).join("")}</div>`;
}
-function Pst(e) {
+function Fst(e) {
e && (_9(e), Z.appSettings.feedAutoScroll && as(e));
}
function i7(e) {
return Nt(e) && e !== "/junk-files";
}
-function Fst(e) {
+function Ist(e) {
return Nt(e) && e !== "/junk-files";
}
-function Ist() {
+function Lst() {
let e = L("#feedNew");
- QO(e) ? nk(e, { revision: ++n7.feedRevision }) : (jst(e), tk("feed-new", {
+ ZO(e) ? tk(e, { revision: ++n7.feedRevision }) : (Mst(e), ek("feed-new", {
host: e,
revision: n7.feedRevision,
helpers: n7.feedNewHelpers,
@@ -100915,30 +100923,30 @@ function Ist() {
}
function a7() {
let e = L("#feedNew");
- e.querySelectorAll(".feednewrow").forEach(os), rk(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
-}
-function Lst() {
- n7.feedRevision += 1, nk(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
+ e.querySelectorAll(".feednewrow").forEach(os), nk(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
function Rst() {
+ n7.feedRevision += 1, tk(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
+}
+function zst() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? as(e) : os(e));
}
-function zst([e]) {
+function Bst([e]) {
L("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= n7.HERO_WIDE_PX);
}
-function Bst() {
+function Vst() {
n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${iE}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
<div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(n7.FEED_SKELETON_CARDS)}</div>`, n7.entityShapes = null, n7.hasEntityPart = (e, t, n) => !!t && !!n7.entityShapes?.get(`${e}/${Wt(t)}`)?.includes(n), n7.feedNewSkeletonSection = () => `<section class="feednew">${n7.feedNewSkeletonHtml()}</section>`, n7.COSTAR_SKELETON_PEOPLE = 12, n7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(n7.COSTAR_SKELETON_PEOPLE)}</div></div>`, n7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n7.feedRevision = 0, n7.feedNewHelpers = {
- feedRowHtml: Nst,
- wireFeedRow: (e) => Pst(e)
+ feedRowHtml: Pst,
+ wireFeedRow: (e) => Fst(e)
}, n7.feedNewActions = { settled: (e) => {
X.homeHasFeed = e;
- } }, n7.HERO_WIDE_PX = 900, Y5.resize(zst).observe(L("#index"));
+ } }, n7.HERO_WIDE_PX = 900, Y5.resize(Bst).observe(L("#index"));
}
//#endregion
//#region src/entity-skeleton.ts
-function Vst(e, t, n) {
+function Hst(e, t, n) {
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true">
<section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>
@@ -100978,11 +100986,11 @@ var o7 = {
application: void 0
};
function s7() {
- let e = ZO(L("#index"));
+ let e = XO(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
function c7(e) {
- o7.entityPageCurrent() && nk(L("#index"), e);
+ o7.entityPageCurrent() && tk(L("#index"), e);
}
function l7() {
if (wc.type === "item") return wc;
@@ -100998,8 +101006,8 @@ function l7() {
}
return wc;
}
-function Hst(e, t, n = V7()) {
- return Zct(n).map(([n, r]) => {
+function Ust(e, t, n = V7()) {
+ return Qct(n).map(([n, r]) => {
let i = e === n, a = OT(n, e, t);
return {
key: n,
@@ -101014,7 +101022,7 @@ function u7(e, t, n, r = o7.EMPTY_ENTITY_MEDIA, i = {}) {
return o7.application.route(e, t, n, r, i);
}
function d7() {
- return Sst({
+ return Cst({
entityWall: o7.entityPageWall,
entityCurrent: o7.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -101026,13 +101034,13 @@ function d7() {
function f7() {
o7.photos.sync();
}
-function Ust() {
+function Wst() {
d7() ? nle(uE()) : xE();
}
-function Wst(e) {
+function Gst(e) {
o7.photos.setSize(e);
}
-var Gst = hst({
+var Kst = gst({
request: (e) => Dt("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
@@ -101040,20 +101048,20 @@ var Gst = hst({
success: () => X5.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => o7.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function Kst(e) {
+async function qst(e) {
let t = { textContent: "" };
- return await Gst(e, t), t.textContent;
+ return await Kst(e, t), t.textContent;
}
-async function qst(e) {
+async function Jst(e) {
let t = { textContent: "" }, n = [];
- return await Jst(e, t, (e) => {
+ return await Yst(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function Jst(e, t, n) {
+async function Yst(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await Dt("/api/purge-missing", {
@@ -101083,17 +101091,17 @@ async function Jst(e, t, n) {
t.textContent = o7.sourceHint(e.message), X5.actionFailure("核对目录", e);
}
}
-function Yst(e) {
+function Xst(e) {
return `<div class="srctools">${o7.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function Xst(e, t) {
+function Zst(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && Y5.handler(r, "onclick", () => Gst(Number(r.dataset.reveal), n, { button: r })), i && Y5.handler(i, "onclick", () => Jst(Number(i.dataset.sync), n, t));
+ r && Y5.handler(r, "onclick", () => Kst(Number(r.dataset.reveal), n, { button: r })), i && Y5.handler(i, "onclick", () => Yst(Number(i.dataset.sync), n, t));
}
-async function Zst(e, t) {
+async function Qst(e, t) {
let n = Cs({
title: "添加别名",
description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",
@@ -101131,8 +101139,8 @@ async function Zst(e, t) {
});
} }) : X5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
}
-function Qst(e, t) {
- let n = Vst(e, ho({
+function $st(e, t) {
+ let n = Hst(e, ho({
readout: "&nbsp;",
loading: !0,
filterRow: "bottom"
@@ -101150,14 +101158,14 @@ function p7(e, t) {
};
r(n.querySelector(".entityfoot"), e !== "agency" && n7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", n7.costarSkeletonFoot())), r(n.querySelector(".feednew"), n7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", n7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && n7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", n7.factsSkeleton()));
}
-function $st(e) {
+function ect(e) {
let t = Pt[e] || e, n = e5[t] || "条目", r = e5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
function m7(e, t) {
j9(o7.application.fresh(e, t));
}
-function ect() {
+function tct() {
o7.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -101168,10 +101176,10 @@ function ect() {
"orient",
"sort",
"dir"
- ], o7.emptyEntityFilters = t7, o7.parseEntityFilters = (e) => gst(e, {
+ ], o7.emptyEntityFilters = t7, o7.parseEntityFilters = (e) => _st(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), o7.entityFilterSearch = _st, o7.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), o7.entityFilterSearch = vst, o7.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, o7.activeFilterState = () => {
@@ -101179,29 +101187,29 @@ function ect() {
return e.type === "home" ? W : e.filters;
}, L("#q").value = W.q, X.rememberSearchValue();
}
-function tct() {
+function nct() {
o7.entityPageView = "", o7.entityPageWall = !1, o7.entityPageRevision = 0, o7.entityPageCurrent = () => !!s7(), o7.entityPageLive = (e, t) => {
let n = s7();
return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;
}, o7.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, o7.parseMediaView = vst, o7.entityViewSearch = yst, o7.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, o7.entityBodySkeleton = () => f9(), o7.entityPageHelpers = {
+ }, o7.parseMediaView = yst, o7.entityViewSearch = bst, o7.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, o7.entityBodySkeleton = () => f9(), o7.entityPageHelpers = {
wireDrag: (e) => {
e && _9(e);
},
wireScroller: (e) => {
e && Qo(e);
},
- wireFeedRow: (e) => Pst(e),
- feedRowHtml: Nst,
+ wireFeedRow: (e) => Fst(e),
+ feedRowHtml: Pst,
receipt: (e, t) => X5.actionReceipt(e, t),
failure: (e, t) => X5.actionFailure(e, t),
- aliasForm: (e, t) => Zst(e, t),
- sourceToolsHtml: (e) => Yst(e),
- wireSourceTools: (e, t) => Xst(e, t),
- comboItems: (e) => Nlt(e),
- sortKeys: (e, t, n) => Hst(e, t, n)
+ aliasForm: (e, t) => Qst(e, t),
+ sourceToolsHtml: (e) => Xst(e),
+ wireSourceTools: (e, t) => Zst(e, t),
+ comboItems: (e) => Plt(e),
+ sortKeys: (e, t, n) => Ust(e, t, n)
}, o7.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -101224,8 +101232,8 @@ function tct() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function nct() {
- o7.application = Dst({
+function rct() {
+ o7.application = Ost({
controller: {
context: () => {
let e = l7();
@@ -101274,7 +101282,7 @@ function nct() {
writeSeed: (e) => {
W.seed = e, $c();
},
- setJavLayout: $ct,
+ setJavLayout: elt,
javLayout: oE,
setPhotoLayout: gE,
syncPhotoWalls: f7,
@@ -101283,16 +101291,16 @@ function nct() {
recordPainted: (e, t) => {
o7.entityPageView = e, o7.entityPageWall = t;
},
- syncDensity: Ust,
+ syncDensity: Wst,
scheduleSticky: J7,
- releasePage: () => rk(L("#index")),
- showMissing: $st,
+ releasePage: () => nk(L("#index")),
+ showMissing: ect,
dropBars: $5
},
loading: {
shapesReady: () => !!n7.entityShapes,
- waitShapes: Fct,
- paintSkeleton: Qst,
+ waitShapes: Ict,
+ paintSkeleton: $st,
resetView: () => {
Qc({ detailReturnBarsContext: null }), o7.entityPageView = "", o7.entityPageWall = !1;
},
@@ -101308,13 +101316,13 @@ function nct() {
walls: () => document.querySelectorAll(".followphotowall"),
pushEntity: c7,
pushFollow: I9,
- syncDensity: Ust,
+ syncDensity: Wst,
storeSize: $ce
},
helpers: o7.entityPageHelpers,
actions: {
toggleTag: i9,
- openFollowAuthor: jct,
+ openFollowAuthor: Mct,
javContext: (e) => Qc({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -101326,7 +101334,7 @@ function nct() {
//#endregion
//#region src/application/playlists.js
var h7 = { playlistWrite: void 0 };
-function rct(e, t) {
+function ict(e, t) {
e === "tag" ? (Qc({ state: {
...W,
tag: t,
@@ -101338,15 +101346,15 @@ function rct(e, t) {
orient: ""
} }), X.clearSearchField(), Q.route(X7()), M7(), r9()) : m7(e, t);
}
-function ict(e = "") {
+function act(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function act({ title: e, count: t, save: n }) {
+async function oct({ title: e, count: t, save: n }) {
let r = Cs({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: ict(e),
+ body: act(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -101356,19 +101364,19 @@ async function act({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await cut(a.id, a.current_asset_id, !0), X5.actionReceipt("已保存为播放列表", { undo: async () => {
+ i && (await lut(a.id, a.current_asset_id, !0), X5.actionReceipt("已保存为播放列表", { undo: async () => {
await h7.playlistWrite({
action: "delete",
id: a.id
}), j9("/playlists");
} }));
}
-async function oct(e) {
+async function sct(e) {
let t = ((await Dt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${So(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = Cs({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: ict() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : _o("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: act() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : _o("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
@@ -101407,18 +101415,18 @@ async function oct(e) {
});
} });
}
-function sct() {
+function cct() {
cc(), y9(!1), j7();
- let e = ZO(L("#stats"));
+ let e = XO(L("#stats"));
e?.path !== "/playlists" || !e.host.isConnected ? Qc({ pageOpens: Uc + 1 }) : (A7({ manage: !1 }), Qc({ playlistsRevision: Yc + 1 }));
}
-function cct(e) {
+function lct(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
-function lct(e) {
- Qc({ configurationRequestedSection: e }), Q.navigatePath(PO(e));
+function uct(e) {
+ Qc({ configurationRequestedSection: e }), Q.navigatePath(NO(e));
}
-function uct() {
+function dct() {
h7.playlistWrite = (e) => Dt("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
@@ -101429,7 +101437,7 @@ function uct() {
function g7(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function dct(e, t, n, r, i = !1) {
+function fct(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -101437,14 +101445,14 @@ function dct(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function fct(e, t, n, r, i, a = !1) {
+function pct(e, t, n, r, i, a = !1) {
let o = n === "follow", s = QF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...dct(e, t, n, !0),
+ ...fct(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function pct(e, t, n, r) {
+function mct(e, t, n, r) {
let i = g7(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
@@ -101472,33 +101480,33 @@ function v7() {
}), I9({
selected: new Set(Dc),
selectMode: Oc
- }), _7.batchDockProps = Cct(), Fot() && (Fot().render(_7.batchDockProps), Z.syncGlassOptics());
+ }), _7.batchDockProps = wct(), Iot() && (Iot().render(_7.batchDockProps), Z.syncGlassOptics());
}
function y7(e, t = !1) {
- Qc(dct({
+ Qc(fct({
selected: Ec,
followSelected: Dc
}, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Oc), Oc && cc(), L("#selectMode").setAttribute("aria-pressed", String(Oc)), v7();
}
-function mct() {
+function hct() {
return [...T7.gridCards()].map((e) => +e.dataset.id);
}
function b7(e, t = !1) {
- Qc(fct({
+ Qc(pct({
selected: Ec,
followSelected: Dc
- }, x7(), g7(location.pathname), mct(), e, t)), y7(!0);
+ }, x7(), g7(location.pathname), hct(), e, t)), y7(!0);
}
-function hct() {
+function gct() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function gct(e, t = !1) {
- Qc(fct({
+function _ct(e, t = !1) {
+ Qc(pct({
selected: Ec,
followSelected: Dc
- }, x7(), "follow", hct(), e, t)), y7(!0);
+ }, x7(), "follow", gct(), e, t)), y7(!0);
}
-async function _ct(e, t) {
+async function vct(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -101567,7 +101575,7 @@ async function _ct(e, t) {
}
});
}
-async function vct() {
+async function yct() {
let e = [...Ec];
if (!e.length) return;
let t = Cs({
@@ -101599,7 +101607,7 @@ async function vct() {
let { confirmed: n, result: r } = await t.done;
n && (y7(!1, !0), await G7(), X5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function yct(e, t) {
+async function bct(e, t) {
let n = [...Dc];
if (!n.length) return;
let r = {
@@ -101634,7 +101642,7 @@ async function yct(e, t) {
}
});
}
-async function bct(e, t) {
+async function xct(e, t) {
let n = [...Ec];
if (!n.length) return;
let r = {
@@ -101680,8 +101688,8 @@ async function bct(e, t) {
}
});
}
-function xct() {
- Pot({
+function Sct() {
+ Fot({
root: L("[data-batch-dock]"),
run: (e, t, n) => {
_7.BATCH_RUNNERS[e]?.(t, n);
@@ -101690,7 +101698,7 @@ function xct() {
e.render(_7.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function Sct() {
+function Cct() {
_7.batchDockProps = {
count: 0,
context: "catalog",
@@ -101703,13 +101711,13 @@ function Sct() {
["other", "其他"],
["none", "撤回判定"]
], _7.BATCH_RUNNERS = {
- batch: _ct,
- region: vct,
- follow: yct,
- junk: bct,
+ batch: vct,
+ region: yct,
+ follow: bct,
+ junk: xct,
clear: () => y7(!1, !0)
}, Y5.handler(L("#density"), "onclick", () => {
- d7() ? Wst(uE() === "big" ? "small" : "big") : tle();
+ d7() ? Gst(uE() === "big" ? "small" : "big") : tle();
}), xE(), oc({
selecting: () => Oc,
censored: () => g9(),
@@ -101730,8 +101738,8 @@ function x7() {
followLastSelectedId: Ac
};
}
-function Cct() {
- return pct({
+function wct() {
+ return mct({
selected: Ec,
followSelected: Dc
}, location.pathname, location.search, W.state);
@@ -101742,31 +101750,31 @@ var S7 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function wct() {
- return Z.appSettings.followLayout === "table" ? "table" : "default";
-}
function Tct() {
- return fst(location.search);
+ return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function Ect(e) {
- return pst(e);
+function Ect() {
+ return pst(location.search);
}
function Dct(e) {
- Q.route(Ect(e));
-}
-function C7(e = "") {
- return mst(location.search, e);
+ return mst(e);
}
function Oct(e) {
- return lst(e);
+ Q.route(Dct(e));
+}
+function C7(e = "") {
+ return hst(location.search, e);
}
function kct(e) {
- return sst(e);
+ return ust(e);
+}
+function Act(e) {
+ return cst(e);
}
function w7() {
L("#stats").hidden = !0, L("#index").hidden = !1, s9(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
}
-function Act(e, t) {
+function jct(e, t) {
Qc({ state: {
...W,
state: "",
@@ -101774,23 +101782,23 @@ function Act(e, t) {
tag_match: t
} }), y7(!1, !1), Q.route(X7()), M7(), D9(), r9();
}
-function jct(e) {
+function Mct(e) {
S7.controller.openFollowAuthor(e);
}
-function Mct(e) {
+function Nct(e) {
S7.controller.openFollowTag(e);
}
-function Nct() {
+function Pct() {
$.FOLLOW_MANAGE_TABS = [
"list",
"add",
"feeds"
], Y5.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") ? lct("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
- }), S7.peopleIndexLayout = () => Nit(Z.appSettings.peopleLayout), S7.personAvatar = cst;
+ e.target.closest?.("[data-empty-settings]") ? uct("媒体库与入库") : !e.target.closest?.("a[href=\"/subscriptions?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
+ }), S7.peopleIndexLayout = () => Pit(Z.appSettings.peopleLayout), S7.personAvatar = lst;
}
-function Pct() {
- S7.controller = ust({
+function Fct() {
+ S7.controller = dst({
route: Q.route,
followView: N9,
adoptFollowView: P9,
@@ -101817,17 +101825,17 @@ function E7(e = "正在读取作品") {
return;
}
let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = JDe(gV(location.search)), Vo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = YDe(gV(location.search)), Vo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({
count: null,
- ...Elt()
+ ...Dlt()
})), L("#loadSentinel").hidden = !0, l9()) return;
let r = L("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== _W(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Rlt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), Vo(L("#grid")));
+ (a?.dataset.skeleton !== _W(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== zlt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), Vo(L("#grid")));
}
function D7() {
L("#catalogFilter").style.display = "none", t9();
}
-function Fct() {
+function Ict() {
let e = new Promise((e) => {
let t = T7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
@@ -101837,7 +101845,7 @@ function Fct() {
});
return Promise.race([T7.entityShapesReady ||= r7(), e]);
}
-function Ict() {
+function Lct() {
let e = decodeURIComponent(location.pathname);
if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), D7();
else if (/^\/assets\/\d+$/.test(e)) D7();
@@ -101848,16 +101856,16 @@ function Ict() {
D7();
let t = L("#stats");
t.hidden = !1, s9(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : T7.managementPlaceholder(e), Vo(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), Rit(L("#index"), Pit(e.slice(1), location.search), S7.peopleIndexLayout());
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), zit(L("#index"), Fit(e.slice(1), location.search), S7.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
D7(), L("#index").hidden = !1, s9();
let t = Ft[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- Fct().then(() => {
- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Qst(t, n), Vo(L("#index")));
+ Ict().then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || ($st(t, n), Vo(L("#index")));
});
} else Q.routeMeta(e) ? E7() : (s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
-function Lct() {
+function Rct() {
$.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => hW(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
@@ -101873,15 +101881,15 @@ function Lct() {
${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = yo("继续载入中…"), T7.setGridCards = (e) => jo(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
}), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => gW(e, {
- followLayout: wct(),
+ followLayout: Tct(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(Tct())
+ }))(Ect())
}), T7.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
- let t = new URL(e, location.origin), n = qO(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, hut();
+ let t = new URL(e, location.origin), n = KO(decodeURIComponent(t.pathname))?.title;
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, gut();
};
}
//#endregion
@@ -101893,7 +101901,7 @@ var O7 = (e) => e.replace(/[&<>"']/g, (e) => ({
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function Rct(e, t, n) {
+function zct(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${O7(r)}"/></svg>`;
@@ -101902,7 +101910,7 @@ function Rct(e, t, n) {
}
//#endregion
//#region src/application/filter-scroll.js
-function zct(e, t, n, r = !1) {
+function Bct(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -101950,12 +101958,12 @@ function j7() {
X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
}
function M7() {
- document.body.classList.remove("entity-open", "index-open"), rk(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();
+ document.body.classList.remove("entity-open", "index-open"), nk(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();
}
-function Bct() {
+function Vct() {
Q.route("/"), M7();
}
-function Vct({ tags: e = [], providers: t = [], duration: n = !1 }) {
+function Hct({ tags: e = [], providers: t = [], duration: n = !1 }) {
E9({
content: e.length || t.length || n ? {
kind: "follow",
@@ -101979,8 +101987,8 @@ function Vct({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function Hct(e) {
- Tut({
+function Uct(e) {
+ Eut({
...N9(),
...e
}), E9({ filters: $.followSidebarFilters() });
@@ -101992,39 +102000,39 @@ function P7(e) {
let t = L("#drawer"), n = !e && t.contains(document.activeElement);
t.inert = !e && N7(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function Uct() {
+function Wct() {
N7() && P7(!1);
}
-function Wct() {
+function Gct() {
Vc === null && (Qc({ runtimeConfigurable: !1 }), Dt("/healthz").then((e) => {
Qc({ runtimeConfigurable: !!e.configurable }), Vc && I7() && L7();
}).catch(() => {}));
}
function F7(e = "", t = !1) {
- if (!t && !NO(location.pathname)) {
- let t = dk.navigation;
- dk.push(PO(e), { settingsBackground: {
+ if (!t && !MO(location.pathname)) {
+ let t = uk.navigation;
+ uk.push(NO(e), { settingsBackground: {
pathname: location.pathname,
search: location.search,
state: t.location.state,
seq: t.seq
} });
- } else !t && e && fk(PO(e), {
+ } else !t && e && dk(NO(e), {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
- return e ||= lme(location.pathname), kot(k7.settingsHost()).then((t) => (t.open(e), t));
-}
-function Gct() {
- NO(location.pathname) && (FO(dk.navigation.location.state) ? dk.go(-1) : Q.navigatePath("/", !0));
+ return e ||= ume(location.pathname), Aot(k7.settingsHost()).then((t) => (t.open(e), t));
}
function Kct() {
+ MO(location.pathname) && (PO(uk.navigation.location.state) ? uk.go(-1) : Q.navigatePath("/", !0));
+}
+function qct() {
return {
scroll: L("#drawerScroll"),
store: Z.settingsStore,
navCatalog: k7.NAV_CATALOG,
navOn: K7,
- navTo: nlt,
+ navTo: rlt,
toggleChip: (e, t, n) => e9((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
@@ -102040,8 +102048,8 @@ function Kct() {
selectFollowTag: (e) => {
$.followTags = /* @__PURE__ */ new Set([e]), P7(!1), j9(M9());
},
- selectFollowProvider: (e) => Hct({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => Hct({
+ selectFollowProvider: (e) => Uct({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => Uct({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -102050,15 +102058,15 @@ function Kct() {
}
};
}
-function qct() {
+function Jct() {
let e = L("#drawerScroll");
- e.innerHTML = Rct(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), Y5.listen(e, "click", (e) => {
+ e.innerHTML = zct(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, K7), Y5.listen(e, "click", (e) => {
if (U5()) return;
let t = e.target.closest?.("[data-nav]");
- t && nlt(t.dataset.nav);
- }), jot(Kct()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
+ t && rlt(t.dataset.nav);
+ }), Mot(qct()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
}
-async function Jct() {
+async function Yct() {
let e = Y5, t = null;
try {
t = await Dt("/api/settings", { signal: e.signal });
@@ -102072,9 +102080,9 @@ function I7() {
}
function L7() {
let e = I7();
- Wct(), e && D7(), L("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);
+ Gct(), e && D7(), L("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (_7.trashCount = null), R7(e);
}
-function Yct(e) {
+function Xct(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
@@ -102085,30 +102093,30 @@ function Yct(e) {
}
function R7(e = I7()) {
z7();
- let t = Yct(e), n = Not();
+ let t = Xct(e), n = Pot();
if (n) n.render(t);
else {
- let e = _fe(t);
+ let e = vfe(t);
e !== k7.manageHeaderSkeleton && (k7.manageHeaderSkeleton = e, k7.manageHeaderRoot().innerHTML = e);
}
- let r = eO(t)?.title || "";
+ let r = $D(t)?.title || "";
r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && Ao(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function Xct() {
+function Zct() {
let e = k7.manageHeaderRoot();
Y5.listen(e, "click", (e) => {
- if (Not()) return;
+ if (Pot()) return;
let t = e.target.closest?.("[data-manage]");
if (t) B7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && Mlt();
- }), Mot({
+ } else e.target.closest?.("[data-empty-trash]") && Nlt();
+ }), Not({
root: e,
openManage: B7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: Mlt
+ emptyTrash: Nlt
}).then(() => R7()).catch(() => {});
}
function z7() {
@@ -102125,7 +102133,7 @@ function V7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Gc : !1;
}
-function Zct(e = V7()) {
+function Qct(e = V7()) {
let t = xT.filter(([e]) => e !== "seed");
return e ? [ST, ...t] : t;
}
@@ -102135,30 +102143,30 @@ function H7() {
function U7() {
return sE(H7());
}
-function Qct(e) {
+function $ct(e) {
Zce(e), W7(), L("#grid").hidden || p9();
}
-function $ct(e) {
+function elt(e) {
hE(e), W7(), p9();
}
function W7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
e.checked = e.value === U7();
- }), X.catalogFilterProps && n9({ layout: Tlt() });
+ }), X.catalogFilterProps && n9({ layout: Elt() });
}
-function elt(e) {
+function tlt(e) {
Qce(e), W7(), p9();
}
async function G7() {
- $5(), X.mixRelatedCache.clear(), await Promise.all([tlt(), r9()]);
+ $5(), X.mixRelatedCache.clear(), await Promise.all([nlt(), r9()]);
}
-async function tlt() {
+async function nlt() {
if (o7.entityPageCurrent() && !L("#index").hidden) {
c7({ revision: ++o7.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
- if (qO(e)?.reload === "reopen" || e === "/follow") {
+ if (KO(e)?.reload === "reopen" || e === "/follow") {
Qc({ pageOpens: Uc + 1 });
return;
}
@@ -102174,8 +102182,8 @@ function K7(e) {
}
return e === "jav" ? t === "/jav" || V7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !I7() && !W.state && !V7() && W.orient !== "竖屏" : At[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";
}
-function nlt(e) {
- if (Uct(), k7.DIRECT_MANAGE_NAV[e]) {
+function rlt(e) {
+ if (Wct(), k7.DIRECT_MANAGE_NAV[e]) {
B7(k7.DIRECT_MANAGE_NAV[e]);
return;
}
@@ -102200,11 +102208,11 @@ function q7() {
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Ft, t[0]), r = Nt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
L("#selectMode").hidden = !i, L("#density").hidden = !a, f7(), !i && Oc && y7(!1, !0);
}
-function rlt() {
+function ilt() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
(t !== k7.mobileFilterHost || location.pathname !== k7.mobileFilterPath) && (k7.mobileFilterScroll = null), k7.mobileFilterHost = t, k7.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- k7.mobileFilterScroll = zct(k7.mobileFilterScroll, n, innerWidth <= 760, r);
+ k7.mobileFilterScroll = Bct(k7.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
let e = n === t && k7.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
@@ -102218,28 +102226,28 @@ function rlt() {
});
}
}
-function ilt() {
- rlt(), [".board-filter-frame", "#count"].forEach((e) => {
+function alt() {
+ ilt(), [".board-filter-frame", "#count"].forEach((e) => {
let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
function J7() {
k7.stickyFrame ||= Y5.frame(() => {
- k7.stickyFrame = 0, ilt();
+ k7.stickyFrame = 0, alt();
});
}
-function alt() {
+function olt() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), Y5.handler(L("#filterBtn"), "onclick", () => P7(!L("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = tst, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = nst, k7.manageMenuSections = () => rst(Vc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = ist, k7.NAV_CATALOG = ast, k7.DIRECT_MANAGE_NAV = ost, k7.settingsHost = () => ({
- selectSection: (e) => fk(PO(e), {
+ }), Y5.handler(L("#filterBtn"), "onclick", () => P7(!L("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = nst, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = rst, k7.manageMenuSections = () => ist(Vc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = ast, k7.NAV_CATALOG = ost, k7.DIRECT_MANAGE_NAV = sst, k7.settingsHost = () => ({
+ selectSection: (e) => dk(NO(e), {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
}),
- closed: Gct,
+ closed: Kct,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Aa(e),
@@ -102248,11 +102256,11 @@ function alt() {
videoLayouts: tE,
followInitialRanges: sU,
videoLayout: () => U7(),
- setVideoLayout: elt,
+ setVideoLayout: tlt,
censored: g9,
- setCensored: Xlt,
+ setCensored: Zlt,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: Zlt,
+ setHighContrast: Qlt,
receipt: (e) => X5.actionReceipt(e),
failure: X5.actionFailure,
syncRemote: (e) => XT(e, (e) => Z.settingsEffects[e]?.()),
@@ -102267,19 +102275,19 @@ function alt() {
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var olt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var slt = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), slt = (e) => e.repeat(olt);
-function clt(e, t) {
+})[e]), clt = (e) => e.repeat(slt);
+function llt(e, t) {
let n = e.map((e) => `<a href="${Y7(e.href)}" data-catalog-view="${Y7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Y7(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + slt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + slt("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(olt) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${no()}</span></div></div></div></div>`;
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + clt("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + clt("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(slt) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${no()}</span></div></div></div></div>`;
}
//#endregion
//#region src/catalog-onboarding.ts
-var llt = [
+var ult = [
"loc",
"creator",
"performer",
@@ -102297,9 +102305,9 @@ var llt = [
"jav",
"thumb"
];
-async function ult(e, t) {
+async function dlt(e, t) {
let n = new URLSearchParams();
- for (let t of llt) e[t] && n.set(t, e[t]);
+ for (let t of ult) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -102310,7 +102318,7 @@ async function ult(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function dlt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function flt({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
if (t || n) return xo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
@@ -102366,40 +102374,40 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function flt() {
- X.initialParams.has("loc") || (W.loc = plt(W.loc), $c());
+function plt() {
+ X.initialParams.has("loc") || (W.loc = mlt(W.loc), $c());
}
-function plt(e) {
- return Wot(e, Z.sourceOnline);
+function mlt(e) {
+ return Got(e, Z.sourceOnline);
}
function X7(e = W) {
- return Got(e);
+ return Kot(e);
}
-function mlt() {
- Qc(qot(Kot(W, Z.appSettings, X5.rollSeed))), $5();
+function hlt() {
+ Qc(Jot(qot(W, Z.appSettings, X5.rollSeed))), $5();
}
function Z7(e = null, t = !1) {
- mlt(), e && (Object.assign(W, e), $c()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({
+ hlt(), e && (Object.assign(W, e), $c()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), M7(), D9(), r9(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function hlt(e, t = null) {
+function glt(e, t = null) {
let n = e.id;
!e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);
}
-function glt(e) {
+function _lt(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Dt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function _lt(e, t) {
- F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : vlt(e, t);
-}
function vlt(e, t) {
- e.edition_group ? out(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? sut(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
+ F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : ylt(e, t);
+}
+function ylt(e, t) {
+ e.edition_group ? sut(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? cut(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
}
-async function ylt(e, t) {
+async function blt(e, t) {
try {
let n = await Dt("/api/watch-later", {
method: "POST",
@@ -102416,7 +102424,7 @@ async function ylt(e, t) {
X5.actionFailure("更新稍后看", e);
}
}
-async function blt(e, t) {
+async function xlt(e, t) {
try {
await Dt("/api/batch", {
method: "POST",
@@ -102440,7 +102448,7 @@ async function blt(e, t) {
throw X5.actionFailure("操作", e), e;
}
}
-async function xlt(e) {
+async function Slt(e) {
let t = new URLSearchParams();
if (V7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {
let e = o7.activeFilterState();
@@ -102461,9 +102469,9 @@ async function xlt(e) {
e[n] && t.set(n, e[n]);
});
}
- return $ot(t.toString(), X.topsQueryParams(e).toString());
+ return est(t.toString(), X.topsQueryParams(e).toString());
}
-function Slt() {
+function Clt() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
@@ -102476,14 +102484,14 @@ function Slt() {
});
}
function Q7(e) {
- l7().type !== "entity" && n9({ tags: Dlt(e) }), E9({ filters: { ...e } }), a9();
+ l7().type !== "entity" && n9({ tags: Olt(e) }), E9({ filters: { ...e } }), a9();
}
async function $7(e) {
- let t = ++X.facetCountsSeq, [n] = await xlt(e);
- t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: qlt(n, e) }));
+ let t = ++X.facetCountsSeq, [n] = await Slt(e);
+ t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: Jlt(n, e) }));
}
function e9(e) {
- Slt();
+ Clt();
let t = l7();
if (t.type === "entity") {
let n = { ...t.filters };
@@ -102500,7 +102508,7 @@ function e9(e) {
} }), Q.route(X7()), M7(), r9();
} else e(W), $c(), Q.route(X7()), Q7(W), $7(wc);
}
-function Clt() {
+function wlt() {
return {
tiers: null,
empty: !1,
@@ -102517,7 +102525,7 @@ function Clt() {
combo: [],
comboHidden: !0,
comboHost: L("#combo"),
- actions: wlt(),
+ actions: Tlt(),
helpers: {
wireDrag: _9,
wireScroller: (e) => {
@@ -102535,16 +102543,16 @@ function n9(e) {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || Clt(),
+ ...X.catalogFilterProps || wlt(),
...e
- }, !X.catalogFilterMounting && (QO(t) ? nk(t, e) : (!t.firstChild && !n && (t.innerHTML = clt(X.catalogViews(), X.catalogFilterProps.state), Vo(t)), X.catalogFilterMounting = tk("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (ZO(t) ? tk(t, e) : (!t.firstChild && !n && (t.innerHTML = llt(X.catalogViews(), X.catalogFilterProps.state), Vo(t)), X.catalogFilterMounting = ek("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
- }).then(() => nk(t, X.catalogFilterProps)).finally(() => {
+ }).then(() => tk(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function wlt() {
+function Tlt() {
return {
currentHref: () => {
let e = new URL(X7(), location.origin);
@@ -102565,19 +102573,19 @@ function wlt() {
let t = OT(e, W.sort, W.dir);
t && (W.sort = t.sort, W.dir = t.dir, $c(), h9());
},
- reshuffle: () => Jlt(),
+ reshuffle: () => Ylt(),
setLayout: (e) => {
- V7() ? $ct(e) : Qct(e);
+ V7() ? elt(e) : $ct(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await est(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(Olt) : n.map(klt);
+ let n = (await tst(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(klt) : n.map(Alt);
}
};
}
-function Tlt() {
+function Elt() {
return V7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
@@ -102590,21 +102598,21 @@ function Tlt() {
options: tE
} : null;
}
-function Elt() {
+function Dlt() {
return {
- sorts: Hst(W.sort, W.dir),
- layout: Tlt(),
+ sorts: Ust(W.sort, W.dir),
+ layout: Elt(),
state: W.state || "",
trash: W.state === "trash"
};
}
-function Dlt(e) {
+function Olt(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function Olt(e) {
+function klt(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${z(tn(e.k))}</span>${ra({
@@ -102618,14 +102626,14 @@ function Olt(e) {
})}`
};
}
-function klt(e) {
+function Alt(e) {
return {
name: e.k,
fallback: en(e.k, 2),
logo: e.has_logo ? ea(e.k, "icon", e.logo_version) : ""
};
}
-function Alt(e) {
+function jlt(e) {
X.catalogFilterProps?.tiers || (X.barsRendered = "", n9({
tiers: null,
state: e.state || ""
@@ -102641,8 +102649,8 @@ async function r9() {
W.seed || "",
V7()
]);
- Alt(n);
- let [i, a] = await xlt(t);
+ jlt(n);
+ let [i, a] = await Slt(t);
if (e !== X.barsRequestSeq) return;
let o = r + "\n" + JSON.stringify([i, a]);
if (o === X.barsRendered) {
@@ -102669,25 +102677,25 @@ async function r9() {
})), n9({
tiers: {
key: String(X.barsRequestSeq),
- performers: a.performers.map(Olt),
- studios: a.studios.map(klt)
+ performers: a.performers.map(klt),
+ studios: a.studios.map(Alt)
},
empty: c,
- tags: Dlt(n),
+ tags: Olt(n),
tagFirst: d.length + p.length,
views: X.catalogViews(),
state: n.state || ""
}), a9(), k7.sidebarCatalog = {
kind: "catalog",
key: String(++k7.sidebarContentSeq),
- facets: qlt(i, t)
+ facets: Jlt(i, t)
}, E9({
content: k7.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function jlt(e, t) {
+function Mlt(e, t) {
v9.total = e, W.state === "trash" && (_7.trashCount = {
total: v9.total,
shown: t
@@ -102696,7 +102704,7 @@ function jlt(e, t) {
shown: t
} });
}
-function Mlt() {
+function Nlt() {
return Ts({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -102718,7 +102726,7 @@ function i9(e) {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function Nlt(e) {
+function Plt(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -102740,13 +102748,13 @@ function Nlt(e) {
}
function a9() {
n9({
- combo: Nlt(W),
+ combo: Plt(W),
comboHidden: !X.catalogOnScreen()
});
}
async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (Fst(location.pathname) && !QO(L("#libraryProcessingNotice")) && tk("library-processing", {
+ if (Ist(location.pathname) && !ZO(L("#libraryProcessingNotice")) && ek("library-processing", {
toast: X5.toast,
mode: "notice"
}, {
@@ -102758,43 +102766,43 @@ async function o9() {
filters: W
},
detailReturnBarsContext: null
- }), y9(!1), W.state === "ads") return Blt(e);
+ }), y9(!1), W.state === "ads") return Vlt(e);
if (X.controller.page === "/junk-files" && s9(), E7(), M7(), i7(location.pathname)) {
if (await T7.entityShapesReady, !Q.surfaceCurrent(e)) return;
- Ist();
+ Lst();
} else a7();
- return a9(), L("#count").classList.remove("manage-static", "junkcount"), Flt(e);
+ return a9(), L("#count").classList.remove("manage-static", "junkcount"), Ilt(e);
}
-function Plt(e) {
+function Flt(e) {
X.controller.settle(e);
}
function s9() {
let e = L("#grid");
- cc(e), rk(e), X.controller.clear(), e.innerHTML = "";
-}
-function Flt(e) {
- return Llt("/", zlt, e, { place: Dut });
+ cc(e), nk(e), X.controller.clear(), e.innerHTML = "";
}
function Ilt(e) {
- return Llt("/junk-files", Hlt, e);
+ return Rlt("/", Blt, e, { place: Out });
+}
+function Llt(e) {
+ return Rlt("/junk-files", Ult, e);
}
function c9() {
- return !!ZO(L("#grid"));
+ return !!XO(L("#grid"));
}
function l9() {
return X.controller.taken(c9());
}
function u9(e) {
- nk(L("#grid"), e);
+ tk(L("#grid"), e);
}
-function Llt(e, t, n, r = {}) {
+function Rlt(e, t, n, r = {}) {
let i = L("#grid");
X.controller.page && X.controller.page !== e && s9();
let a = X.controller.begin(e, c9()), o = t();
if (!a.mount) return u9(o), a.settled;
cc(i);
- let s = () => rk(i);
- return a.signal.addEventListener("abort", s, { once: !0 }), tk(e, o, {
+ let s = () => nk(i);
+ return a.signal.addEventListener("abort", s, { once: !0 }), ek(e, o, {
...r,
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
@@ -102814,10 +102822,10 @@ function f9(e = "正在读取作品") {
return hW(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
- cardRatio: Rlt()
+ cardRatio: zlt()
});
}
-function Rlt() {
+function zlt() {
return W ? mE(d9()) : 16 / 9;
}
function p9() {
@@ -102829,7 +102837,7 @@ function p9() {
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function zlt() {
+function Blt() {
let e = decodeURIComponent(location.pathname), t = Nt(e), n = W.state === "trash";
return {
mode: "catalog",
@@ -102842,7 +102850,7 @@ function zlt() {
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
wireDrag: _9,
- settled: Plt,
+ settled: Flt,
skeletonHtml: () => f9(),
filters: { ...W },
batchSize: Z.appSettings.batchSize,
@@ -102851,9 +102859,9 @@ function zlt() {
mix: t && e !== "/wall" && !n,
shorts: t && e !== "/wall" && !V7() && W.orient !== "竖屏" && !n,
countRow: L("#count"),
- onCount: jlt,
+ onCount: Mlt,
onCountFailed: () => n9({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : dlt({
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : flt({
jav: V7() && !t,
configurable: Vc,
filtered: !t
@@ -102861,11 +102869,11 @@ function zlt() {
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function Blt(e) {
+function Vlt(e) {
let t = L("#count");
- return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Ilt(e);
+ return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), E7("正在读取垃圾文件")), M7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Llt(e);
}
-async function Vlt(e, t) {
+async function Hlt(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await Dt("/api/batch", {
@@ -102890,7 +102898,7 @@ async function Vlt(e, t) {
throw X5.actionFailure("操作", e), e;
}
}
-function Hlt() {
+function Ult() {
return {
...gV(location.search),
helpers: X.junkQueueHelpers,
@@ -102900,7 +102908,7 @@ function Hlt() {
selectMode: Oc,
selected: new Set(Ec),
countRow: L("#count"),
- settled: Plt,
+ settled: Flt,
skeletonHtml: () => hW("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
@@ -102908,8 +102916,8 @@ function Hlt() {
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function Ult() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Hot(e, t, Z.appSettings, n), Qc(qot(Uot(location, Z.appSettings, X5.rollSeed))), X.searchValueSnapshot = {
+function Wlt() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Uot(e, t, Z.appSettings, n), Qc(Jot(Wot(location, Z.appSettings, X5.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -102930,33 +102938,33 @@ function Ult() {
};
};
}
-function Wlt() {
+function Glt() {
Y5.handler(L("#wallBtn"), "onclick", () => {
y7(!1, !0);
let e = l7(), t = {
...o7.activeFilterState(),
jav: V7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(pbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(mbe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => gk(e, t),
- displayName: (e, t) => hk(e, t),
+ titleHtml: (e, t) => hk(e, t),
+ displayName: (e, t) => mk(e, t),
tagLabel: (e) => pc(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
let r = await P5(v9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: vlt,
- open: (e, t) => _lt(e, t),
- openResource: (e, t) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : hlt(e, t),
+ wallDetails: ylt,
+ open: (e, t) => vlt(e, t),
+ openResource: (e, t) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : glt(e, t),
openShort: (e) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : C9(e.id),
openShorts: () => C9(),
- openMix: (e, t) => aut(e, e, !0, t),
+ openMix: (e, t) => out(e, e, !0, t),
openEntity: (e, t) => m7(e, t),
openUnowned: () => Z7({ owner: "none" }, !0),
toggleTag: (e) => {
@@ -102968,9 +102976,9 @@ function Wlt() {
});
},
toggleSelection: (e, t) => b7(e, t),
- watchLater: (e, t) => ylt(e, t),
- resourceOperation: (e, t) => blt(e, t),
- mixRelated: (e) => glt(e),
+ watchLater: (e, t) => blt(e, t),
+ resourceOperation: (e, t) => xlt(e, t),
+ mixRelated: (e) => _lt(e),
canFlip: () => !Oc && !g9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
@@ -103000,7 +103008,7 @@ function Wlt() {
href: e.k ? At[e.k] : "/"
})), X.TAGS_FIRST = 26, Y5.listen(L("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), wlt().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), Tlt().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
@@ -103009,7 +103017,7 @@ function Wlt() {
X.catalogFilterProps && n9({ comboHidden: !0 });
};
}
-function Glt() {
+function Klt() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
Oc && y7(!1, !0), Q.route(e);
@@ -103026,10 +103034,10 @@ function Glt() {
return o7.sourceHint(e.message);
}
},
- operate: (e, t) => Vlt(e, t)
+ operate: (e, t) => Hlt(e, t)
};
}
-X.controller = new Jot();
+X.controller = new Yot();
//#endregion
//#region src/application/preferences.js
var Z = {
@@ -103063,18 +103071,18 @@ async function m9() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), flt(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), plt(), Z.sourceOnline;
}
function h9() {
let e = Q.surfacePath();
if (!Nt(e) || e === "/junk-files") return o9();
let t = Z.nextCatalogLoad();
- return fk(X7(), {
+ return dk(X7(), {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
}), t;
}
-function Klt(e) {
+function qlt(e) {
return e === "local" ? {
kind: "glyph",
name: "hard-drive"
@@ -103089,7 +103097,7 @@ function Klt(e) {
cost: "free"
};
}
-function qlt(e, t) {
+function Jlt(e, t) {
let n = (e, t = (e) => e.label || pc(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -103100,7 +103108,7 @@ function qlt(e, t) {
value: e.k,
label: rn[e.k] || e.k,
n: e.n ?? null,
- dot: Klt(e.k),
+ dot: qlt(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -103112,17 +103120,17 @@ function qlt(e, t) {
duration: !!e.stats?.duration
};
}
-async function Jlt(e = !1) {
+async function Ylt(e = !1) {
if (e && (document.hidden || !Nt(decodeURIComponent(location.pathname)) || v9.stageOpen() || v9.immerseOpen() || Oc || Ec.size || document.activeElement === L("#q"))) return !1;
if (!L("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- sct();
+ cct();
return;
}
let n = t === "reopen" ? e : "/stats";
- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, dk.navigation.location.state) : Q.navigatePath(n);
+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, uk.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
W.sort = "seed", W.dir = "", W.seed = X5.rollSeed(), $c(), $5(), n9({ refreshing: !0 });
try {
@@ -103140,26 +103148,26 @@ async function Jlt(e = !1) {
function g9() {
return document.body.classList.contains("censor");
}
-function Ylt(e) {
- document.body.classList.toggle("censor", e), Z.settingsStore.notify();
-}
function Xlt(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Ylt(e), e && cc();
+ document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
function Zlt(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Xlt(e), e && cc();
+}
+function Qlt(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function _9(e) {
return Qo(e, { drag: !0 });
}
-function Qlt() {
+function $lt() {
["#nrow", "#count"].forEach((e) => _9(L(e))), document.querySelectorAll(".tier,.srow").forEach(_9);
}
-function $lt() {
+function eut() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function eut() {
+function tut() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
@@ -103188,16 +103196,16 @@ function eut() {
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
seekSeconds: () => p9(),
- groupCollapse: () => tlt(),
- feedAutoScroll: () => Rst(),
- feedCompilations: () => Lst(),
+ groupCollapse: () => nlt(),
+ feedAutoScroll: () => zst(),
+ feedCompilations: () => Rst(),
miniplayer: () => {
Z.appSettings.miniplayer || F5()?.closeMiniplayer();
},
javImage: () => {
- Yi(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Us), iut();
+ Yi(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Us), aut();
},
- searchHistoryLimit: () => nk(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
+ searchHistoryLimit: () => tk(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
local: R("hard-drive"),
115: `<img class="source-icon" src="${Ja[115]}" alt="">`,
@@ -103208,8 +103216,8 @@ function eut() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = xo;
}
-function tut() {
- Z.CENSOR_KEY = "peach-censor", Ylt(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function nut() {
+ Z.CENSOR_KEY = "peach-censor", Xlt(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
//#endregion
//#region src/application/media.js
@@ -103224,14 +103232,14 @@ var v9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function nut() {
+function rut() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function rut() {
+function iut() {
return F5()?.exit() || Promise.resolve();
}
function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
@@ -103245,13 +103253,13 @@ function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailReturnNeedsRestore: !1
}), J7(), e && Q.route(Mc || "/");
}
-function iut() {
+function aut() {
F5()?.repaintPoster();
}
function b9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = Ic?.kind === e && (e === "playlist" ? Ic.playlistId : Ic.seedId) === t;
- r && !o && Qc({ detailReturnPath: location.pathname + location.search }), r && VO();
+ r && !o && Qc({ detailReturnPath: location.pathname + location.search }), r && BO();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -103264,25 +103272,25 @@ function b9(e, t, n, r, i = null, a = {}) {
if (a.autoplay && (s.autoplay = !0), r) {
O9();
let e = Q.queueOpenRequest = {
- seq: dk.navigation.seq,
+ seq: uk.navigation.seq,
cancelled: !1
};
Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Qc({ queueOpens: Wc + 1 });
} else return x9(n == null ? null : +n, !1, s, i, r);
}
-function aut(e, t = e, n = !0, r = null) {
+function out(e, t = e, n = !0, r = null) {
return b9("mix", e, t, n, r);
}
-function out(e, t = e, n = !0, r = null) {
+function sut(e, t = e, n = !0, r = null) {
return b9("editions", e, t, n, r);
}
-function sut(e, t = e, n = !0, r = null) {
+function cut(e, t = e, n = !0, r = null) {
return b9("parts", e, t, n, r);
}
-function cut(e, t = null, n = !0) {
+function lut(e, t = null, n = !0) {
return b9("playlist", e, t, n);
}
-function lut() {
+function uut() {
return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;
}
async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
@@ -103292,8 +103300,8 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
return;
}
cc(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : Nc?.isConnected ? Nc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Pc, c = lut(), l = Fc || !t && !c, u = wc.type === "item" ? Tc : o7.cloneBarsContext(l7());
- t ? Qc({ detailReturnPath: location.pathname + location.search }) : i || Qc({ detailReturnPath: UO() || Mc }), t && VO(), F5()?.showing() !== "item" && y9(!1, !0, {
+ let o = r?.isConnected ? r : Nc?.isConnected ? Nc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Pc, c = uut(), l = Fc || !t && !c, u = wc.type === "item" ? Tc : o7.cloneBarsContext(l7());
+ t ? Qc({ detailReturnPath: location.pathname + location.search }) : i || Qc({ detailReturnPath: HO() || Mc }), t && BO(), F5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Qc({
@@ -103304,7 +103312,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Qc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, WO("item"));
+ } }), Qc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, UO("item"));
let d = await P5(v9.stageHost);
if (a?.cancelled) return;
let f = a ? {
@@ -103331,12 +103339,12 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
selectMode: Oc,
selected: new Set(Ec),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : nut()
+ resume: t || e == null ? null : rut()
}), J7();
}
-async function uut() {
+async function dut() {
let e = o7.cloneBarsContext(Tc), t = Mc || "/", n = Fc;
- await rut(), y9(!1, !1, { miniplayer: !1 }), Qc({ detailReturnBarsContext: null }), HO(), Qc({ barsContext: e || {
+ await iut(), y9(!1, !1, { miniplayer: !1 }), Qc({ detailReturnBarsContext: null }), VO(), Qc({ barsContext: e || {
type: "home",
filters: W
} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Qc({ pageOpens: Uc + 1 }) : (r9(), location.pathname === "/playlists" && Qc({ pageOpens: Uc + 1 })));
@@ -103346,24 +103354,24 @@ async function S9(e, t = !0) {
Qc({ detailReturnPath: location.pathname + location.search }), k9("/works/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = dk.navigation.seq, r = o7.cloneBarsContext(l7()), i = !lut(), a = UO() || (i ? "/jav?tab=discover" : Mc) || "/jav?tab=discover";
+ let n = uk.navigation.seq, r = o7.cloneBarsContext(l7()), i = !uut(), a = HO() || (i ? "/jav?tab=discover" : Mc) || "/jav?tab=discover";
F5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), Qc({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), cc();
let [o, s] = await Promise.all([P5(v9.stageHost), V("/healthz")]);
- dk.navigation.seq === n && (await o.open({
+ uk.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void uut(),
+ close: () => void dut(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
- dk.navigation.seq === n && t && t !== e && fk("/works/" + encodeURIComponent(t) + location.search + location.hash, {
+ uk.navigation.seq === n && t && t !== e && dk("/works/" + encodeURIComponent(t) + location.search + location.hash, {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
},
openTag: (e) => {
@@ -103379,9 +103387,9 @@ async function S9(e, t = !0) {
}), J7());
}
async function C9(e = null, t = !0) {
- t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (F5()?.closeMiniplayer(), await (await Oot(v9.immerseHost)).open(e));
+ t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (F5()?.closeMiniplayer(), await (await kot(v9.immerseHost)).open(e));
}
-function dut() {
+function fut() {
v9.total = 0, v9.facets = null, v9.stageHost = {
player: {
settings: () => Z.appSettings,
@@ -103397,11 +103405,11 @@ function dut() {
openItem: (e) => void x9(e)
}, v9.stageOpen = () => !!F5()?.isOpen();
}
-function fut() {
+function put() {
v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => gk(e),
- displayName: (e) => hk(e),
+ titleHtml: (e) => hk(e),
+ displayName: (e) => mk(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => pc(e),
isDurationTag: (e) => sn.has(e),
@@ -103412,11 +103420,11 @@ function fut() {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => glt(e),
+ mixRelated: (e) => _lt(e),
wireDrag: (e) => _9(e),
wireDragReorder: (e, t) => xs(e, t)
}, v9.itemDetailActions = {
- close: () => uut(),
+ close: () => dut(),
present: (e) => {
Qc({ presentedItem: e });
let t = Tc;
@@ -103424,14 +103432,14 @@ function fut() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : o7.emptyEntityFilters()
- } }), Lc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Lc}`, !1, WO("item")), Qc({ pendingQueueRoute: null })), r9();
+ } }), Lc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Lc}`, !1, UO("item")), Qc({ pendingQueueRoute: null })), r9();
},
redirect: (e) => {
let t = !!Lc;
e.kind === "follow" ? (Q.queueOpenRequest = null, Qc({
pendingQueueRoute: null,
followDetailReturnPath: Mc || "/"
- }), Q.route(`/posts/${e.id}`, !t, WO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : sct() : y9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, UO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : cct() : y9(!1);
},
openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -103455,14 +103463,14 @@ function fut() {
behavior: "smooth"
});
},
- addToPlaylist: (e) => oct(e),
- saveMix: (e) => act(e),
+ addToPlaylist: (e) => sct(e),
+ saveMix: (e) => oct(e),
editPlaylist: () => j9("/playlists"),
openPlaylists: () => j9("/playlists"),
- reveal: (e) => Kst(e),
- sync: (e) => qst(e),
+ reveal: (e) => qst(e),
+ sync: (e) => Jst(e),
trashChanged: async (e, t) => {
- W.state === "ads" && (t || e === "trash") && (t || (HO(), y9(!0, !1, { miniplayer: !1 })), await o9());
+ W.state === "ads" && (t || e === "trash") && (t || (VO(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
failure: (e, t) => X5.actionFailure(e, t)
@@ -103470,7 +103478,7 @@ function fut() {
filters: () => W,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => hk(e),
+ displayName: (e) => mk(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => Z7(),
openItem: (e) => void x9(e),
@@ -103492,7 +103500,7 @@ var w9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function put() {
+async function mut() {
Bs(), await w9.writePostSetupTutorialDone(!1), await T9();
}
async function T9() {
@@ -103549,20 +103557,20 @@ async function T9() {
}), Y5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function mut() {
+function hut() {
if (Qc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, Hc) {
js("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
- e.searchParams.delete("onboarding"), fk(e, {
+ e.searchParams.delete("onboarding"), dk(e, {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
});
}
{
let e = new URL(location.href), t = e.searchParams.get("agentation");
- t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), fk(e, {
+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), dk(e, {
replace: !0,
- state: dk.navigation.location.state
+ state: uk.navigation.location.state
})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});
}
w9.postSetupTutorialTasks = async () => {
@@ -103674,7 +103682,7 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function hut() {
+function gut() {
let e = U5();
e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(K7(e.dataset.nav))));
}
@@ -103690,32 +103698,32 @@ function E9(e = {}) {
}, U5()?.render(k7.sidebarProps);
}
function D9() {
- E9(), hut(), q7();
+ E9(), gut(), q7();
}
function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Qc({ pendingQueueRoute: null });
}
function k9(e, t, n) {
- O9(), VO(), Q.requestedOverlay = {
+ O9(), BO(), Q.requestedOverlay = {
path: e,
open: n
- }, Q.route(e, !1, WO(t));
+ }, Q.route(e, !1, UO(t));
}
function A9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), HO(), T9();
+ Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), VO(), T9();
}
function j9(e) {
Q.route(e), Qc({ pageOpens: Uc + 1 });
}
-function gut() {
+function _ut() {
Q.routeMeta = (e) => {
- let t = qO(e);
+ let t = KO(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(KO).find((n) => KO[n][e] === t), Q.catalogPage = (e) => Nt(e) || e === "/trash", Q.managedPagePath = (e) => {
- let t = qO(e);
- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !LO(e) && e !== "/immerse";
+ }, Q.routePathOf = (e, t) => Object.keys(GO).find((n) => GO[n][e] === t), Q.catalogPage = (e) => Nt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ let t = KO(e);
+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !IO(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? C9($lt()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(kct({
+ e === "/immerse" ? C9(eut()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(Act({
kind: e.slice(1),
q: "",
scope: "local",
@@ -103724,35 +103732,35 @@ function gut() {
})));
};
}
-function _ut() {
+function vut() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Fst(e) || rk(L("#libraryProcessingNotice")), i7(e) || a7(), rk(L("#stats"), L("#index")), !Nt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
- Q.surfaceEpoch++, X.barsRequestSeq++, fk(e, {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Ist(e) || nk(L("#libraryProcessingNotice")), i7(e) || a7(), nk(L("#stats"), L("#index")), !Nt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ Q.surfaceEpoch++, X.barsRequestSeq++, dk(e, {
replace: t,
state: n
}), T7.syncPageTitle(e), queueMicrotask(() => {
q7(), z7(), E9(), T9();
});
}, Q.navigatePath = (e, t = !1, n) => {
- t ? dk.replace(e, n) : dk.push(e, n), queueMicrotask(() => {
+ t ? uk.replace(e, n) : uk.push(e, n), queueMicrotask(() => {
q7(), z7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
//#endregion
//#region src/jobs.ts
-function vut(e, t, n) {
+function yut(e, t, n) {
if (!Number.isFinite(n) || n <= 0) return "";
let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${z(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${z(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function yut(e, t = 0, n = 0) {
- return n > 0 ? vut(e, t, n) : yo(e);
+function but(e, t = 0, n = 0) {
+ return n > 0 ? yut(e, t, n) : yo(e);
}
-async function but(e) {
+async function xut(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -103767,14 +103775,14 @@ async function but(e) {
await t(2e3);
}
}
-function xut(e) {
+function Sut(e) {
let t = e.note || ((e) => _o(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || yo, r = e.progress || ((e, t, n) => yut(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || yo, r = e.progress || ((e, t, n) => but(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- but({
+ xut({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -103824,7 +103832,7 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function Sut(e) {
+function Cut(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
X5.toast({ text: Pr(e) }, {
warn: !!t,
@@ -103839,7 +103847,7 @@ function Sut(e) {
function M9() {
return bi(N9());
}
-function Cut() {
+function wut() {
return $.controller.read();
}
function N9() {
@@ -103860,17 +103868,17 @@ function N9() {
function P9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function wut() {
- let e = ZO(L("#stats"));
+function Tut() {
+ let e = XO(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function F9() {
- return !!wut();
+ return !!Tut();
}
function I9(e) {
- F9() && nk(L("#stats"), e);
+ F9() && tk(L("#stats"), e);
}
-function Tut(e, t = {}) {
+function Eut(e, t = {}) {
return $.controller.route(e, t);
}
function L9(e = !1) {
@@ -103883,7 +103891,7 @@ async function R9(e, t = !0, n = null, r = !1) {
}
cc(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && Qc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Qc({ followDetailReturnPath: UO() || "/follow" }), t && VO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, WO("follow")), await (await P5(v9.stageHost)).open({
+ t && i && !r && Qc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Qc({ followDetailReturnPath: HO() || "/follow" }), t && BO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, UO("follow")), await (await P5(v9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -103891,19 +103899,19 @@ async function R9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : nut()
+ resume: t ? null : rut()
}), J7();
}
-async function Eut() {
- await rut(), y9(!1, !1, { miniplayer: !1 }), HO(), Q.route(zc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (Cut(), I9({ view: N9() })) : Qc({ pageOpens: Uc + 1 }));
+async function Dut() {
+ await iut(), y9(!1, !1, { miniplayer: !1 }), VO(), Q.route(zc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (wut(), I9({ view: N9() })) : Qc({ pageOpens: Uc + 1 }));
}
-function Dut(e) {
+function Out(e) {
let t = document.createElement("div");
return t.className = "peach-react", jo(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function Out() {
+function kut() {
$.followFeedHelpers = hc({
wireDrag: (e) => {
e && _9(e);
@@ -103912,13 +103920,13 @@ function Out() {
e && Qo(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: xut
+ jobProgress: Sut
}), $.followFeedActions = {
- loaded: (e) => Vct(e),
+ loaded: (e) => Hct(e),
openDetail: (e) => R9(e),
openAuthor: (e) => Q.navigatePath(It("creator", e)),
openManage: () => Q.navigatePath(C7()),
- toggleSelection: (e, t) => gct(e, t),
+ toggleSelection: (e, t) => _ct(e, t),
setImagesOnly: (e) => {
Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();
},
@@ -103928,26 +103936,26 @@ function Out() {
canFlip: () => !Oc && !g9() && !window.__scrolling && !X.reduceMotion(),
toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
failure: (e, t) => X5.actionFailure(e, t),
- checkReport: (e) => Sut(e)
+ checkReport: (e) => Cut(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- F5()?.showing() !== "follow" && (cc(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && rk(L("#stats")), L("#stats").replaceChildren()));
+ F5()?.showing() !== "follow" && (cc(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && nk(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = Cc({
view: N9,
adoptView: P9,
rememberReturn: (e) => Qc({ followDetailReturnPath: e }),
- close: () => void Eut(),
+ close: () => void Dut(),
open: (e, t, n) => void R9(e, !0, t, n),
- drawer: Vct,
+ drawer: Hct,
openAuthor: (e) => Q.navigatePath(It("creator", e))
}, {
toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
failure: X5.actionFailure
});
}
-function kut() {
+function Aut() {
$.controller = Ci({
location: () => location,
view: N9,
@@ -103988,8 +103996,8 @@ function kut() {
//#endregion
//#region src/application/lifecycle.js
var z9 = { overlayScan: void 0 };
-function Aut() {
- BCe(), ms(document), va(document.documentElement, { variant: "page" }), va(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {
+function jut() {
+ VCe(), ms(document), va(document.documentElement, { variant: "page" }), va(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {
z9.overlayScan ||= Y5.delay(() => {
z9.overlayScan = 0, ds();
});
@@ -104008,7 +104016,7 @@ function Aut() {
}
//#endregion
//#region src/react/search/recommendations.ts
-async function jut(e) {
+async function Mut(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -104121,7 +104129,7 @@ async function jut(e) {
}
//#endregion
//#region src/application/search-morph.js
-function Mut(e, t, n, r, i, a, o) {
+function Nut(e, t, n, r, i, a, o) {
let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];
return s.map((a, c) => {
let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);
@@ -104147,7 +104155,7 @@ var B9 = {
function V9() {
B9.searchControl?.close();
}
-function Nut(e) {
+function Put(e) {
let t = e ? Ki({
...e,
is_jav: !!e.code
@@ -104166,7 +104174,7 @@ function U9(e) {
if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = cs();
t.classList.add("search-morphing");
- let h = t.animate(Mut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(Nut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -104175,13 +104183,13 @@ function U9(e) {
B9.searchMorph === h && H9();
});
}
-function Put() {
+function Fut() {
return v9.immerseOpen() ? R5().activeVideo() : F5()?.activeVideo() || null;
}
-function Fut(e) {
+function Iut(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function Iut() {
+function Lut() {
B9.searchControl = null, B9.searchActions = {
search: (e) => {
X.rememberSearchValue(), y9(!1), W.q = e, $c(), Q.route(W.jav === "1" ? X7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
@@ -104193,9 +104201,9 @@ function Iut() {
$.followMediaView = t, R9(e, !0, n);
}
}, B9.searchHelpers = {
- pool: () => ult(W, Dt),
- recommendations: () => jut(Dt),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? kst(e) : Nut(e)}</span>`,
+ pool: () => dlt(W, Dt),
+ recommendations: () => Mut(Dt),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? Ast(e) : Put(e)}</span>`,
present: (e) => Ba(e),
dismiss: (e) => Va(e),
wireScroller: (e) => Qo(e),
@@ -104210,7 +104218,7 @@ function Iut() {
text: e.value,
scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft
})
- }, tk("search", {
+ }, ek("search", {
input: L("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
actions: B9.searchActions,
@@ -104229,7 +104237,7 @@ function Iut() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function Lut() {
+function Rut() {
B9.searchMorph = null, B9.searchMorphViewport = innerWidth, Y5.listen.bind(Y5, window)("resize", () => {
innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
}, { passive: !0 }), Y5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), Y5.handler(L("#searchBtn"), "onclick", () => {
@@ -104244,7 +104252,7 @@ function Lut() {
e.preventDefault(), Z7(null, !0);
}), Y5.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = Aot();
+ let t = jot();
if (t?.isOpen()) {
t.close();
return;
@@ -104271,7 +104279,7 @@ function Lut() {
}
return;
}
- if (Fut(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (Iut(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -104279,26 +104287,26 @@ function Lut() {
return;
}
}
- let t = Put();
+ let t = Fut();
if (t) {
if (e.key === "t" || e.key === "T") {
e.preventDefault(), F5()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), _ue(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), vue(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), sD(t);
+ e.preventDefault(), oD(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), jle(t, ".vjs-mute-control");
+ e.preventDefault(), Mle(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), jle(t, ".vjs-fullscreen-control");
+ e.preventDefault(), Mle(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
@@ -104314,17 +104322,17 @@ var W9 = {
shellActions: void 0,
routing: void 0
};
-function Rut() {
+function zut() {
let e = Y5;
- T7.entityShapesReady = r7(), Ict(), qct(), W9.shellActions = {
+ T7.entityShapesReady = r7(), Lct(), Jct(), W9.shellActions = {
openSettings: (e) => F7(e, !0),
- closeSettings: () => Aot()?.close(!1),
+ closeSettings: () => jot()?.close(!1),
openItem: (e) => void x9(e),
openEntity: (e, t) => void m7(e, t),
openTag: (e) => {
- Bct(), i9(e);
+ Vct(), i9(e);
},
- openTasteSignal: rct,
+ openTasteSignal: ict,
navigate: (e) => {
let t = /^\/works\/([A-Za-z0-9_-]{2,64})$/.exec(e), n = /^\/assets\/(\d+)$/.exec(e);
t ? S9(t[1]) : n ? x9(+n[1]) : Q.navigatePath(e);
@@ -104335,28 +104343,28 @@ function Rut() {
receipt: (e, t) => X5.actionReceipt(e, t),
toast: (e, t) => X5.toast(e, t),
failure: X5.actionFailure,
- revealSource: Kst,
- reopenTutorial: put,
+ revealSource: qst,
+ reopenTutorial: mut,
requestConfigurationSection: (e) => {
Qc({ configurationRequestedSection: e });
},
- routeReview: cct,
- routeFollowManage: Dct,
+ routeReview: lct,
+ routeFollowManage: Oct,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(kct(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(Act(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
exitSelectMode: () => y7(!1, !1),
personAvatar: (e, t, n) => S7.personAvatar(e, t, n),
- authorAvatar: (e) => Oct(e),
- showIndexTags: Act,
- openFollowAuthor: jct,
- openFollowTag: Mct,
- openPlaylist: (e, t) => void cut(e, t, !0),
+ authorAvatar: (e) => kct(e),
+ showIndexTags: jct,
+ openFollowAuthor: Mct,
+ openFollowTag: Nct,
+ openPlaylist: (e, t) => void lut(e, t, !0),
canFlip: () => !Oc && !g9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (cc(), Qc({ barsContext: {
@@ -104375,7 +104383,7 @@ function Rut() {
},
openOverlay: (e) => {
let t = Q.requestedOverlay;
- Q.requestedOverlay = null, dk.navigation.claimed && (!pk() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (pk() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
+ Q.requestedOverlay = null, uk.navigation.claimed && (!fk() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (fk() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
},
closeStage: () => {
v9.stageOpen() && y9(!1);
@@ -104390,7 +104398,7 @@ function Rut() {
},
entity: {
missing: (e) => {
- W9.shellActions.surfaceChanged("entity", location.pathname), $st(e);
+ W9.shellActions.surfaceChanged("entity", location.pathname), ect(e);
},
loading: (e, t, n) => o7.application.loading(e, t, n),
props: (e, t, n) => o7.application.addressProps(e, t, n),
@@ -104403,7 +104411,7 @@ function Rut() {
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => plt("local,115"),
+ defaultLoc: () => mlt("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
n && (A9(), q7(), z7()), t && $5(), e === "/trash" ? (X.clearSearchField(), M7()) : (L("#q").value = W.q, X.rememberSearchValue()), D9(), r9(), Z.handOff(o9());
},
@@ -104411,22 +104419,22 @@ function Rut() {
Z.handOff(o9());
},
fill: () => {
- if (l9() || !pk() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if (l9() || !fk() && !L("#grid").querySelector(".catalog-skeleton")) return;
let e = L("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Flt(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Ilt(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- s9(), a7(), rk(L("#libraryProcessingNotice"));
+ s9(), a7(), nk(L("#libraryProcessingNotice"));
}
}
- }, W9.routing = !1, Y5.own(dk.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !LO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
- })), Eot(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Xct(), xct(), L7(), Promise.all([
+ }, W9.routing = !1, Y5.own(uk.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !IO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
+ })), Dot(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Zct(), Sct(), L7(), Promise.all([
m9(),
- Jct(),
+ Yct(),
T7.entityShapesReady
]).then(() => e.isActive && T7.wantsDiscoveryBars() ? r9() : null).then(() => {
- e.isActive && (D9(), Qlt(), W9.routing = !0, Qc({ pageOpens: 1 }), A9(), J7());
+ e.isActive && (D9(), $lt(), W9.routing = !0, Qc({ pageOpens: 1 }), A9(), J7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
@@ -104434,7 +104442,7 @@ function Rut() {
//#endregion
//#region src/theme-transition.ts
var G9 = !1;
-async function zut(e, t) {
+async function But(e, t) {
if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -104457,7 +104465,7 @@ async function zut(e, t) {
}
//#endregion
//#region src/application/chrome.js
-function But() {
+function Vut() {
(() => {
let e = Y5, t = [
"#brandHome",
@@ -104532,7 +104540,7 @@ function But() {
o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- d.setOpen(!1), P7(!1), lct("媒体库与入库");
+ d.setOpen(!1), P7(!1), uct("媒体库与入库");
});
let s = l.querySelector(".board-library-rows");
e.listen(s, "pointerover", (e) => {
@@ -104549,14 +104557,14 @@ function But() {
h.before(g), e.own(() => g.remove());
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && zut(t, () => {
+ t.getAttribute("aria-pressed") !== "true" && But(t, () => {
Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), $T();
});
})), $T();
let v = document.createElement("div");
v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());
let y = _.querySelector("#boardGlowBtn"), b = Wa(_, y, v);
- e.own(b.dispose), e.own(cle(y)), Iot({
+ e.own(b.dispose), e.own(cle(y)), Lot({
root: v,
store: Z.settingsStore,
openDetails: () => {
@@ -104665,31 +104673,31 @@ function But() {
}
//#endregion
//#region src/application/initialize.js
-function Vut() {
- Aut(), gut(), Lct(), _ut(), eut(), Bot(), Ult(), mut(), ect(), dut(), Sct(), Wlt(), Bst(), uct(), Out(), Nct(), tct(), kut(), Pct(), nct(), alt(), Glt(), Iut(), fut(), Lut(), tut(), Rut(), But(), Y5.own(s9), Y5.own(O9);
+function Hut() {
+ jut(), _ut(), Rct(), vut(), tut(), Vot(), Wlt(), hut(), tct(), fut(), Cct(), Glt(), Vst(), dct(), kut(), Pct(), nct(), Aut(), Fct(), rct(), olt(), Klt(), Lut(), put(), Rut(), nut(), zut(), Vut(), Y5.own(s9), Y5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var Hut = "…", Uut = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Wut = (e) => Uut ? [...Uut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Gut(e, t) {
- let n = Wut(e);
+var Uut = "…", Wut = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), Gut = (e) => Wut ? [...Wut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function Kut(e, t) {
+ let n = Gut(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = Hut;
+ let r = 0, i = Math.max(0, n.length - 1), a = Uut;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Hut + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Uut + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var Kut = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (Kut.canvas ||= document.createElement("canvas")).getContext("2d");
+var qut = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (qut.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, Wut(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, Gut(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), qut = (e) => {
+}, { canvas: null }), Jut = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -104699,40 +104707,40 @@ var Kut = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, Jut = (e) => {
+}, Yut = (e) => {
let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = qut(e), r = n > 0 ? Gut(t.full, (t) => Kut(e, t) <= n) : t.full;
+ let n = Jut(e), r = n > 0 ? Kut(t.full, (t) => qut(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");
}, Z9 = (e) => {
let t = K9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, Jut(e);
+ t.raf = 0, Yut(e);
}));
-}, Yut = (e) => {
+}, Xut = (e) => {
e instanceof HTMLElement && (K9.has(e) || K9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
}), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));
-}, Xut = (e) => {
+}, Zut = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && Yut(t), t.querySelectorAll("[data-middle-truncate]").forEach(Yut);
+ t.matches("[data-middle-truncate]") && Xut(t), t.querySelectorAll("[data-middle-truncate]").forEach(Xut);
};
-function Zut(e = document) {
+function Qut(e = document) {
Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
let t = X9, n = !0;
J9 = new ResizeObserver((e) => e.forEach((e) => {
n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
let r = J9;
- Xut(e.documentElement || e);
+ Zut(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(Xut);
+ e.addedNodes.forEach(Zut);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
let r = K9.get(t);
@@ -104767,50 +104775,50 @@ function Zut(e = document) {
//#endregion
//#region src/react/application.tsx
var Q9 = null;
-function Qut(e) {
+function $ut(e) {
Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
}
-function $ut() {
+function edt() {
if (!Q9) {
- let e = zot();
+ let e = Bot();
Q9 = {
effects: e,
owners: 0
- }, e.own(Zut(document)), e.own(() => {
+ }, e.own(Qut(document)), e.own(() => {
cc(), U.cancelQueries();
- }), e.own(Dot), e.own(xme), e.own(Ra);
+ }), e.own(Oot), e.own(Sme), e.own(Ra);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function edt() {
+function tdt() {
let [e, t] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
- let e = Q9 === null, n = $ut(), r = Tot(t);
+ let e = Q9 === null, n = edt(), r = Eot(t);
if (e) try {
- Vut();
+ Hut();
} catch (e) {
throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Qut(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => $ut(n)));
};
- }, []), /* @__PURE__ */ (0, x.jsx)(xTe, { actions: e });
+ }, []), /* @__PURE__ */ (0, x.jsx)(STe, { actions: e });
}
var $9 = /* @__PURE__ */ new WeakMap();
-function tdt(e) {
+function ndt(e) {
let t = $9.get(e);
if (t) return t;
- let n = (0, ht.createRoot)(e, STe);
+ let n = (0, ht.createRoot)(e, CTe);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- $9.get(e) === n && ($9.delete(e), r(), Q9 && Qut(Q9));
- }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(edt, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && $ut(Q9));
+ }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(tdt, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
-var ndt = document.getElementById("appRoot");
-if (!ndt) throw Error("主界面宿主缺失");
-tdt(ndt);
+var rdt = document.getElementById("appRoot");
+if (!rdt) throw Error("主界面宿主缺失");
+ndt(rdt);
//#endregion
-export { $T as applyTheme, dk as peachHistory, Eo as popCount, Lot as showToast };
+export { $T as applyTheme, uk as peachHistory, Eo as popCount, Rot as showToast };