Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 统一大图画面框与首页默认来源

longmeidao7b1d0b0ae9b3
diff --git a/frontend/e2e/card-layout.test.ts b/frontend/e2e/card-layout.test.ts
new file mode 100644
index 000000000..e3ae5c2ea
--- /dev/null
+++ b/frontend/e2e/card-layout.test.ts
@@ -0,0 +1,36 @@
+import assert from 'node:assert/strict';
+import {after,before,describe,it} from 'node:test';
+import type {Browser} from 'playwright-core';
+import {launch,requiredEnv,VIEWPORTS} from './harness.ts';
+
+describe('混排作品的画面框',()=>{
+ let browser:Browser;
+ before(async()=>{browser=await launch()});
+ after(async()=>{await browser?.close()});
+ for(const viewport of VIEWPORTS)for(const size of ['big','small']){
+ it(`${viewport.name} ${size} 作品与 Mix 等高并保留横图`,async()=>{
+ const context=await browser.newContext({viewport:{width:viewport.width,height:viewport.height}});
+ try{
+ await context.addInitScript(size=>localStorage.setItem('peach.settings.v1',JSON.stringify({detailAutoplay:false,homeLayout:size})),size);
+ const page=await context.newPage();
+ await page.route('**/api/items?*',route=>route.fulfill({json:{items:Array.from({length:20},(_,i)=>({
+ id:91000+i,name:`示例作品 ${i}`,creator:'示例创作者',is_jav:i%2===0,has_thumb:true,has_cover:false,
+ width:1600,height:900,location:'local',duration:120,
+ })),total:20,has_more:false}}));
+ await page.route('**/poster?*',route=>route.fulfill({contentType:'image/svg+xml',body:'<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="900"><rect width="1600" height="900" fill="white"/></svg>'}));
+ await page.goto(requiredEnv('PEACH_E2E_ORIGIN')+'/',{waitUntil:'load'});
+ await page.locator('#grid [data-mix-card]').waitFor();
+ const frames=await page.locator('#grid [data-media-grid] > [data-media-card] [data-media-pic], #grid [data-mix-cover]').evaluateAll(nodes=>nodes.map(node=>{
+ const box=node.getBoundingClientRect(),img=node.querySelector('img')!;
+ return {ratio:box.width/box.height,fit:getComputedStyle(img).objectFit,background:getComputedStyle(img).backgroundColor};
+ }));
+ assert.ok(frames.length>=20);
+ for(const frame of frames){
+ assert.ok(Math.abs(frame.ratio-(size==='big'?3/4:16/9))<.01,JSON.stringify(frame));
+ assert.equal(frame.fit,'contain');
+ assert.equal(frame.background,'rgb(0, 0, 0)');
+ }
+ }finally{await context.close()}
+ });
+ }
+});
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index a3b5d385b..ab1c5ec1d 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -1368,8 +1368,8 @@ describe('设计决定', () => {
}
});
- it('首页也有大图/小图:默认小图,大图只拉长番号卡,选择单独记住', { timeout: 60_000 }, async () => {
- /* 演示库没有番号作品,给首张卡挂一个;第二张保持普通视频,看它不跟着拉长。 */
+ it('首页版式默认小图,大图统一作品画面框,选择单独记住', { timeout: 60_000 }, async () => {
+ /* 首张卡使用番号封面,第二张使用普通预览图。 */
const opened = await openCatalogFixture(browser, (payload) => {
Object.assign(payload.items[0], { is_jav: true, code: 'ABC-123', display_code: 'ABC-123', has_cover: true });
});
@@ -1382,13 +1382,12 @@ describe('设计决定', () => {
assert.ok(Math.abs(await ratio(0) - 16 / 9) < 0.05, '小图下番号卡不是 16:9');
await choice('big').check({ force: true });
assert.ok(Math.abs(await ratio(0) - 0.75) < 0.05, '大图下番号卡没有拉成正封比例');
- assert.ok(Math.abs(await ratio(1) - 16 / 9) < 0.05, '大图把非番号卡也拉长了');
- // 两张卡同在首行:普通视频卡按自己的内容定高,悬停面不铺进番号卡撑出来的那截空白。
- const box = (index: number) => page.locator('#grid [data-media-grid] > [data-media-card][data-id]').nth(index)
+ assert.ok(Math.abs(await ratio(1) - 0.75) < 0.05, '大图下普通作品画面框不是 3:4');
+ const box = (index: number) => page.locator('#grid [data-media-grid] > [data-media-card][data-id]').nth(index).locator('[data-media-pic]')
.evaluate((element) => ({ top: element.getBoundingClientRect().top, height: element.getBoundingClientRect().height }));
const [jav, plain] = [await box(0), await box(1)];
assert.ok(Math.abs(jav.top - plain.top) < 1, '前两张卡不在同一行,量不到撑高');
- assert.ok(plain.height < jav.height - 40, '普通视频卡被同行的番号卡撑到整行高');
+ assert.ok(Math.abs(plain.height - jav.height) < 1, '同行作品画面框不等高');
// `visit()` 的初始化脚本每次导航都重写设置,刷新验不了;直接读存下来的那份。
const saved = await page.evaluate(() => JSON.parse(localStorage.getItem('peach.settings.v1') || '{}'));
assert.equal(saved.homeLayout, 'big', '首页版式没有存下来');
diff --git a/frontend/e2e/home-loading.test.ts b/frontend/e2e/home-loading.test.ts
index 0ed1666b5..81383e6bb 100644
--- a/frontend/e2e/home-loading.test.ts
+++ b/frontend/e2e/home-loading.test.ts
@@ -28,6 +28,12 @@ describe('首页加载结构',()=>{
}).observe(document,{childList:true,subtree:true});
},{hasFeed});
const page=await context.newPage();
+ const scopes:string[]=[];
+ await page.route('**/api/sources',route=>route.fulfill({json:{ok:true,sources:[{location:'local',online:true},{location:'115',online:false}]}}));
+ await page.route(/\/api\/facets\?/,async route=>{
+ scopes.push(new URL(route.request().url()).searchParams.get('loc')||'');
+ await route.continue();
+ });
await page.route(/\/api\/tops\?/,async route=>{
const first=!(Number(new URL(route.request().url()).searchParams.get('page'))>0);
await route.fulfill({json:{performers:first?[{id:90001,k:'示例演员',n:1,has_image:false,has_avatar:false}]:[],studios:[]}});
@@ -66,6 +72,8 @@ describe('首页加载结构',()=>{
assert.equal(await page.evaluate(()=>(window as any).__firstCard?.isConnected&&(window as any).__firstTier?.isConnected),true);
assert.equal(await page.locator('#feedNew [data-skeleton]').count(),0);
assert.equal(await page.locator('#feedNew').getAttribute('aria-label'),'未入库的新作');
+ assert.ok(scopes.length>0);
+ assert.deepEqual([...new Set(scopes)],['local'],'默认筛选始终排除离线来源');
}finally{release();await context.close()}
});
}
diff --git a/frontend/src/react/catalog-grid/catalog-grid-page.tsx b/frontend/src/react/catalog-grid/catalog-grid-page.tsx
index 6e875420d..07011a24f 100644
--- a/frontend/src/react/catalog-grid/catalog-grid-page.tsx
+++ b/frontend/src/react/catalog-grid/catalog-grid-page.tsx
@@ -14,7 +14,7 @@ import { loadingDotsHtml, popCount } from '@peach/legacy/ui';
import { apiGet } from '../../api';
import { RetryNote, useSkeletonReveal } from '../components/grid-reveal';
-import { COVER_FRONT_RATIO, MediaCard, type MediaCardVariant } from '../components/media-card';
+import { cardRatio, MediaCard, type MediaCardVariant } from '../components/media-card';
import { MIX_FLIP_FACES, MixCard } from '../components/mix-card';
import { javArtwork, type Artwork } from './artwork';
import {
@@ -308,7 +308,7 @@ function HomeMix({ seed, layout, helpers, actions }: {
poster={null} artwork={artwork}
artworkIdentity={size === 'small' ? artwork.html : mixFace(seed, { ...layout, size: 'small' }, false, helpers).html}
relayoutArt={(root) => helpers.relayoutArt(root, size)}
- ratio={jav && layout.size === 'big' ? COVER_FRONT_RATIO : 16 / 9}
+ ratio={cardRatio(seed, 'grid', layout)}
flipImages={flipImages} faceHtml={(id) => faces.current.get(id) || ''} canFlip={actions.canFlip}
faces={[]} faceAvatar={() => ''} onOpenEntity={actions.openEntity}
onOpen={(anchor) => actions.openMix(seed.id, anchor)} openLabel={`打开 Mix · ${label}`} />
diff --git a/frontend/src/react/components/media-card.tsx b/frontend/src/react/components/media-card.tsx
index ca5a2f6c3..12f3b5c9d 100644
--- a/frontend/src/react/components/media-card.tsx
+++ b/frontend/src/react/components/media-card.tsx
@@ -43,11 +43,10 @@ const RESOURCE_LABELS: Record<string, string> = { image: '图片', audio: '音
/** 番号作品叫女优,其余出镜者叫艺人。判据由后端 `is_jav` 给。 */
const performerLabel = (item: MediaItem) => (item.is_jav ? '女优' : '艺人');
-/** 这张卡的封面比例。一个列表里的卡必须等高,比例只由列表的语境决定:竖屏只给竖屏带和
- * 显式筛了竖屏的时候,大图只拉长番号作品。 */
-export function cardRatio(item: MediaItem, variant: MediaCardVariant, layout: MediaCardLayout): number {
+/** 一个列表里的画面框等高,比例由版式与竖屏语境决定。 */
+export function cardRatio(_item: MediaItem, variant: MediaCardVariant, layout: MediaCardLayout): number {
if (variant === 'short' || layout.portrait) return PORTRAIT_RATIO;
- return layout.active && item.is_jav && layout.size === 'big' ? COVER_FRONT_RATIO : 16 / 9;
+ return layout.active && layout.size === 'big' ? COVER_FRONT_RATIO : 16 / 9;
}
export interface MediaCardProps {
diff --git a/frontend/test/react/catalog-grid.test.tsx b/frontend/test/react/catalog-grid.test.tsx
index 9aeb28edb..b07ccd454 100644
--- a/frontend/test/react/catalog-grid.test.tsx
+++ b/frontend/test/react/catalog-grid.test.tsx
@@ -111,9 +111,9 @@ describe('比例', () => {
expect(ratio(item(2), 'grid', { portrait: true })).toBeCloseTo(9 / 16);
});
- it('大图只拉长番号作品,番号版式没生效时照旧 16:9', () => {
+ it('大图统一所有作品的画面框,未启用的视图使用横框', () => {
expect(ratio(jav, 'grid', { active: true, size: 'big' })).toBe(0.75);
- expect(ratio(item(2), 'grid', { active: true, size: 'big' })).toBeCloseTo(16 / 9);
+ expect(ratio(item(2), 'grid', { active: true, size: 'big' })).toBe(0.75);
expect(ratio(jav, 'grid', { active: false, size: 'big' })).toBeCloseTo(16 / 9);
expect(ratio(jav, 'grid', { active: true, size: 'small' })).toBeCloseTo(16 / 9);
});
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index 31ed66cc4..db339b43a 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -3252,7 +3252,7 @@ class WebUiSourceTests(unittest.TestCase):
显式写了 `loc=` 就是用户自己选的。全部脱盘时保持原样:清空会变成什么都不筛。
"""
self.assertPageContains("function dropOfflineFromDefaultLoc(){")
- self.assertPageContains("if(initialParams.get('loc'))return;")
+ self.assertPageContains("if(initialParams.has('loc'))return;")
self.assertPageContains("dropOfflineFromDefaultLoc();")
def test_no_dropdown_falls_back_to_the_browser_control(self):
diff --git a/web/app.js b/web/app.js
index 2e08de2e9..d5a1c93c4 100644
--- a/web/app.js
+++ b/web/app.js
@@ -1246,9 +1246,11 @@ state={loc:initialParams.get('loc')??'local,115',creator:initialParam('creator')
全部来源都脱盘时保持原样——清空筛选会变成「什么都不筛」,那比原状更糟。
必须写在 `state` 之后:`loadSourceStatus()` 在启动时调它,那时 `state` 已初始化。 */
function dropOfflineFromDefaultLoc(){
- if(initialParams.get('loc'))return;
- const kept=state.loc.split(',').filter(Boolean).filter(k=>sourceOnline[k]!==false);
- if(kept.length&&kept.length!==state.loc.split(',').filter(Boolean).length)state.loc=kept.join(',');
+ if(initialParams.has('loc'))return;
+ state.loc=onlineDefaultLoc(state.loc);
+}
+function onlineDefaultLoc(loc){
+ return loc.split(',').filter(Boolean).filter(k=>sourceOnline[k]!==false).join(',')||loc;
}
const HOME_QUERY_KEYS=['loc','creator','studio','owner','tag','tag_match','len','dur_min','dur_max','orient','region','sort','dir','q','jav'];
function homePath(filters=state){
@@ -6591,9 +6593,7 @@ function javLayoutButtons(){
return iconSwitchHtml('jav-layout','JAV 卡片版式',JAV_LAYOUTS,javLayout(),
{attr:'data-jav-layout',className:'javlayout'});
}
-/* 首页(非 JAV 模式)也有大图/小图。首页混着番号作品和创作者作品,大图只拉长带番号的
- 那几张,其余照旧 16:9,和资料页同一个口径。它单独记在 `homeLayout`、默认小图:
- JAV 模式的版式是给整屏番号挑的,搬到混排的首页未必合适,两边各记各的。 */
+/* 首页与 JAV 视图分别保存版式。大图统一作品卡与 Mix 的画面框,预览图完整居中并留黑边。 */
function homeLayoutActive(){
return decodeURIComponent(location.pathname)==='/'&&state.jav!=='1';
}
@@ -6846,9 +6846,7 @@ function catalogGridLayout(){
if(!catalogLayoutValue||Object.keys(next).some(key=>next[key]!==catalogLayoutValue[key]))catalogLayoutValue=next;
return catalogLayoutValue;
}
-/* 作品网格的骨架(目录、回收站、资料页作品区)。封面比例跟真卡的 `cardRatio` 对番号
- 作品给的那一档一致:显式筛了竖屏是 9:16,首页与 JAV 语境下选了大图是 3:4 正封,
- 其余 16:9。首页大图只拉长番号作品,骨架不知道会回来哪几张,按版式本身给。 */
+/* 作品网格的骨架与真卡共享比例:显式竖屏为 9:16,大图为 3:4,其余为 16:9。 */
function catalogSkeletonHtml(label='正在读取作品'){
return pageSkeletonHtml(label,{cards:true,className:'catalog-skeleton postercard-skeleton',cardRatio:catalogCardRatio()});
}
@@ -7983,7 +7981,7 @@ function openCatalog(path){
const params=new URLSearchParams(location.search);
const enteringHome=path==='/'&&lastRoutePath!=='/';
if(enteringHome){barsDataCache=null;barsDataPromise=null}
- state={...state,loc:params.get('loc')??'local,115',creator:params.get('creator')||'',studio:params.get('studio')||'',
+ state={...state,loc:params.get('loc')??onlineDefaultLoc('local,115'),creator:params.get('creator')||'',studio:params.get('studio')||'',
tag:cleanTagFilter(params.get('tag')),tag_match:params.get('tag_match')==='any'?'any':'all',len:params.get('len')||'',
dur_min:params.get('dur_min')||'',dur_max:params.get('dur_max')||'',orient:params.get('orient')||'',
state:ROUTE_STATES[path]||params.get('state')||'',...resolveSort(params.get('sort'),params.get('dir')),
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index ebbb26737..3e167f21a 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -11898,44 +11898,44 @@ var $ee = /*#__PURE__*/ I.forwardRef(({ children: e, ...t }, n) => {
r.current ||= !0;
}, []), /*#__PURE__*/ I.createElement(Kg.Provider, { value: a }, e);
});
-function ete({ children: e }) {
+function _y({ children: e }) {
let t = (0, I.useMemo)(() => ({ register: () => {} }), []);
return /*#__PURE__*/ I.createElement(Kg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var _y = /*#__PURE__*/ (0, I.createContext)({});
-function vy(e) {
- let { getContainer: t } = e, { getContainer: n } = yy();
- return /*#__PURE__*/ I.createElement(_y.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var vy = /*#__PURE__*/ (0, I.createContext)({});
+function yy(e) {
+ let { getContainer: t } = e, { getContainer: n } = by();
+ return /*#__PURE__*/ I.createElement(vy.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function yy() {
- return (0, I.useContext)(_y) ?? {};
+function by() {
+ return (0, I.useContext)(vy) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var by = /*#__PURE__*/ I.createContext(null);
-function xy(e) {
+var xy = /*#__PURE__*/ I.createContext(null);
+function Sy(e) {
let t = jm(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, I.useState)(!1), o = (0, I.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = yy();
+ }), [i, a]), { getContainer: s } = by();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
return e.disableFocusManagement || (c = /*#__PURE__*/ I.createElement(l_, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ I.createElement(by.Provider, { value: o }, /*#__PURE__*/ I.createElement(ete, null, /*#__PURE__*/ I.createElement(Rh.Provider, { value: null }, c))), /*#__PURE__*/ Yh.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ I.createElement(xy.Provider, { value: o }, /*#__PURE__*/ I.createElement(_y, null, /*#__PURE__*/ I.createElement(Rh.Provider, { value: null }, c))), /*#__PURE__*/ Yh.createPortal(c, n);
}
-function Sy() {
- let e = (0, I.useContext)(by)?.setContain;
+function Cy() {
+ let e = (0, I.useContext)(xy)?.setContain;
Gp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Cy(e, t) {
+function wy(e, t) {
let { role: n = "dialog" } = e, r = gh();
r = e["aria-label"] ? void 0 : r;
let i = gh();
@@ -11951,7 +11951,7 @@ function Cy(e, t) {
clearTimeout(e);
};
}
- }, [t]), Sy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
+ }, [t]), Cy(), (0, I.useRef)(!1), (0, I.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
@@ -11970,7 +11970,7 @@ function Cy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function wy(e = {}) {
+function Ty(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, I.useRef)({
isFocused: !1,
isFocusVisible: t || Jm()
@@ -11998,35 +11998,35 @@ function wy(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Ty(e = {}) {
+function Ey(e = {}) {
let { locale: t } = Eg();
return (0, I.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var Ey = !1, Dy = 0;
-function Oy() {
- Ey = !0, setTimeout(() => {
- Ey = !1;
+var Dy = !1, Oy = 0;
+function ky() {
+ Dy = !0, setTimeout(() => {
+ Dy = !1;
}, 500);
}
-function ky(e) {
- e.pointerType === "touch" && Oy();
+function Ay(e) {
+ e.pointerType === "touch" && ky();
}
-function Ay() {
+function jy() {
let e = xp(null);
- if (e !== void 0) return Dy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ky), Dy++, () => {
- Dy--, !(Dy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ky);
+ if (e !== void 0) return Oy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Ay), Oy++, () => {
+ Oy--, !(Oy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Ay);
};
}
-function jy(e) {
+function My(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, I.useState)(!1), s = (0, I.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, I.useEffect)(Ay, []);
+ (0, I.useEffect)(jy, []);
let { addGlobalListener: c, removeAllGlobalListeners: l } = qg(), { hoverProps: u, triggerHoverEnd: d } = (0, I.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !jp(e.currentTarget, V(e))) return;
@@ -12048,7 +12048,7 @@ function jy(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- Ey && t.pointerType === "mouse" || e(t, t.pointerType);
+ Dy && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && jp(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -12073,12 +12073,12 @@ function jy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function My(e) {
+function Ny(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, I.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = _g((e) => {
- n && Ny(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && Py(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = _g((e) => {
n && n(e);
});
@@ -12088,7 +12088,7 @@ function My(e) {
let n = t.current, i = xp(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && Ny(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && Py(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -12096,7 +12096,7 @@ function My(e) {
}
}, [t, r]);
}
-function Ny(e, t) {
+function Py(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -12107,8 +12107,8 @@ function Ny(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var Py = {};
-Py = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -12122,8 +12122,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var Fy = {};
-Fy = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -12137,8 +12137,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var Iy = {};
-Iy = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -12152,8 +12152,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var Ly = {};
-Ly = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -12167,8 +12167,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var Ry = {};
-Ry = {
+var zy = {};
+zy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -12182,8 +12182,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var zy = {};
-zy = {
+var By = {};
+By = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -12197,8 +12197,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var By = {};
-By = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -12212,8 +12212,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Vy = {};
-Vy = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -12227,8 +12227,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Hy = {};
-Hy = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -12242,8 +12242,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Uy = {};
-Uy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -12257,8 +12257,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Wy = {};
-Wy = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -12272,8 +12272,8 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Gy = {};
-Gy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -12287,8 +12287,8 @@ Gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Ky = {};
-Ky = {
+var qy = {};
+qy = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -12302,8 +12302,8 @@ Ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var qy = {};
-qy = {
+var Jy = {};
+Jy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -12317,8 +12317,8 @@ qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Jy = {};
-Jy = {
+var Yy = {};
+Yy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -12332,8 +12332,8 @@ Jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Yy = {};
-Yy = {
+var Xy = {};
+Xy = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -12347,8 +12347,8 @@ Yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Xy = {};
-Xy = {
+var Zy = {};
+Zy = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -12362,8 +12362,8 @@ Xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Zy = {};
-Zy = {
+var Qy = {};
+Qy = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -12377,8 +12377,8 @@ Zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Qy = {};
-Qy = {
+var $y = {};
+$y = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12392,8 +12392,8 @@ Qy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var $y = {};
-$y = {
+var eb = {};
+eb = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12407,8 +12407,8 @@ $y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var eb = {};
-eb = {
+var tb = {};
+tb = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12422,8 +12422,8 @@ eb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var tb = {};
-tb = {
+var nb = {};
+nb = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12437,8 +12437,8 @@ tb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var nb = {};
-nb = {
+var rb = {};
+rb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12452,8 +12452,8 @@ nb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var rb = {};
-rb = {
+var ib = {};
+ib = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12467,8 +12467,8 @@ rb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var ib = {};
-ib = {
+var ab = {};
+ab = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12482,8 +12482,8 @@ ib = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var ab = {};
-ab = {
+var ob = {};
+ob = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12497,8 +12497,8 @@ ab = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var ob = {};
-ob = {
+var sb = {};
+sb = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12512,8 +12512,8 @@ ob = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var sb = {};
-sb = {
+var cb = {};
+cb = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12527,8 +12527,8 @@ sb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var cb = {};
-cb = {
+var lb = {};
+lb = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12542,8 +12542,8 @@ cb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var lb = {};
-lb = {
+var ub = {};
+ub = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12557,8 +12557,8 @@ lb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var ub = {};
-ub = {
+var db = {};
+db = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12572,8 +12572,8 @@ ub = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var db = {};
-db = {
+var fb = {};
+fb = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12587,8 +12587,8 @@ db = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var fb = {};
-fb = {
+var pb = {};
+pb = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12602,8 +12602,8 @@ fb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var pb = {};
-pb = {
+var mb = {};
+mb = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12617,55 +12617,55 @@ pb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var mb = {};
-mb = {
- "ar-AE": Py,
- "bg-BG": Fy,
- "cs-CZ": Iy,
- "da-DK": Ly,
- "de-DE": Ry,
- "el-GR": zy,
- "en-US": By,
- "es-ES": Vy,
- "et-EE": Hy,
- "fi-FI": Uy,
- "fr-FR": Wy,
- "he-IL": Gy,
- "hr-HR": Ky,
- "hu-HU": qy,
- "it-IT": Jy,
- "ja-JP": Yy,
- "ko-KR": Xy,
- "lt-LT": Zy,
- "lv-LV": Qy,
- "nb-NO": $y,
- "nl-NL": eb,
- "pl-PL": tb,
- "pt-BR": nb,
- "pt-PT": rb,
- "ro-RO": ib,
- "ru-RU": ab,
- "sk-SK": ob,
- "sl-SI": sb,
- "sr-SP": cb,
- "sv-SE": lb,
- "tr-TR": ub,
- "uk-UA": db,
- "zh-CN": fb,
- "zh-TW": pb
+var hb = {};
+hb = {
+ "ar-AE": Fy,
+ "bg-BG": Iy,
+ "cs-CZ": Ly,
+ "da-DK": Ry,
+ "de-DE": zy,
+ "el-GR": By,
+ "en-US": Vy,
+ "es-ES": Hy,
+ "et-EE": Uy,
+ "fi-FI": Wy,
+ "fr-FR": Gy,
+ "he-IL": Ky,
+ "hr-HR": qy,
+ "hu-HU": Jy,
+ "it-IT": Yy,
+ "ja-JP": Xy,
+ "ko-KR": Zy,
+ "lt-LT": Qy,
+ "lv-LV": $y,
+ "nb-NO": eb,
+ "nl-NL": tb,
+ "pl-PL": nb,
+ "pt-BR": rb,
+ "pt-PT": ib,
+ "ro-RO": ab,
+ "ru-RU": ob,
+ "sk-SK": sb,
+ "sl-SI": cb,
+ "sr-SP": lb,
+ "sv-SE": ub,
+ "tr-TR": db,
+ "uk-UA": fb,
+ "zh-CN": pb,
+ "zh-TW": mb
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function tte(e) {
+function ete(e) {
return e && e.__esModule ? e.default : e;
}
-function nte(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Lg(tte(mb), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
+function tte(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Lg(ete(hb), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, I.useRef)(i), o = (0, I.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = hb(i, a.current), o = hb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = gb(i, a.current), o = gb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -12704,7 +12704,7 @@ function nte(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function hb(e, t) {
+function gb(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -12712,7 +12712,7 @@ function hb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function gb(e, t) {
+function _b(e, t) {
let n = t?.isDisabled, [r, i] = (0, I.useState)(!1);
return Gp(() => {
if (e?.current && !n) {
@@ -12737,11 +12737,11 @@ function gb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function rte(e) {
+function nte(e) {
return e && e.__esModule ? e.default : e;
}
-function ite(e) {
- let t = Lg(rte(mb), "@react-aria/grid"), n = Zm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+function rte(e) {
+ let t = Lg(nte(hb), "@react-aria/grid"), n = Zm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
return I_((0, I.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
@@ -12755,7 +12755,7 @@ function ite(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function _b(e) {
+function vb(e) {
let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = gy({
usage: "search",
sensitivity: "base"
@@ -12786,7 +12786,7 @@ function _b(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function vb(e) {
+function yb(e) {
let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = fm();
t = mh(t);
let p = (e) => {
@@ -12833,20 +12833,20 @@ function vb(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || bb(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || xb(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !yb(e.key)) return;
+ if (e.pointerType === "keyboard" && !bb(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || bb(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || xb(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && yb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && bb(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
let A = gv(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
@@ -12915,22 +12915,22 @@ function vb(e) {
hasAction: S
};
}
-function yb(e) {
+function bb(e) {
return e === "Enter";
}
-function bb(e) {
+function xb(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function ate(e) {
+function ite(e) {
return e && e.__esModule ? e.default : e;
}
-function ote(e, t) {
+function ate(e, t) {
let { key: n } = e, r = t.selectionManager, i = mh(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Lg(ate(mb), "@react-aria/grid").format("select"),
+ "aria-label": Lg(ite(hb), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12938,10 +12938,10 @@ function ote(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function ste(e, t, n) {
+function ote(e, t, n) {
let r = zg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = _b({
+ let { listProps: s } = vb({
...e,
ref: n,
selectionManager: t.selectionManager,
@@ -12979,7 +12979,7 @@ function ste(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function cte(e) {
+function ste(e) {
let { heading: t, "aria-label": n } = e, r = mh();
return {
itemProps: { role: "presentation" },
@@ -12999,7 +12999,7 @@ function cte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function lte(e, t, n) {
+function cte(e, t, n) {
let { key: r } = e, i = lv.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = gh(), f = gh(), p = {
role: "option",
"aria-disabled": a || void 0,
@@ -13012,7 +13012,7 @@ function lte(e, t, n) {
let e = Number(m?.index);
p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = my(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = dv(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = vb({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = dv(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = yb({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -13025,7 +13025,7 @@ function lte(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = jy({
+ }), { hoverProps: S } = My({
isDisabled: a || !c,
onHoverStart() {
Jm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
@@ -13052,13 +13052,13 @@ function lte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var xb = /* @__PURE__ */ new WeakMap();
+var Sb = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function ute(e, t, n) {
+function lte(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = zg(e, { labelable: !0 }), { listProps: c } = _b({
+ let s = zg(e, { labelable: !0 }), { listProps: c } = vb({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -13067,7 +13067,7 @@ function ute(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return xb.set(t, {
+ return Sb.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -13084,8 +13084,8 @@ function ute(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function dte(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = xb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = fm(), M = () => {
+function ute(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = Sb.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = fm(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
@@ -13119,7 +13119,7 @@ function dte(e, t, n) {
m?.(e), M(), ym(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = vb({
+ }, { itemProps: se, isFocused: ce } = yb({
id: r,
selectionManager: C,
key: i,
@@ -13135,7 +13135,7 @@ function dte(e, t, n) {
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: L } = jy({
+ }), { hoverProps: L } = My({
isDisabled: E,
onHoverStart(e) {
!Jm() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
@@ -13197,7 +13197,7 @@ function dte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function fte(e) {
+function dte(e) {
let { heading: t, "aria-label": n } = e, r = mh();
return {
itemProps: { role: "presentation" },
@@ -13214,15 +13214,15 @@ function fte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function pte() {
+function fte() {
return window.ResizeObserver !== void 0;
}
-function Sb(e) {
+function Cb(e) {
let { ref: t, box: n, onResize: r } = e, i = _g(r);
(0, I.useEffect)(() => {
let e = t?.current;
if (e) {
- if (pte()) {
+ if (fte()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -13238,186 +13238,186 @@ function Sb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var Cb = {};
-Cb = { dismiss: "تجاهل" };
+var wb = {};
+wb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var wb = {};
-wb = { dismiss: "Отхвърляне" };
+var Tb = {};
+Tb = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var Tb = {};
-Tb = { dismiss: "Odstranit" };
+var Eb = {};
+Eb = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var Eb = {};
-Eb = { dismiss: "Luk" };
+var Db = {};
+Db = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var Db = {};
-Db = { dismiss: "Schließen" };
+var Ob = {};
+Ob = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var Ob = {};
-Ob = { dismiss: "Απόρριψη" };
+var kb = {};
+kb = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var kb = {};
-kb = { dismiss: "Dismiss" };
+var Ab = {};
+Ab = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var Ab = {};
-Ab = { dismiss: "Descartar" };
+var jb = {};
+jb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var jb = {};
-jb = { dismiss: "Lõpeta" };
+var Mb = {};
+Mb = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var Mb = {};
-Mb = { dismiss: "Hylkää" };
+var Nb = {};
+Nb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var Nb = {};
-Nb = { dismiss: "Rejeter" };
+var Pb = {};
+Pb = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var Pb = {};
-Pb = { dismiss: "התעלם" };
+var Fb = {};
+Fb = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var Fb = {};
-Fb = { dismiss: "Odbaci" };
+var Ib = {};
+Ib = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var Ib = {};
-Ib = { dismiss: "Elutasítás" };
+var Lb = {};
+Lb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Lb = {};
-Lb = { dismiss: "Ignora" };
+var Rb = {};
+Rb = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Rb = {};
-Rb = { dismiss: "閉じる" };
+var zb = {};
+zb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var zb = {};
-zb = { dismiss: "무시" };
+var Bb = {};
+Bb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Bb = {};
-Bb = { dismiss: "Atmesti" };
+var Vb = {};
+Vb = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Vb = {};
-Vb = { dismiss: "Nerādīt" };
+var Hb = {};
+Hb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Hb = {};
-Hb = { dismiss: "Lukk" };
+var Ub = {};
+Ub = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Ub = {};
-Ub = { dismiss: "Negeren" };
+var Wb = {};
+Wb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Wb = {};
-Wb = { dismiss: "Zignoruj" };
+var Gb = {};
+Gb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Gb = {};
-Gb = { dismiss: "Descartar" };
+var Kb = {};
+Kb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Kb = {};
-Kb = { dismiss: "Dispensar" };
+var qb = {};
+qb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var qb = {};
-qb = { dismiss: "Revocare" };
+var Jb = {};
+Jb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Jb = {};
-Jb = { dismiss: "Пропустить" };
+var Yb = {};
+Yb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Yb = {};
-Yb = { dismiss: "Zrušiť" };
+var Xb = {};
+Xb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Xb = {};
-Xb = { dismiss: "Opusti" };
+var Zb = {};
+Zb = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Zb = {};
-Zb = { dismiss: "Odbaci" };
+var Qb = {};
+Qb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Qb = {};
-Qb = { dismiss: "Avvisa" };
+var $b = {};
+$b = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var $b = {};
-$b = { dismiss: "Kapat" };
+var ex = {};
+ex = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var ex = {};
-ex = { dismiss: "Скасувати" };
+var tx = {};
+tx = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var tx = {};
-tx = { dismiss: "取消" };
+var nx = {};
+nx = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var nx = {};
-nx = { dismiss: "關閉" };
+var rx = {};
+rx = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var rx = {};
-rx = {
- "ar-AE": Cb,
- "bg-BG": wb,
- "cs-CZ": Tb,
- "da-DK": Eb,
- "de-DE": Db,
- "el-GR": Ob,
- "en-US": kb,
- "es-ES": Ab,
- "et-EE": jb,
- "fi-FI": Mb,
- "fr-FR": Nb,
- "he-IL": Pb,
- "hr-HR": Fb,
- "hu-HU": Ib,
- "it-IT": Lb,
- "ja-JP": Rb,
- "ko-KR": zb,
- "lt-LT": Bb,
- "lv-LV": Vb,
- "nb-NO": Hb,
- "nl-NL": Ub,
- "pl-PL": Wb,
- "pt-BR": Gb,
- "pt-PT": Kb,
- "ro-RO": qb,
- "ru-RU": Jb,
- "sk-SK": Yb,
- "sl-SI": Xb,
- "sr-SP": Zb,
- "sv-SE": Qb,
- "tr-TR": $b,
- "uk-UA": ex,
- "zh-CN": tx,
- "zh-TW": nx
+var ix = {};
+ix = {
+ "ar-AE": wb,
+ "bg-BG": Tb,
+ "cs-CZ": Eb,
+ "da-DK": Db,
+ "de-DE": Ob,
+ "el-GR": kb,
+ "en-US": Ab,
+ "es-ES": jb,
+ "et-EE": Mb,
+ "fi-FI": Nb,
+ "fr-FR": Pb,
+ "he-IL": Fb,
+ "hr-HR": Ib,
+ "hu-HU": Lb,
+ "it-IT": Rb,
+ "ja-JP": zb,
+ "ko-KR": Bb,
+ "lt-LT": Vb,
+ "lv-LV": Hb,
+ "nb-NO": Ub,
+ "nl-NL": Wb,
+ "pl-PL": Gb,
+ "pt-BR": Kb,
+ "pt-PT": qb,
+ "ro-RO": Jb,
+ "ru-RU": Yb,
+ "sk-SK": Xb,
+ "sl-SI": Zb,
+ "sr-SP": Qb,
+ "sv-SE": $b,
+ "tr-TR": ex,
+ "uk-UA": tx,
+ "zh-CN": nx,
+ "zh-TW": rx
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function mte(e) {
+function pte(e) {
return e && e.__esModule ? e.default : e;
}
-function ix(e) {
- let { onDismiss: t, ...n } = e, r = yg(n, Lg(mte(rx), "@react-aria/overlays").format("dismiss")), i = () => {
+function ax(e) {
+ let { onDismiss: t, ...n } = e, r = yg(n, Lg(pte(ix), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
return /*#__PURE__*/ I.createElement(iv, null, /*#__PURE__*/ I.createElement("button", {
@@ -13432,22 +13432,22 @@ function ix(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var ax = [];
-function ox(e, t) {
+var ox = [];
+function sx(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, I.useRef)(void 0);
(0, I.useEffect)(() => {
- if (i && !ax.includes(t)) return ax.push(t), () => {
- let e = ax.indexOf(t);
- e >= 0 && ax.splice(e, 1);
+ if (i && !ox.includes(t)) return ox.push(t), () => {
+ let e = ox.indexOf(t);
+ e >= 0 && ox.splice(e, 1);
};
}, [i, t]);
let l = () => {
- ax[ax.length - 1] === t && n && n();
+ ox[ox.length - 1] === t && n && n();
}, u = (e) => {
- let n = ax[ax.length - 1];
+ let n = ox[ox.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (ax[ax.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (ox[ox.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = Fh({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -13455,7 +13455,7 @@ function ox(e, t) {
}
return !1;
} } });
- My({
+ Ny({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
@@ -13476,20 +13476,20 @@ function ox(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var sx = typeof document < "u" && window.visualViewport, cx = 0, lx;
-function ux(e = {}) {
+var cx = typeof document < "u" && window.visualViewport, lx = 0, ux;
+function dx(e = {}) {
let { isDisabled: t } = e;
Gp(() => {
- if (!t) return cx++, cx === 1 && (lx = rm() && am() ? gte() : hte()), () => {
- cx--, cx === 0 && lx();
+ if (!t) return lx++, lx === 1 && (ux = rm() && am() ? hte() : mte()), () => {
+ lx--, lx === 0 && ux();
};
}, [t]);
}
-function hte() {
+function mte() {
let e = window.innerWidth - document.documentElement.clientWidth;
return ch(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Op(document.documentElement, "scrollbar-gutter", "stable") : Op(document.documentElement, "padding-right", `${e}px`)), Op(document.documentElement, "overflow", "hidden"));
}
-function gte() {
+function hte() {
let e = Op(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
t = A_(r) ? r : j_(r, !0), n = !1;
@@ -13507,7 +13507,7 @@ function gte() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && gg(n) ? (n.focus({ preventScroll: !0 }), dx(n, gg(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && gg(n) ? (n.focus({ preventScroll: !0 }), fx(n, gg(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -13517,7 +13517,7 @@ function gte() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && dx(this, n);
+ }), (!e || !e.preventScroll) && fx(this, n);
}
});
let l = ch(Dp(document, "touchstart", r, {
@@ -13535,10 +13535,10 @@ function gte() {
});
};
}
-function dx(e, t) {
- t || !sx ? fx(e) : sx.addEventListener("resize", () => fx(e), { once: !0 });
+function fx(e, t) {
+ t || !cx ? px(e) : cx.addEventListener("resize", () => px(e), { once: !0 });
}
-function fx(e) {
+function px(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
let e = j_(n);
@@ -13546,7 +13546,7 @@ function fx(e) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- sx && (n = Math.min(n, sx.offsetTop + sx.height));
+ cx && (n = Math.min(n, cx.offsetTop + cx.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -13559,13 +13559,13 @@ function fx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function _te(e, t, n) {
- let { overlayProps: r, underlayProps: i } = ox({
+function gte(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = sx({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return ux({ isDisabled: !t.isOpen }), Sy(), (0, I.useEffect)(() => {
+ return dx({ isDisabled: !t.isOpen }), Cy(), (0, I.useEffect)(() => {
if (t.isOpen && n.current) return cv([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
@@ -13574,32 +13574,32 @@ function _te(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var px = {
+var mx = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, mx = {
+}, hx = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, vte = {
+}, _te = {
top: "left",
left: "top"
-}, hx = {
+}, gx = {
top: "height",
left: "width"
-}, gx = {
+}, _x = {
width: "totalWidth",
height: "totalHeight"
-}, _x = {}, yte = () => typeof document < "u" ? window.visualViewport : null;
-function vx(e, t) {
+}, vx = {}, vte = () => typeof document < "u" ? window.visualViewport : null;
+function yx(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = wx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = Tx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return am() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
@@ -13610,7 +13610,7 @@ function vx(e, t) {
left: s
};
}
-function bte(e) {
+function yte(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13618,11 +13618,11 @@ function bte(e) {
height: e.scrollHeight
};
}
-function yx(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[hx[e]], l = o[e] + r.scroll[px[e]] + a, u = o[e] + r.scroll[px[e]] + c - a, d = t - s + r.scroll[px[e]] + o[e] - r[px[e]], f = t - s + n + r.scroll[px[e]] + o[e] - r[px[e]];
+function bx(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[gx[e]], l = o[e] + r.scroll[mx[e]] + a, u = o[e] + r.scroll[mx[e]] + c - a, d = t - s + r.scroll[mx[e]] + o[e] - r[mx[e]], f = t - s + n + r.scroll[mx[e]] + o[e] - r[mx[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function xte(e) {
+function bte(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13631,55 +13631,55 @@ function xte(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function bx(e) {
- if (_x[e]) return _x[e];
- let [t, n] = e.split(" "), r = px[t] || "right", i = vte[r];
- px[n] || (n = "center");
- let a = hx[r], o = hx[i];
- return _x[e] = {
+function xx(e) {
+ if (vx[e]) return vx[e];
+ let [t, n] = e.split(" "), r = mx[t] || "right", i = _te[r];
+ mx[n] || (n = "center");
+ let a = gx[r], o = gx[i];
+ return vx[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, _x[e];
+ }, vx[e];
}
-function xx(e, t, n, r, i, a, o, s, c, l, u) {
+function Sx(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
if (_[m] = tv(_[m], v, y), d === p) {
- let t = s ? u[h] : u[gx[h]];
- _[mx[p]] = Math.floor(t - e[p] + i);
+ let t = s ? u[h] : u[_x[h]];
+ _[hx[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Ste(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[gx.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function xte(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[_x.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function Sx(e, t, n, r, i, a, o, s) {
+function Cx(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[mx[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[mx[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[hx[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[hx[l]] - i);
}
-function Cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = bx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = xx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Sx(s, l, t, i, a + u, v, c, g);
+function Ste(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = xx(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Sx(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Cx(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = bx(`${mx[S]} ${C}`), r = xx(t, s, n, e, u, d, l, f, m, h, c);
- Sx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = xx(`${hx[S]} ${C}`), r = Sx(t, s, n, e, u, d, l, f, m, h, c);
+ Cx(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = yx(b, w[b], n[x], s, c, a, l);
+ let O = bx(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Ste(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = xx(t, s, n, v, T, d, l, f, m, h, c), O = yx(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[px[b]], M = j + .5 * t[x], N = m / 2 + h, ee = px[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = tv(tv(M, t[b] + m / 2 - (w[b] + i[px[b]]), t[b] + t[x] - m / 2 - (w[b] + i[px[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = xte(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Sx(t, s, n, v, T, d, l, f, m, h, c), O = bx(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[mx[b]], M = j + .5 * t[x], N = m / 2 + h, ee = mx[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = tv(tv(M, t[b] + m / 2 - (w[b] + i[mx[b]]), t[b] + t[x] - m / 2 - (w[b] + i[mx[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -13693,17 +13693,17 @@ function Cte(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function wte(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = yte(), h = r instanceof HTMLElement ? Tte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? wx(n, !1, p) : Tx(n, h, !1, p);
+function Cte(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = vte(), h = r instanceof HTMLElement ? wte(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Tx(n, !1, p) : Ex(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = wx(r, !0), x = xte(r);
+ let b = Tx(r, !0), x = bte(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = bte(i), C = vx(s, m), w = vx(h, m), T;
+ let S = yte(i), C = yx(s, m), w = yx(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Cx(h, !1);
+ let e = wx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13715,11 +13715,11 @@ function wte(e) {
left: 0,
width: 0,
height: 0
- } : Tx(s, h, !1);
+ } : Ex(s, h, !1);
let E = jp(s, h);
- return Cte(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return Ste(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Cx(e, t) {
+function wx(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -13728,8 +13728,8 @@ function Cx(e, t) {
height: a
};
}
-function wx(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Cx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Tx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || wx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13737,29 +13737,29 @@ function wx(e, t, n) {
height: o
};
}
-function Tx(e, t, n, r) {
+function Ex(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Cx(e, n);
+ if (i.position === "fixed") a = r || wx(e, n);
else {
- a = wx(e, n, r);
- let i = wx(t, n), o = window.getComputedStyle(t);
+ a = Tx(e, n, r);
+ let i = Tx(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function Tte(e) {
+function wte(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Ex(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Ex(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Dx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Dx(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Ex(e) {
+function Dx(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Dx = typeof document < "u" ? window.visualViewport : null;
-function Ete(e) {
+var Ox = typeof document < "u" ? window.visualViewport : null;
+function Tte(e) {
let { direction: t } = Eg(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, I.useState)(null), x = [
p,
s,
@@ -13777,12 +13777,12 @@ function Ete(e) {
g,
_,
n
- ], S = (0, I.useRef)(Dx?.scale);
+ ], S = (0, I.useRef)(Ox?.scale);
(0, I.useEffect)(() => {
- m && (S.current = Dx?.scale);
+ m && (S.current = Ox?.scale);
}, [m]);
let C = (0, I.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Dx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Ox?.scale !== S.current) return;
let e = null;
if (o.current && Pp(o.current)) {
let t = Mp()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -13793,8 +13793,8 @@ function Ete(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = wte({
- placement: Ote(s, t),
+ let y = Cte({
+ placement: Dte(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13804,7 +13804,7 @@ function Ete(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Cx(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? wx(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -13817,10 +13817,10 @@ function Ete(e) {
}
b(y);
}, x);
- Gp(C, x), Dte(C), Sb({
+ Gp(C, x), Ete(C), Cb({
ref: i,
onResize: C
- }), Sb({
+ }), Cb({
ref: r,
onResize: C
});
@@ -13833,10 +13833,10 @@ function Ete(e) {
}, n = () => {
w.current && t();
};
- Dx?.addEventListener("resize", t), Dx?.addEventListener("scroll", n);
+ Ox?.addEventListener("resize", t), Ox?.addEventListener("scroll", n);
let r = Dp(Np(window), "scroll", n);
return () => {
- Dx?.removeEventListener("resize", t), Dx?.removeEventListener("scroll", n), r();
+ Ox?.removeEventListener("resize", t), Ox?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, I.useCallback)(() => {
@@ -13868,25 +13868,25 @@ function Ete(e) {
updatePosition: C
};
}
-function Dte(e) {
+function Ete(e) {
Gp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Ote(e, t) {
+function Dte(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function kte(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = ox({
+function Ote(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = sx({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Ete({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Tte({
...c,
targetRef: n,
overlayRef: r,
@@ -13894,7 +13894,7 @@ function kte(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- ux({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
+ dx({ isDisabled: a || !t.isOpen }), (0, I.useEffect)(() => {
if (t.isOpen && r.current) return a ? Kee(i?.current ?? r.current) : cv([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
@@ -13913,10 +13913,10 @@ function kte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var Ox = /* @__PURE__ */ new WeakMap();
+var kx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Ate(e, t, n) {
+function kte(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
}, { pressProps: g, isPressed: _ } = $g({
@@ -13939,7 +13939,7 @@ function Ate(e, t, n) {
}
}), { focusableProps: b } = Bh(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = zg(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Ox.get(t);
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = kx.get(t);
L_(n, t.defaultSelectedValue, t.setSelectedValue), R_({ validationBehavior: O }, t, n);
let k = z_();
return {
@@ -13973,7 +13973,7 @@ function Ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function jte(e, t) {
+function Ate(e, t) {
let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Eg(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Z_({
...e,
labelElementType: "span",
@@ -14002,7 +14002,7 @@ function jte(e, t) {
},
allowRepeats: !0
}), x = mh(n);
- return Ox.set(t, {
+ return kx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -14031,8 +14031,8 @@ function jte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var kx = /* @__PURE__ */ new WeakMap();
-function Mte(e, t, n) {
+var Ax = /* @__PURE__ */ new WeakMap();
+function jte(e, t, n) {
let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = gy({
usage: "search",
sensitivity: "base"
@@ -14075,7 +14075,7 @@ function Mte(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = zg(e, { labelable: !0 }), C = H(m, d, y), w = mh();
- return kx.set(t, {
+ return Ax.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -14136,8 +14136,8 @@ function Mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Nte(e, t, n) {
- let r = kx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = rv({ style: {
+function Mte(e, t, n) {
+ let r = Ax.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = rv({ style: {
position: "fixed",
top: 0,
left: 0
@@ -14172,8 +14172,8 @@ function Nte(e, t, n) {
}
};
}
-function Pte(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, I.useRef)(null), c = (0, I.useRef)(null), { containerProps: l, selectProps: u } = Nte({
+function Nte(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, I.useRef)(null), c = (0, I.useRef)(null), { containerProps: l, selectProps: u } = Mte({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -14197,7 +14197,7 @@ function Pte(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = kx.get(t) || {};
+ let { validationBehavior: e } = Ax.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -14228,7 +14228,7 @@ function Pte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Fte(e) {
+function Pte(e) {
let t = zg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -14238,7 +14238,7 @@ function Fte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Ite(e, t, n) {
+function Fte(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = J_(e, t, n);
return {
labelProps: r,
@@ -14253,10 +14253,10 @@ function Ite(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Ax = class {
+var jx = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new Lte(e.layout) : new _v(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Ite(e.layout) : new _v(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -14422,7 +14422,7 @@ var Ax = class {
}
return null;
}
-}, Lte = class {
+}, Ite = class {
constructor(e) {
this.layout = e;
}
@@ -14435,16 +14435,16 @@ var Ax = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, jx = /* @__PURE__ */ new WeakMap();
+}, Mx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Rte(e, t, n) {
+function Lte(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
let h = gy({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Eg(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new Ax({
+ }), { direction: g } = Eg(), _ = t.selectionManager.disabledBehavior, v = (0, I.useMemo)(() => a || new jx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -14470,7 +14470,7 @@ function Rte(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = mh(e.id);
- jx.set(t, {
+ Mx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -14479,7 +14479,7 @@ function Rte(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = ite({
+ let x = rte({
selectionManager: m,
hasItemActions: !!(l || u)
}), S = zg(e, { labelable: !0 }), C = (0, I.useCallback)((e) => {
@@ -14491,36 +14491,36 @@ function Rte(e, t, n) {
}, [m]), w = (0, I.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = gb(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = _b(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), nte({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), tte({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Mx = /* @__PURE__ */ new WeakMap();
-function Nx(e) {
+var Nx = /* @__PURE__ */ new WeakMap();
+function Px(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function zte(e, t) {
- let n = Mx.get(e);
+function Rte(e, t) {
+ let n = Nx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${Nx(t)}`;
+ return `${n}-${Px(t)}`;
}
-function Px(e, t, n) {
- let r = Mx.get(e);
+function Fx(e, t, n) {
+ let r = Nx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${Nx(t)}-${Nx(n)}`;
+ return `${r}-${Px(t)}-${Px(n)}`;
}
-function Fx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => Px(e, t, n)).join(" ");
+function Ix(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => Fx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Ix = {};
-Ix = {
+var Lx = {};
+Lx = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -14535,8 +14535,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Lx = {};
-Lx = {
+var Rx = {};
+Rx = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -14551,8 +14551,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Rx = {};
-Rx = {
+var zx = {};
+zx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14567,8 +14567,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var zx = {};
-zx = {
+var Bx = {};
+Bx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14583,8 +14583,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Bx = {};
-Bx = {
+var Vx = {};
+Vx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14599,8 +14599,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Vx = {};
-Vx = {
+var Hx = {};
+Hx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -14615,8 +14615,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Hx = {};
-Hx = {
+var Ux = {};
+Ux = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14631,8 +14631,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Ux = {};
-Ux = {
+var Wx = {};
+Wx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14647,8 +14647,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Wx = {};
-Wx = {
+var Gx = {};
+Gx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14663,8 +14663,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Gx = {};
-Gx = {
+var Kx = {};
+Kx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14679,8 +14679,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Kx = {};
-Kx = {
+var qx = {};
+qx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14695,8 +14695,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var qx = {};
-qx = {
+var Jx = {};
+Jx = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -14711,8 +14711,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Jx = {};
-Jx = {
+var Yx = {};
+Yx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14727,8 +14727,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Yx = {};
-Yx = {
+var Xx = {};
+Xx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14743,8 +14743,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Xx = {};
-Xx = {
+var Zx = {};
+Zx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14759,8 +14759,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Zx = {};
-Zx = {
+var Qx = {};
+Qx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14775,8 +14775,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Qx = {};
-Qx = {
+var $x = {};
+$x = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -14791,8 +14791,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var $x = {};
-$x = {
+var eS = {};
+eS = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14807,8 +14807,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var eS = {};
-eS = {
+var tS = {};
+tS = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -14823,8 +14823,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var tS = {};
-tS = {
+var nS = {};
+nS = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14839,8 +14839,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var nS = {};
-nS = {
+var rS = {};
+rS = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14855,8 +14855,8 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var rS = {};
-rS = {
+var iS = {};
+iS = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14871,8 +14871,8 @@ rS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var iS = {};
-iS = {
+var aS = {};
+aS = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14887,8 +14887,8 @@ iS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var aS = {};
-aS = {
+var oS = {};
+oS = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14903,8 +14903,8 @@ aS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var oS = {};
-oS = {
+var sS = {};
+sS = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14919,8 +14919,8 @@ oS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var sS = {};
-sS = {
+var cS = {};
+cS = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -14935,8 +14935,8 @@ sS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var cS = {};
-cS = {
+var lS = {};
+lS = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14951,8 +14951,8 @@ cS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var lS = {};
-lS = {
+var uS = {};
+uS = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -14967,8 +14967,8 @@ lS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var uS = {};
-uS = {
+var dS = {};
+dS = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14983,8 +14983,8 @@ uS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var dS = {};
-dS = {
+var fS = {};
+fS = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14999,8 +14999,8 @@ dS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var fS = {};
-fS = {
+var pS = {};
+pS = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -15015,8 +15015,8 @@ fS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var pS = {};
-pS = {
+var mS = {};
+mS = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -15031,8 +15031,8 @@ pS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var mS = {};
-mS = {
+var hS = {};
+hS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -15047,8 +15047,8 @@ mS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var hS = {};
-hS = {
+var gS = {};
+gS = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -15063,46 +15063,46 @@ hS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var gS = {};
-gS = {
- "ar-AE": Ix,
- "bg-BG": Lx,
- "cs-CZ": Rx,
- "da-DK": zx,
- "de-DE": Bx,
- "el-GR": Vx,
- "en-US": Hx,
- "es-ES": Ux,
- "et-EE": Wx,
- "fi-FI": Gx,
- "fr-FR": Kx,
- "he-IL": qx,
- "hr-HR": Jx,
- "hu-HU": Yx,
- "it-IT": Xx,
- "ja-JP": Zx,
- "ko-KR": Qx,
- "lt-LT": $x,
- "lv-LV": eS,
- "nb-NO": tS,
- "nl-NL": nS,
- "pl-PL": rS,
- "pt-BR": iS,
- "pt-PT": aS,
- "ro-RO": oS,
- "ru-RU": sS,
- "sk-SK": cS,
- "sl-SI": lS,
- "sr-SP": uS,
- "sv-SE": dS,
- "tr-TR": fS,
- "uk-UA": pS,
- "zh-CN": mS,
- "zh-TW": hS
+var _S = {};
+_S = {
+ "ar-AE": Lx,
+ "bg-BG": Rx,
+ "cs-CZ": zx,
+ "da-DK": Bx,
+ "de-DE": Vx,
+ "el-GR": Hx,
+ "en-US": Ux,
+ "es-ES": Wx,
+ "et-EE": Gx,
+ "fi-FI": Kx,
+ "fr-FR": qx,
+ "he-IL": Jx,
+ "hr-HR": Yx,
+ "hu-HU": Xx,
+ "it-IT": Zx,
+ "ja-JP": Qx,
+ "ko-KR": $x,
+ "lt-LT": eS,
+ "lv-LV": tS,
+ "nb-NO": nS,
+ "nl-NL": rS,
+ "pl-PL": iS,
+ "pt-BR": aS,
+ "pt-PT": oS,
+ "ro-RO": sS,
+ "ru-RU": cS,
+ "sk-SK": lS,
+ "sl-SI": uS,
+ "sr-SP": dS,
+ "sv-SE": fS,
+ "tr-TR": pS,
+ "uk-UA": mS,
+ "zh-CN": hS,
+ "zh-TW": gS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Bte = class extends Ax {
+var zte = class extends jx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -15180,14 +15180,14 @@ var Bte = class extends Ax {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Vte(e) {
+function Bte(e) {
return e && e.__esModule ? e.default : e;
}
-function Hte(e, t, n) {
+function Vte(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = gy({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Eg(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new Bte({
+ }), { direction: c } = Eg(), l = t.selectionManager.disabledBehavior, u = (0, I.useMemo)(() => r || new zte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -15207,14 +15207,14 @@ function Hte(e, t, n) {
a,
o
]), d = mh(e.id);
- Mx.set(t, d);
- let { gridProps: f } = Rte({
+ Nx.set(t, d);
+ let { gridProps: f } = Lte({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = Lg(Vte(gS), "@react-aria/table"), g = (0, I.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Lg(Bte(_S), "@react-aria/table"), g = (0, I.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -15228,13 +15228,13 @@ function Hte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function _S(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Eg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = jx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
+function vS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Eg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Mx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, I.useRef)(null), h = () => {
if (n.current) {
let e = x_(n.current);
if (p === "child") {
if (Pp(n.current) && n.current !== Mp(xp(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? vS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? yS(e) : e.firstChild();
if (r) {
sh(r);
return;
@@ -15242,7 +15242,7 @@ function _S(e, t, n) {
}
(m.current != null && r.key !== m.current || !Pp(n.current)) && sh(n.current);
}
- }, { itemProps: g, isPressed: _ } = vb({
+ }, { itemProps: g, isPressed: _ } = yb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -15266,7 +15266,7 @@ function _S(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : vS(a), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
+ p === "cell" && l === "rtl" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : yS(a), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
}
break;
}
@@ -15278,7 +15278,7 @@ function _S(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? vS(a) : a.firstChild(), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
+ p === "cell" && l === "ltr" ? (sh(n.current), P_(n.current, { containingElement: j_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? yS(a) : a.firstChild(), t && (sh(t), P_(t, { containingElement: j_(n.current) })));
}
break;
}
@@ -15323,7 +15323,7 @@ function _S(e, t, n) {
isPressed: _
};
}
-function vS(e) {
+function yS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -15332,20 +15332,20 @@ function vS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function yS(e, t, n) {
- let { gridCellProps: r, isPressed: i } = _S(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Px(t, e.node.parentKey, a)), {
+function bS(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = vS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Fx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function bS(e) {
+function xS(e) {
return e && e.__esModule ? e.default : e;
}
-function xS(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = _S({
+function SS(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = vS({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = $g({
@@ -15356,7 +15356,7 @@ function xS(e, t, n) {
ref: n
}), { focusableProps: l } = Bh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !sm() && (u = d ? f : "none");
- let p = Lg(bS(gS), "@react-aria/table"), m;
+ let p = Lg(xS(_S), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && sm() && (m = `${m}, ${p.format(f)}`));
let h = I_(m), g = t.collection.size === 0;
return (0, I.useEffect)(() => {
@@ -15369,7 +15369,7 @@ function xS(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: zte(t, r.key),
+ id: Rte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -15378,14 +15378,14 @@ function xS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function SS(e, t, n) {
+function CS(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function CS(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = jx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = vb({
+function wS(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Mx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = yb({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -15406,10 +15406,10 @@ function CS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function wS(e) {
+function TS(e) {
return e && e.__esModule ? e.default : e;
}
-var TS = {
+var ES = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -15419,21 +15419,21 @@ var TS = {
rtl: "ArrowRight"
}
};
-function ES(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = CS(e, t, n), { direction: s } = Eg();
+function DS(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = wS(e, t, n), { direction: s } = Eg();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Lg(wS(gS), "@react-aria/table"), u = yg({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Lg(TS(_S), "@react-aria/table"), u = yg({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Fx(t, r.key)
+ "aria-labelledby": Ix(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = DS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = DS(t.collection, a);
+ let n = OS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = OS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === TS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === TS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === ES.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === ES.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -15455,41 +15455,41 @@ function ES(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Fx(t, r.key)
+ "aria-labelledby": Ix(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function DS(e, t) {
+function OS(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function OS() {
+function kS() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function kS() {
- return OS();
+function AS() {
+ return kS();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function AS(e) {
+function jS(e) {
return e && e.__esModule ? e.default : e;
}
-function jS(e, t) {
- let { key: n } = e, { checkboxProps: r } = ote(e, t);
+function MS(e, t) {
+ let { key: n } = e, { checkboxProps: r } = ate(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Fx(t, n)}`
+ "aria-labelledby": `${r.id} ${Ix(t, n)}`
} };
}
-function MS(e) {
+function NS(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Lg(AS(gS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Lg(jS(_S), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -15498,21 +15498,21 @@ function MS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var NS = /* @__PURE__ */ new WeakMap();
-function PS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${NS.get(e)}-${n}-${t}`) : "";
+var PS = /* @__PURE__ */ new WeakMap();
+function FS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${PS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function FS(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = vb({
+function IS(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = yb({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = PS(t, r, "tab"), m = PS(t, r, "tabpanel"), { tabIndex: h } = d, g = zg(u?.props, { labelable: !0 });
+ }), p = FS(t, r, "tab"), m = FS(t, r, "tabpanel"), { tabIndex: h } = d, g = zg(u?.props, { labelable: !0 });
delete g.id;
let _ = vm(u?.props), { focusableProps: v } = Bh({
...u?.props,
@@ -15534,7 +15534,7 @@ function FS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var IS = class {
+var LS = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15578,11 +15578,11 @@ var IS = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function LS(e, t, n) {
+function RS(e, t, n) {
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Eg(), { collectionProps: l } = oy({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, I.useMemo)(() => new IS(a, c, r, s), [
+ keyboardDelegate: (0, I.useMemo)(() => new LS(a, c, r, s), [
a,
s,
r,
@@ -15593,7 +15593,7 @@ function LS(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = mh();
- return NS.set(t, u), { tabListProps: {
+ return PS.set(t, u), { tabListProps: {
...H(l, yg({
...e,
id: u
@@ -15605,12 +15605,12 @@ function LS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function RS(e, t, n) {
- let r = gb(n) ? void 0 : 0, i = PS(t, e.id ?? t?.selectedKey, "tabpanel");
+function zS(e, t, n) {
+ let r = _b(n) ? void 0 : 0, i = FS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(yg({
...e,
id: i,
- "aria-labelledby": PS(t, t?.selectedKey, "tab")
+ "aria-labelledby": FS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15620,7 +15620,7 @@ function RS(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var zS = /* @__PURE__ */ F(((e) => {
+var BS = /* @__PURE__ */ F(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15819,10 +15819,10 @@ var zS = /* @__PURE__ */ F(((e) => {
}
};
};
-})), BS = /* @__PURE__ */ F(((e, t) => {
- t.exports = zS();
-})), VS = /* @__PURE__ */ F(((e) => {
- var t = BS(), n = ce(), r = Kh();
+})), VS = /* @__PURE__ */ F(((e, t) => {
+ t.exports = BS();
+})), HS = /* @__PURE__ */ F(((e) => {
+ var t = VS(), n = ce(), r = Kh();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -24232,7 +24232,7 @@ var zS = /* @__PURE__ */ F(((e) => {
var n = !1, r = "", o = wc, s = Tc, c = Ec;
return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, ep(e), new eg(t);
};
-})), HS = (/* @__PURE__ */ F(((e, t) => {
+})), US = (/* @__PURE__ */ F(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -24240,8 +24240,8 @@ var zS = /* @__PURE__ */ F(((e) => {
console.error(e);
}
}
- n(), t.exports = VS();
-})))(), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+ n(), t.exports = HS();
+})))(), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24249,7 +24249,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), GS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24257,7 +24257,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), GS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), KS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24265,7 +24265,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), KS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), qS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24273,7 +24273,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), qS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), JS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24281,7 +24281,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), JS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), YS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24289,7 +24289,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), YS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), XS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24297,7 +24297,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), XS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), ZS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24305,7 +24305,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), ZS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), QS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24313,7 +24313,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), QS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), $S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24321,7 +24321,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), $S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), eC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24329,7 +24329,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), eC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), tC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24337,7 +24337,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), tC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), nC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24345,7 +24345,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), nC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), rC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24353,7 +24353,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), rC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), iC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24361,7 +24361,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), iC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), aC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24369,7 +24369,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), aC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), oC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24377,7 +24377,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), oC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), sC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24385,7 +24385,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), sC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), cC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24393,7 +24393,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), cC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), lC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24401,7 +24401,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), lC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), uC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24409,7 +24409,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), uC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), dC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24417,7 +24417,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), dC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), fC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24425,7 +24425,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), fC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), pC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24433,7 +24433,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), Hte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24441,7 +24441,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24449,7 +24449,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), pC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), mC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24457,7 +24457,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), mC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), hC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24465,7 +24465,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), hC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), gC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24473,7 +24473,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), gC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), _C = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24481,7 +24481,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24489,7 +24489,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), Gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24497,7 +24497,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24505,7 +24505,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), _C = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), vC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24513,7 +24513,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), vC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), yC = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24521,7 +24521,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Jte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24529,7 +24529,7 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Yte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
+}, I.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" })), Jte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => I.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -24537,100 +24537,100 @@ var zS = /* @__PURE__ */ F(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, I.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" })), Xte = (e, t) => {
+}, I.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" })), Yte = (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;
-}, Zte = (e, t) => ({
+}, Xte = (e, t) => ({
classGroupId: e,
validator: t
-}), yC = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), bC = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), bC = "-", xC = [], Qte = "arbitrary..", $te = (e) => {
- let t = tne(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), xC = "-", SC = [], Zte = "arbitrary..", Qte = (e) => {
+ let t = ene(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return ene(e);
- let n = e.split(bC);
- return SC(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return $te(e);
+ let n = e.split(xC);
+ return CC(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Xte(i, t) : t : i || xC;
+ return t ? i ? Yte(i, t) : t : i || SC;
}
- return n[e] || xC;
+ return n[e] || SC;
}
};
-}, SC = (e, t, n) => {
+}, CC = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = SC(e, t + 1, i);
+ let n = CC(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(bC) : e.slice(t).join(bC), s = a.length;
+ let o = t === 0 ? e.join(xC) : e.slice(t).join(xC), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, ene = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, $te = (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 ? Qte + r : void 0;
-})(), tne = (e) => {
+ return r ? Zte + r : void 0;
+})(), ene = (e) => {
let { theme: t, classGroups: n } = e;
- return nne(n, t);
-}, nne = (e, t) => {
- let n = yC();
+ return tne(n, t);
+}, tne = (e, t) => {
+ let n = bC();
for (let r in e) {
let i = e[r];
- CC(i, n, r, t);
+ wC(i, n, r, t);
}
return n;
-}, CC = (e, t, n, r) => {
+}, wC = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- rne(i, t, n, r);
+ nne(i, t, n, r);
}
-}, rne = (e, t, n, r) => {
+}, nne = (e, t, n, r) => {
if (typeof e == "string") {
- ine(e, t, n);
+ rne(e, t, n);
return;
}
if (typeof e == "function") {
- ane(e, t, n, r);
+ ine(e, t, n, r);
return;
}
- one(e, t, n, r);
-}, ine = (e, t, n) => {
- let r = e === "" ? t : wC(t, e);
+ ane(e, t, n, r);
+}, rne = (e, t, n) => {
+ let r = e === "" ? t : TC(t, e);
r.classGroupId = n;
-}, ane = (e, t, n, r) => {
- if (sne(e)) {
- CC(e(r), t, n, r);
+}, ine = (e, t, n, r) => {
+ if (one(e)) {
+ wC(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(Zte(n, e));
-}, one = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(Xte(n, e));
+}, ane = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- CC(o, wC(t, a), n, r);
+ wC(o, TC(t, a), n, r);
}
-}, wC = (e, t) => {
- let n = e, r = t.split(bC), i = r.length;
+}, TC = (e, t) => {
+ let n = e, r = t.split(xC), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = yC(), n.nextPart.set(t, i)), n = i;
+ i || (i = bC(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, sne = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, cne = (e) => {
+}, one = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, sne = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24648,19 +24648,19 @@ var zS = /* @__PURE__ */ F(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, TC = "!", EC = ":", lne = [], DC = (e, t, n, r, i) => ({
+}, EC = "!", DC = ":", cne = [], OC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), une = (e) => {
+}), lne = (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 === EC) {
+ if (o === DC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24672,13 +24672,13 @@ var zS = /* @__PURE__ */ F(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(TC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(TC) && (c = s.slice(1), l = !0);
+ s.endsWith(EC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(EC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return DC(t, l, c, u);
+ return OC(t, l, c, u);
};
if (t) {
- let e = t + EC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : DC(lne, !1, t, void 0, !0);
+ let e = t + DC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : OC(cne, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24688,7 +24688,7 @@ var zS = /* @__PURE__ */ F(((e) => {
});
}
return r;
-}, dne = (e) => {
+}, une = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24700,18 +24700,18 @@ var zS = /* @__PURE__ */ F(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, fne = (e) => ({
- cache: cne(e.cacheSize),
- parseClassName: une(e),
- sortModifiers: dne(e),
- postfixLookupClassGroupIds: pne(e),
- ...$te(e)
-}), pne = (e) => {
+}, dne = (e) => ({
+ cache: sne(e.cacheSize),
+ parseClassName: lne(e),
+ sortModifiers: une(e),
+ postfixLookupClassGroupIds: fne(e),
+ ...Qte(e)
+}), fne = (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;
-}, mne = /\s+/, hne = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mne), l = "";
+}, pne = /\s+/, mne = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(pne), 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) {
@@ -24735,7 +24735,7 @@ var zS = /* @__PURE__ */ F(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + TC : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + EC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24746,34 +24746,34 @@ var zS = /* @__PURE__ */ F(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, gne = (...e) => {
+}, hne = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = OC(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = kC(n)) && (i && (i += " "), i += r);
return i;
-}, OC = (e) => {
+}, kC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = OC(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = kC(e[r])) && (n && (n += " "), n += t);
return n;
-}, kC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = fne(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, AC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = dne(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 = hne(e, n);
+ let a = mne(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(gne(...e));
-}, _ne = [], AC = (e) => {
- let t = (t) => t[e] || _ne;
+ return a = o, (...e) => a(hne(...e));
+}, gne = [], jC = (e) => {
+ let t = (t) => t[e] || gne;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, jC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, MC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vne = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, yne = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bne = /\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$/, xne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Sne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cne = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NC = (e) => vne.test(e), PC = (e) => !!e && !Number.isNaN(Number(e)), FC = (e) => !!e && Number.isInteger(Number(e)), IC = (e) => e.endsWith("%") && PC(e.slice(0, -1)), LC = (e) => yne.test(e), RC = () => !0, wne = (e) => bne.test(e) && !xne.test(e), zC = () => !1, Tne = (e) => Sne.test(e), Ene = (e) => Cne.test(e), Dne = (e) => !U(e) && !W(e), One = (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)), kne = (e) => qC(e, ZC, zC), U = (e) => jC.test(e), BC = (e) => qC(e, QC, wne), VC = (e) => qC(e, Lne, PC), Ane = (e) => qC(e, ew, RC), jne = (e) => qC(e, $C, zC), HC = (e) => qC(e, YC, zC), Mne = (e) => qC(e, XC, Ene), UC = (e) => qC(e, tw, Tne), W = (e) => MC.test(e), WC = (e) => JC(e, QC), Nne = (e) => JC(e, $C), GC = (e) => JC(e, YC), Pne = (e) => JC(e, ZC), Fne = (e) => JC(e, XC), KC = (e) => JC(e, tw, !0), Ine = (e) => JC(e, ew, !0), qC = (e, t, n) => {
- let r = jC.exec(e);
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, JC = (e, t, n = !1) => {
+}, MC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, NC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _ne = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, vne = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yne = /\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$/, bne = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, xne = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Sne = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, PC = (e) => _ne.test(e), FC = (e) => !!e && !Number.isNaN(Number(e)), IC = (e) => !!e && Number.isInteger(Number(e)), LC = (e) => e.endsWith("%") && FC(e.slice(0, -1)), RC = (e) => vne.test(e), zC = () => !0, Cne = (e) => yne.test(e) && !bne.test(e), BC = () => !1, wne = (e) => xne.test(e), Tne = (e) => Sne.test(e), Ene = (e) => !U(e) && !W(e), Dne = (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)), One = (e) => JC(e, QC, BC), U = (e) => MC.test(e), VC = (e) => JC(e, $C, Cne), HC = (e) => JC(e, Ine, FC), kne = (e) => JC(e, tw, zC), Ane = (e) => JC(e, ew, BC), UC = (e) => JC(e, XC, BC), jne = (e) => JC(e, ZC, Tne), WC = (e) => JC(e, nw, wne), W = (e) => NC.test(e), GC = (e) => YC(e, $C), Mne = (e) => YC(e, ew), KC = (e) => YC(e, XC), Nne = (e) => YC(e, QC), Pne = (e) => YC(e, ZC), qC = (e) => YC(e, nw, !0), Fne = (e) => YC(e, tw, !0), JC = (e, t, n) => {
let r = MC.exec(e);
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
+}, YC = (e, t, n = !1) => {
+ let r = NC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, YC = (e) => e === "position" || e === "percentage", XC = (e) => e === "image" || e === "url", ZC = (e) => e === "length" || e === "size" || e === "bg-size", QC = (e) => e === "length", Lne = (e) => e === "number", $C = (e) => e === "family-name", ew = (e) => e === "number" || e === "weight", tw = (e) => e === "shadow", nw = () => {
- let e = AC("color"), t = AC("font"), n = AC("text"), r = AC("font-weight"), i = AC("tracking"), a = AC("leading"), o = AC("breakpoint"), s = AC("container"), c = AC("spacing"), l = AC("radius"), u = AC("shadow"), d = AC("inset-shadow"), f = AC("text-shadow"), p = AC("drop-shadow"), m = AC("blur"), h = AC("perspective"), g = AC("aspect"), _ = AC("ease"), v = AC("animate"), y = () => [
+}, XC = (e) => e === "position" || e === "percentage", ZC = (e) => e === "image" || e === "url", QC = (e) => e === "length" || e === "size" || e === "bg-size", $C = (e) => e === "length", Ine = (e) => e === "number", ew = (e) => e === "family-name", tw = (e) => e === "number" || e === "weight", nw = (e) => e === "shadow", rw = () => {
+ let e = jC("color"), t = jC("font"), n = jC("text"), r = jC("font-weight"), i = jC("tracking"), a = jC("leading"), o = jC("breakpoint"), s = jC("container"), c = jC("spacing"), l = jC("radius"), u = jC("shadow"), d = jC("inset-shadow"), f = jC("text-shadow"), p = jC("drop-shadow"), m = jC("blur"), h = jC("perspective"), g = jC("aspect"), _ = jC("ease"), v = jC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24815,12 +24815,12 @@ var zS = /* @__PURE__ */ F(((e) => {
U,
c
], T = () => [
- NC,
+ PC,
"full",
"auto",
...w()
], E = () => [
- FC,
+ IC,
"none",
"subgrid",
W,
@@ -24829,15 +24829,15 @@ var zS = /* @__PURE__ */ F(((e) => {
"auto",
{ span: [
"full",
- FC,
+ IC,
W,
U
] },
- FC,
+ IC,
W,
U
], O = () => [
- FC,
+ IC,
"auto",
W,
U
@@ -24867,7 +24867,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- NC,
+ PC,
"auto",
"full",
"dvw",
@@ -24882,7 +24882,7 @@ var zS = /* @__PURE__ */ F(((e) => {
...w()
], ee = () => [
s,
- NC,
+ PC,
"screen",
"full",
"dvw",
@@ -24893,7 +24893,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"fit",
...w()
], te = () => [
- NC,
+ PC,
"screen",
"full",
"lh",
@@ -24910,8 +24910,8 @@ var zS = /* @__PURE__ */ F(((e) => {
U
], ne = () => [
...b(),
- GC,
- HC,
+ KC,
+ UC,
{ position: [W, U] }
], F = () => ["no-repeat", { repeat: [
"",
@@ -24923,13 +24923,13 @@ var zS = /* @__PURE__ */ F(((e) => {
"auto",
"cover",
"contain",
- Pne,
- kne,
+ Nne,
+ One,
{ size: [W, U] }
], ie = () => [
- IC,
- WC,
- BC
+ LC,
+ GC,
+ VC
], ae = () => [
"",
"none",
@@ -24939,9 +24939,9 @@ var zS = /* @__PURE__ */ F(((e) => {
U
], oe = () => [
"",
- PC,
- WC,
- BC
+ FC,
+ GC,
+ VC
], se = () => [
"solid",
"dashed",
@@ -24965,10 +24965,10 @@ var zS = /* @__PURE__ */ F(((e) => {
"color",
"luminosity"
], le = () => [
- PC,
- IC,
- GC,
- HC
+ FC,
+ LC,
+ KC,
+ UC
], ue = () => [
"",
"none",
@@ -24977,20 +24977,20 @@ var zS = /* @__PURE__ */ F(((e) => {
U
], I = () => [
"none",
- PC,
+ FC,
W,
U
], L = () => [
"none",
- PC,
+ FC,
W,
U
], R = () => [
- PC,
+ FC,
W,
U
], z = () => [
- NC,
+ PC,
"full",
...w()
];
@@ -25004,17 +25004,17 @@ var zS = /* @__PURE__ */ F(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [LC],
- breakpoint: [LC],
- color: [RC],
- container: [LC],
- "drop-shadow": [LC],
+ blur: [RC],
+ breakpoint: [RC],
+ color: [zC],
+ container: [RC],
+ "drop-shadow": [RC],
ease: [
"in",
"out",
"in-out"
],
- font: [Dne],
+ font: [Ene],
"font-weight": [
"thin",
"extralight",
@@ -25026,7 +25026,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [LC],
+ "inset-shadow": [RC],
leading: [
"none",
"tight",
@@ -25043,11 +25043,11 @@ var zS = /* @__PURE__ */ F(((e) => {
"distant",
"none"
],
- radius: [LC],
- shadow: [LC],
- spacing: ["px", PC],
- text: [LC],
- "text-shadow": [LC],
+ radius: [RC],
+ shadow: [RC],
+ spacing: ["px", FC],
+ text: [RC],
+ "text-shadow": [RC],
tracking: [
"tighter",
"tight",
@@ -25061,7 +25061,7 @@ var zS = /* @__PURE__ */ F(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- NC,
+ PC,
U,
W,
g
@@ -25074,9 +25074,9 @@ var zS = /* @__PURE__ */ F(((e) => {
W,
U
] }],
- "container-named": [One],
+ "container-named": [Dne],
columns: [{ columns: [
- PC,
+ FC,
"auto",
U,
W,
@@ -25176,13 +25176,13 @@ var zS = /* @__PURE__ */ F(((e) => {
"collapse"
],
z: [{ z: [
- FC,
+ IC,
"auto",
W,
U
] }],
basis: [{ basis: [
- NC,
+ PC,
"full",
"auto",
s,
@@ -25200,8 +25200,8 @@ var zS = /* @__PURE__ */ F(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
+ FC,
PC,
- NC,
"auto",
"initial",
"none",
@@ -25209,18 +25209,18 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
grow: [{ grow: [
"",
- PC,
+ FC,
W,
U
] }],
shrink: [{ shrink: [
"",
- PC,
+ FC,
W,
U
] }],
order: [{ order: [
- FC,
+ IC,
"first",
"last",
"none",
@@ -25332,15 +25332,15 @@ var zS = /* @__PURE__ */ F(((e) => {
"font-size": [{ text: [
"base",
n,
- WC,
- BC
+ GC,
+ VC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Ine,
- Ane
+ Fne,
+ kne
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -25352,12 +25352,12 @@ var zS = /* @__PURE__ */ F(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- IC,
+ LC,
U
] }],
"font-family": [{ font: [
- Nne,
- jne,
+ Mne,
+ Ane,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -25373,10 +25373,10 @@ var zS = /* @__PURE__ */ F(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- PC,
+ FC,
"none",
W,
- VC
+ HC
] }],
leading: [{ leading: [
"none",
@@ -25414,15 +25414,15 @@ var zS = /* @__PURE__ */ F(((e) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- PC,
+ FC,
"from-font",
"auto",
W,
- BC
+ VC
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- PC,
+ FC,
"auto",
W,
U
@@ -25446,7 +25446,7 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- FC,
+ IC,
W,
U
] }],
@@ -25524,7 +25524,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"l",
"tl"
] },
- FC,
+ IC,
W,
U
],
@@ -25535,13 +25535,13 @@ var zS = /* @__PURE__ */ F(((e) => {
],
conic: [
"",
- FC,
+ IC,
W,
U
]
},
- Fne,
- Mne
+ Pne,
+ jne
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -25608,15 +25608,15 @@ var zS = /* @__PURE__ */ F(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- PC,
+ FC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- PC,
- WC,
- BC
+ FC,
+ GC,
+ VC
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -25624,33 +25624,33 @@ var zS = /* @__PURE__ */ F(((e) => {
"inner",
"none",
u,
- KC,
- UC
+ qC,
+ WC
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- KC,
- UC
+ qC,
+ WC
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [PC, BC] }],
+ "ring-offset-w": [{ "ring-offset": [FC, VC] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- KC,
- UC
+ qC,
+ WC
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- PC,
+ FC,
W,
U
] }],
@@ -25674,7 +25674,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [PC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [FC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
@@ -25714,7 +25714,7 @@ var zS = /* @__PURE__ */ F(((e) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [PC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [FC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
@@ -25749,12 +25749,12 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- PC,
+ FC,
W,
U
] }],
contrast: [{ contrast: [
- PC,
+ FC,
W,
U
] }],
@@ -25762,35 +25762,35 @@ var zS = /* @__PURE__ */ F(((e) => {
"",
"none",
p,
- KC,
- UC
+ qC,
+ WC
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- PC,
+ FC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- PC,
+ FC,
W,
U
] }],
invert: [{ invert: [
"",
- PC,
+ FC,
W,
U
] }],
saturate: [{ saturate: [
- PC,
+ FC,
W,
U
] }],
sepia: [{ sepia: [
"",
- PC,
+ FC,
W,
U
] }],
@@ -25802,45 +25802,45 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- PC,
+ FC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- PC,
+ FC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- PC,
+ FC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- PC,
+ FC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- PC,
+ FC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- PC,
+ FC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- PC,
+ FC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- PC,
+ FC,
W,
U
] }],
@@ -25863,7 +25863,7 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- PC,
+ FC,
"initial",
W,
U
@@ -25876,7 +25876,7 @@ var zS = /* @__PURE__ */ F(((e) => {
U
] }],
delay: [{ delay: [
- PC,
+ FC,
W,
U
] }],
@@ -25921,7 +25921,7 @@ var zS = /* @__PURE__ */ F(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- FC,
+ IC,
W,
U
] }],
@@ -26065,10 +26065,10 @@ var zS = /* @__PURE__ */ F(((e) => {
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- PC,
- WC,
- BC,
- VC
+ FC,
+ GC,
+ VC,
+ HC
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -26326,16 +26326,16 @@ var zS = /* @__PURE__ */ F(((e) => {
"selection"
]
};
-}, Rne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (rw(e, "cacheSize", t), rw(e, "prefix", n), rw(e, "experimentalParseClassName", r), iw(e.theme, a.theme), iw(e.classGroups, a.classGroups), iw(e.conflictingClassGroups, a.conflictingClassGroups), iw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), rw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), rw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), aw(e.theme, i.theme), aw(e.classGroups, i.classGroups), aw(e.conflictingClassGroups, i.conflictingClassGroups), aw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), ow(e, i, "postfixLookupClassGroups"), ow(e, i, "orderSensitiveModifiers"), e), rw = (e, t, n) => {
+}, Lne = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (iw(e, "cacheSize", t), iw(e, "prefix", n), iw(e, "experimentalParseClassName", r), aw(e.theme, a.theme), aw(e.classGroups, a.classGroups), aw(e.conflictingClassGroups, a.conflictingClassGroups), aw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), iw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), iw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), ow(e.theme, i.theme), ow(e.classGroups, i.classGroups), ow(e.conflictingClassGroups, i.conflictingClassGroups), ow(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), sw(e, i, "postfixLookupClassGroups"), sw(e, i, "orderSensitiveModifiers"), e), iw = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, iw = (e, t) => {
- if (t) for (let n in t) rw(e, n, t[n]);
}, aw = (e, t) => {
- if (t) for (let n in t) ow(e, t, n);
-}, ow = (e, t, n) => {
+ if (t) for (let n in t) iw(e, n, t[n]);
+}, ow = (e, t) => {
+ if (t) for (let n in t) sw(e, t, n);
+}, sw = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, zne = (e, ...t) => typeof e == "function" ? kC(nw, e, ...t) : kC(() => Rne(nw(), e), ...t), Bne = [
+}, Rne = (e, ...t) => typeof e == "function" ? AC(rw, e, ...t) : AC(() => Lne(rw(), e), ...t), zne = [
"large-title",
"display-1",
"display-2",
@@ -26349,18 +26349,18 @@ var zS = /* @__PURE__ */ F(((e) => {
"body-2",
"caption-1",
"caption-2"
-], Vne = [
+], Bne = [
"regular",
"medium",
"semibold",
"bold"
-], sw = zne({ extend: { classGroups: { "font-size": [{ text: Bne.flatMap((e) => Vne.map((t) => `${e}-${t}`)) }] } } });
-function cw(e) {
+], cw = Rne({ extend: { classGroups: { "font-size": [{ text: zne.flatMap((e) => Bne.map((t) => `${e}-${t}`)) }] } } });
+function lw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var lw = cw({
+var uw = lw({
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",
@@ -26379,16 +26379,16 @@ var lw = cw({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function uw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function dw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("span", {
ref: r,
- className: sw(lw.base, lw.variant[e], lw.color[t], n),
+ className: cw(uw.base, uw.variant[e], uw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var dw = cw({
+var fw = lw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -26447,40 +26447,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, L.jsxs)("button", {
ref: c,
type: s,
- className: sw(dw.base, dw.size[t], dw.variant[e], n && dw.iconOnlySize[t], o),
+ className: cw(fw.base, fw.size[t], fw.variant[e], n && fw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: dw.icon[t],
+ className: fw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: dw.label[t],
+ className: fw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: dw.icon[t],
+ className: fw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function fw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function pw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, L.jsxs)("a", {
ref: s,
- className: sw(dw.base, dw.size[t], dw.variant[e], n && dw.iconOnlySize[t], o),
+ className: cw(fw.base, fw.size[t], fw.variant[e], n && fw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: dw.icon[t],
+ className: fw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: dw.label[t],
+ className: fw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, L.jsx)(i, {
- className: dw.icon[t],
+ className: fw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -26488,13 +26488,13 @@ function fw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var pw = class extends Error {
+var mw = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(d(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, mw = (e) => {
+}, hw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -26507,7 +26507,7 @@ var pw = class extends Error {
}
return "";
}, K = (e) => d(e);
-async function hw(e, t) {
+async function gw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -26516,7 +26516,7 @@ async function hw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new pw(mw(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new mw(hw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -26533,52 +26533,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new pw(mw(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new mw(hw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Hne = "min-w-0", Une = {
+var Vne = "min-w-0", Hne = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Wne = {
+}, Une = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Gne = {
+}, Wne = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Kne = {
+}, Gne = {
none: "",
default: "p-5"
-}, qne = "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", Jne = "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 gw(e = {}) {
+}, Kne = "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", qne = "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 _w(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 [
- Hne,
- Une[t],
- Wne[s],
- Kne[n],
- a ? Gne[a] : "",
- r ? qne : "",
- i ? Jne : "",
+ Vne,
+ Hne[t],
+ Une[s],
+ Gne[n],
+ a ? Wne[a] : "",
+ r ? Kne : "",
+ i ? qne : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Yne = {
+var Jne = {
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 _w({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function vw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Yne[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Jne[i]}`,
children: [
a ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -26608,7 +26608,7 @@ function _w({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function vw({ label: e, inline: t = !1 }) {
+function yw({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, L.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26674,7 +26674,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function yw({ children: e }) {
+function bw({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26682,21 +26682,21 @@ function yw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var bw = 100, Xne = .4;
-function xw({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * bw;
+var xw = 100, Yne = .4;
+function Sw({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * xw;
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${bw} 1`,
+ viewBox: `0 0 ${xw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, L.jsx)("rect", {
- width: bw,
+ width: xw,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -26707,7 +26707,7 @@ function xw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, L.jsx)("rect", {
x: a(e),
- width: Xne,
+ width: Yne,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26716,7 +26716,7 @@ function xw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Sw(e = "") {
+function Cw(e = "") {
let t = (0, I.useRef)(null), [n, r] = (0, I.useState)(""), [i, a] = (0, I.useState)(e);
(0, I.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -26754,11 +26754,11 @@ var X = new St({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Cw = "/api/tasks", ww = ["tasks"], Zne = (e, t) => hw(`${Cw}?${new URLSearchParams({
+} } }), ww = "/api/tasks", Tw = ["tasks"], Xne = (e, t) => gw(`${ww}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Tw(...e) {
+function Ew(...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) => {
@@ -26766,26 +26766,26 @@ function Tw(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Qne = 2e3, $ne = 1e4, ere = (e) => e?.running.length ? Qne : $ne, Ew = (e) => hw(Cw, e);
-async function tre(e) {
+var Zne = 2e3, Qne = 1e4, $ne = (e) => e?.running.length ? Zne : Qne, Dw = (e) => gw(ww, e);
+async function ere(e) {
await X.fetchQuery({
- queryKey: ww,
- queryFn: () => Ew(e)
+ queryKey: Tw,
+ queryFn: () => Dw(e)
});
}
-var Dw = {
+var Ow = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, nre = {
+}, tre = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, rre = (e) => nre[e] || e, ire = {
+}, nre = (e) => tre[e] || e, rre = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26815,7 +26815,7 @@ var Dw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function are(e) {
+function ire(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26824,7 +26824,7 @@ function are(e) {
}
return t;
}
-function ore(e, t) {
+function are(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26846,19 +26846,19 @@ function ore(e, t) {
}
return n;
}
-var sre = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Ow = (e) => e.status === "pending" || e.status === "running";
-function cre(e) {
+var ore = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), kw = (e) => e.status === "pending" || e.status === "running";
+function sre(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || jw(e.result_summary) || (Ow(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || Mw(e.result_summary) || (kw(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function kw(e) {
+function Aw(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
let n = Math.floor(t / 60);
return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;
}
-function Aw(e) {
+function jw(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26868,7 +26868,7 @@ function Aw(e) {
minute: "2-digit"
});
}
-var lre = /* @__PURE__ */ new Set([
+var cre = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26877,28 +26877,28 @@ var lre = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function jw(e) {
- return Object.entries(e || {}).filter(([e, t]) => !lre.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${ire[e] || e} ${t}`).join(" · ");
+function Mw(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !cre.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${rre[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var ure = {
+var lre = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function Mw({ status: e }) {
- return /* @__PURE__ */ (0, L.jsx)(uw, {
- color: ure[e] ?? "neutral",
- children: rre(e)
+function Nw({ status: e }) {
+ return /* @__PURE__ */ (0, L.jsx)(dw, {
+ color: lre[e] ?? "neutral",
+ children: nre(e)
});
}
-function dre({ rows: e }) {
+function ure({ rows: e }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = cre(e);
+ let t = sre(e);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26908,7 +26908,7 @@ function dre({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, L.jsx)(Mw, { status: e.status }),
+ /* @__PURE__ */ (0, L.jsx)(Nw, { status: e.status }),
t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -26918,12 +26918,12 @@ function dre({ rows: e }) {
})
});
}
-function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function Pw({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: gw({
+ className: _w({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26937,7 +26937,7 @@ function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, L.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, L.jsx)(Mw, { status: e.status })]
+ }), /* @__PURE__ */ (0, L.jsx)(Nw, { status: e.status })]
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26946,7 +26946,7 @@ function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, L.jsx)(dre, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, L.jsx)(ure, { rows: i }) : null,
r ? /* @__PURE__ */ (0, L.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, L.jsx)("p", {
@@ -26957,15 +26957,15 @@ function Nw({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function fre({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = kw(e.elapsed_seconds), o = [Dw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(Nw, {
+function dre({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Aw(e.elapsed_seconds), o = [Ow[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, L.jsx)(Pw, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(xw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Sw, {
label: i,
value: r,
max: n
@@ -26980,20 +26980,20 @@ function fre({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: i })
+ }) : /* @__PURE__ */ (0, L.jsx)(yw, { label: i })
});
}
-function Pw({ run: e, followups: t, runs: n }) {
- let r = jw(e.result_summary), i = kw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Dw[e.trigger] || e.trigger,
+function Fw({ run: e, followups: t, runs: n }) {
+ let r = Mw(e.result_summary), i = Aw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Ow[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${Aw(a.finished_at)} – ${Aw(e.finished_at)}`
+ `${jw(a.finished_at)} – ${jw(e.finished_at)}`
] : [
- Dw[e.trigger] || e.trigger,
- Aw(e.finished_at),
+ Ow[e.trigger] || e.trigger,
+ jw(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, L.jsx)(Nw, {
+ return /* @__PURE__ */ (0, L.jsx)(Pw, {
run: e,
meta: o,
footer: e.error,
@@ -27004,7 +27004,7 @@ function Pw({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function Fw({ title: e, children: t }) {
+function Iw({ title: e, children: t }) {
let n = (0, I.useId)();
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-labelledby": n,
@@ -27016,41 +27016,41 @@ function Fw({ title: e, children: t }) {
}), t]
});
}
-function Iw({ live: e = !1, children: t }) {
+function Lw({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function pre(e) {
+function fre(e) {
let t = Ft({
- queryKey: ww,
- queryFn: ({ signal: e }) => Ew(e),
- refetchInterval: (e) => ere(e.state.data)
+ queryKey: Tw,
+ queryFn: ({ signal: e }) => Dw(e),
+ refetchInterval: (e) => $ne(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, I.useState)([]), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(r);
- r !== c && (l(r), i.length && c && a(Tw(i, c)));
+ r !== c && (l(r), i.length && c && a(Ew(i, c)));
let u = It({
- mutationFn: ({ oldest: e }) => Zne(e),
+ mutationFn: ({ oldest: e }) => Xne(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Tw(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Ew(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Tw(n.finished || [], i), p = [
+ let f = Ew(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = are(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = ire(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(Ow)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = ore(w, (e) => sre(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(kw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = are(w, (e) => ore(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, L.jsxs)(bw, { children: [
d ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: d
@@ -27059,20 +27059,20 @@ function pre(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, L.jsx)(_w, {
+ E ? /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: cC,
+ icon: lC,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(Fw, {
+ /* @__PURE__ */ (0, L.jsx)(Iw, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(Iw, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, L.jsxs)(Lw, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(fre, {
+ children: [S.map((e) => /* @__PURE__ */ (0, L.jsx)(dre, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(Pw, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, L.jsx)(Fw, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -27081,17 +27081,17 @@ function pre(e) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, L.jsx)(Fw, {
+ C.length ? /* @__PURE__ */ (0, L.jsx)(Iw, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, L.jsx)(Iw, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(Pw, {
+ children: /* @__PURE__ */ (0, L.jsx)(Lw, { children: C.map((e) => /* @__PURE__ */ (0, L.jsx)(Fw, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, L.jsxs)(Fw, {
+ w.length || y ? /* @__PURE__ */ (0, L.jsxs)(Iw, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, L.jsx)(Iw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(Pw, {
+ w.length ? /* @__PURE__ */ (0, L.jsx)(Lw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, L.jsx)(Fw, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -27103,7 +27103,7 @@ function pre(e) {
y ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: GS,
+ leadingIcon: KS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -27116,56 +27116,56 @@ function pre(e) {
}
//#endregion
//#region src/jav-artwork.ts
-function mre(e) {
+function pre(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Lw(e, t) {
- return e.is_jav && e.code && e.has_cover && (mre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
-}
function Rw(e, t) {
+ return e.is_jav && e.code && e.has_cover && (pre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+}
+function zw(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var hre = (e, t) => [
+var mre = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], gre = (e, t) => [
+], hre = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function _re(e, t, n, r, i) {
+async function gre(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 hw(`/api/items?${a}`, i), s = {
+ let o = await gw(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await hw("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await gw("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var vre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, yre = (e, t) => {
+var _re = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, vre = (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 zw(e) {
- let t = Rw(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function Bw(e) {
+ let t = zw(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: hre(t, e.revision || 0),
+ queryKey: mre(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await _re(t, i, n, r, a);
+ let o = await gre(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: vre(n)
+ getNextPageParam: _re(n)
};
}
-function bre(e) {
+function yre(e) {
return {
- queryKey: gre(e.entityKey || "", e.revision || 0),
+ queryKey: hre(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -27180,12 +27180,12 @@ function bre(e) {
};
},
initialPageParam: 0,
- getNextPageParam: yre
+ getNextPageParam: vre
};
}
-async function xre(e, t) {
+async function bre(e, t) {
if (e.mode !== "catalog") return;
- let n = zw(e);
+ let n = Bw(e);
await X.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -27194,7 +27194,7 @@ async function xre(e, t) {
})
});
}
-function Sre(e, t, n) {
+function xre(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -27209,28 +27209,28 @@ function Sre(e, t, n) {
return !0;
}) : [...e];
}
-var Bw = (e, t) => !!e && !!Lw(e, t);
-function Cre(e, t) {
+var Vw = (e, t) => !!e && !!Rw(e, t);
+function Sre(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
-function wre(e, t) {
- let n = (e) => Bw(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) => Bw(e, t)) || e[e.length - 1];
+function Cre(e, t) {
+ let n = (e) => Vw(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) => Vw(e, t)) || e[e.length - 1];
}
-function Tre(e, { collapse: t, mix: n, javImage: r }) {
+function wre(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 = Sre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = xre(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 = wre(e, r);
+ let t = Cre(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -27243,16 +27243,16 @@ function Tre(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Ere(e, t, n) {
+function Tre(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 Dre(e, t) {
+function Ere(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 Ore(e, t) {
+function Dre(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -27265,7 +27265,7 @@ function Ore(e, t) {
strip: null
}), r;
}
-function kre(e, t) {
+function Ore(e, t) {
X.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -27282,7 +27282,7 @@ function kre(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function Vw(e, t) {
+function Hw(e, t) {
let [n, r] = (0, I.useState)(e ? "skeleton" : "none"), [i] = (0, I.useState)(() => e ? t() : ""), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
a.current && y(a.current);
@@ -27308,7 +27308,7 @@ function Vw(e, t) {
fading: n === "fade"
};
}
-function Hw({ message: e, onRetry: t }) {
+function Uw({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -27322,21 +27322,21 @@ function Hw({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/catalog-grid/artwork.ts
-var Uw = {
+var Ww = {
kind: "",
html: ""
};
-function Ww(e, t, n, i, a) {
- let o = Lw(e, i);
- if (!o) return Uw;
+function Gw(e, t, n, i, a) {
+ let o = Rw(e, i);
+ if (!o) return Ww;
let s = e.has_cover && e.code ? `/cover?code=${encodeURIComponent(e.code)}&thumb=1` : "", c = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", l = a(e, t, n), u = (l.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), d = o === "cover" ? l : `<img class="poster" src="${c}" alt="" loading="${n ? "eager" : "lazy"}"${u}>`;
return {
kind: o === "cover" ? "cover" : "thumb",
html: d.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${r(s)}" data-jav-thumb="${r(c)}" data-jav-image-layout="${t}" `)
};
}
-function Gw(e, t, n, i, a) {
- if (e.is_jav) return Ww(e, t, n, i, a);
+function Kw(e, t, n, i, a) {
+ if (e.is_jav) return Gw(e, t, n, i, a);
let o = n ? "eager" : "lazy";
return e.follow_thumb_url ? {
kind: "thumb",
@@ -27344,11 +27344,11 @@ function Gw(e, t, n, i, a) {
} : e.has_thumb || e.has_local_poster ? {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${o}">`
- } : Uw;
+ } : Ww;
}
//#endregion
//#region src/react/components/art-slot.tsx
-function Kw({ artwork: e, identity: t = e.html, relayout: n }) {
+function qw({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, I.useState)({
identity: t,
artwork: e
@@ -27368,7 +27368,7 @@ function Kw({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var qw = .75, Are = 9 / 16;
+var kre = .75, Are = 9 / 16;
function Jw({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -27383,7 +27383,7 @@ var Yw = {
other: "其它文件"
}, Xw = (e) => e.is_jav ? "女优" : "艺人";
function Zw(e, t, n) {
- return t === "short" || n.portrait ? Are : n.active && e.is_jav && n.size === "big" ? qw : 16 / 9;
+ return t === "short" || n.portrait ? Are : n.active && n.size === "big" ? kre : 16 / 9;
}
function Qw(e, t) {
let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Xw(e);
@@ -27489,7 +27489,7 @@ function nT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
let p = (0, I.useCallback)((e) => {
let { item: t, helpers: n } = f.current;
d.current && d.current !== e && n.releaseHover(d.current), d.current = e, e && (!t.medium || t.medium === "video") && n.wireHover(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Gw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Gw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Qw(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Kw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Kw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Qw(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27525,7 +27525,7 @@ function nT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
"data-media-pic": "",
style: { "--card-ratio": String(Zw(e, t, n)) },
children: [
- v.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
+ v.html ? /* @__PURE__ */ (0, L.jsx)(qw, {
artwork: v,
identity: y,
relayout: (e) => c.relayoutArt(e, _)
@@ -27935,7 +27935,7 @@ function vT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: f === void 0 ? void 0 : { "--card-ratio": String(f) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden rounded-surface",
children: [
- p?.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
+ p?.html ? /* @__PURE__ */ (0, L.jsx)(qw, {
artwork: p,
identity: m,
relayout: h
@@ -28011,7 +28011,7 @@ function vT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
var yT = "";
function bT(e) {
if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(ST, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Rw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${zw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
return /* @__PURE__ */ (0, L.jsx)(CT, { ...e }, t);
}
function xT({ name: e }) {
@@ -28043,7 +28043,7 @@ function ST(e) {
});
}
function CT(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? bre(e) : zw(e), s = i && e.initial ? {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? yre(e) : Bw(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -28063,7 +28063,7 @@ function CT(e) {
(0, I.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: f } = (0, I.useMemo)(() => Tre(c.data?.pages || [], {
+ let { tiles: u, pageStarts: f } = (0, I.useMemo)(() => wre(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -28073,7 +28073,7 @@ function CT(e) {
e.mix,
a,
r.javImage
- ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Vw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = TT(e, c.data, u, f, g);
+ ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Hw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = TT(e, c.data, u, f, g);
(0, I.useLayoutEffect)(() => {
if (!c.data) return;
e.onCount?.(m, p);
@@ -28111,7 +28111,7 @@ function CT(e) {
"data-grid-reveal": h.fading ? "" : void 0,
children: [h.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, L.jsx)(Hw, {
+ if (!c.data) return /* @__PURE__ */ (0, L.jsx)(Uw, {
message: d(c.error),
onRetry: () => void c.refetch()
});
@@ -28128,7 +28128,7 @@ function CT(e) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Ore(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
+ children: Dre(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
}), t.strip ? /* @__PURE__ */ (0, L.jsx)(ET, {
@@ -28205,7 +28205,7 @@ function wT({ entity: e, load: t, enabled: n, children: r }) {
...p,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: x("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ }), s.error ? /* @__PURE__ */ (0, L.jsx)(Uw, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
@@ -28219,7 +28219,7 @@ function TT(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- hw(`/api/items?${Dre(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ gw(`/api/items?${Ere(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -28235,7 +28235,7 @@ function TT(e, t, n, r, i) {
}, [t]), (0, I.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 = Ere(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 = Tre(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, {
@@ -28282,7 +28282,7 @@ function ET({ cut: e, props: t, onOpen: n }) {
}
function DT(e, t, n, r) {
let i = t.active && !!e.is_jav;
- return e.is_jav ? Ww(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
+ return e.is_jav ? Gw(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
html: ""
} : {
@@ -28293,14 +28293,14 @@ function DT(e, t, n, r) {
function OT({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, I.useRef)(/* @__PURE__ */ new Map()), a = (0, I.useRef)(t);
a.current = t;
- let o = Cre(e, n.tagLabel), s = (0, I.useCallback)(async () => {
- let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => Bw(e, t.javImage)).slice(0, 9);
+ let o = Sre(e, n.tagLabel), s = (0, I.useCallback)(async () => {
+ let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => Vw(e, t.javImage)).slice(0, 9);
return i.current = new Map(o.map((e) => [String(e.id), DT(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
- ]), c = t.active && !!e.is_jav, l = c ? t.size : "small", u = DT(e, t, !1, n);
+ ]), c = t.active && e.is_jav ? t.size : "small", l = DT(e, t, !1, n);
return /* @__PURE__ */ (0, L.jsx)(vT, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
@@ -28310,13 +28310,13 @@ function OT({ seed: e, layout: t, helpers: n, actions: r }) {
glyph: !0,
wholeCard: !0,
poster: null,
- artwork: u,
- artworkIdentity: l === "small" ? u.html : DT(e, {
+ artwork: l,
+ artworkIdentity: c === "small" ? l.html : DT(e, {
...t,
size: "small"
}, !1, n).html,
- relayoutArt: (e) => n.relayoutArt(e, l),
- ratio: c && t.size === "big" ? qw : 16 / 9,
+ relayoutArt: (e) => n.relayoutArt(e, c),
+ ratio: Zw(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -28329,7 +28329,7 @@ function OT({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var kT = "/api/sources", AT = ["media-sources"], jT = (e) => hw(kT, e);
+var kT = "/api/sources", AT = ["media-sources"], jT = (e) => gw(kT, e);
async function MT(e) {
await X.fetchQuery({
queryKey: AT,
@@ -28340,7 +28340,7 @@ var NT = [
"local",
"115",
"pikpak"
-], PT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), FT = "/api/duplicates?limit=120", IT = ["duplicates"], LT = "/api/batch", RT = (e) => hw(FT, e);
+], PT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), FT = "/api/duplicates?limit=120", IT = ["duplicates"], LT = "/api/batch", RT = (e) => gw(FT, e);
async function zT(e) {
await Promise.all([X.fetchQuery({
queryKey: IT,
@@ -28385,7 +28385,7 @@ async function KT(e, t) {
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var qT = "/api/library-processing", JT = ["library-processing"], YT = (e) => hw(qT, e);
+var qT = "/api/library-processing", JT = ["library-processing"], YT = (e) => gw(qT, e);
async function XT(e) {
await X.fetchQuery({
queryKey: JT,
@@ -28453,7 +28453,7 @@ var lE = "/api/media-repair", uE = ["media-repair"], dE = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, pE = (e) => hw(lE, e), mE = async (e) => (await hw("/api/libraries", e)).libraries || [];
+}, pE = (e) => gw(lE, e), mE = async (e) => (await gw("/api/libraries", e)).libraries || [];
async function hE(e) {
await Promise.all([X.fetchQuery({
queryKey: uE,
@@ -28471,7 +28471,7 @@ function _E(e) {
}
return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${gE(e.repaired)} 部,${gE(e.failed)} 部修不了` : `修好 ${gE(e.repaired)} 部` : "";
}
-var vE = (e) => `${gE(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, yE = "/api/quality-goals?limit=200", bE = ["quality-goals"], xE = (e) => hw(yE, e);
+var vE = (e) => `${gE(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, yE = "/api/quality-goals?limit=200", bE = ["quality-goals"], xE = (e) => gw(yE, e);
async function SE(e) {
await X.fetchQuery({
queryKey: bE,
@@ -28609,7 +28609,7 @@ function QE(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var jre = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", $E = (e) => hw(kE, e), eD = (e) => q(AE, e), Mre = (e, t) => q(jE, {
+var jre = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", $E = (e) => gw(kE, e), eD = (e) => q(AE, e), Mre = (e, t) => q(jE, {
genre: e,
tag: t
});
@@ -28657,10 +28657,10 @@ async function cD(e) {
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var lD = (e) => hw(Ire, e), uD = (e) => q(nD, { status_only: !0 }, "POST", e), Lre = ({ retry: e, checkId: t }) => cD(q(nD, e ? {
+var lD = (e) => gw(Ire, e), uD = (e) => q(nD, { status_only: !0 }, "POST", e), Lre = ({ retry: e, checkId: t }) => cD(q(nD, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), dD = (e) => hw(rD, e), Rre = (e) => cD(q(rD, {
+} : { restart: !0 })), dD = (e) => gw(rD, e), Rre = (e) => cD(q(rD, {
confirm: !0,
check_id: e,
background: !0
@@ -28671,7 +28671,7 @@ function Bre(e) {
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Vre = "/api/organize", Hre = "/api/organize/preview", Ure = "/api/organize/apply", Wre = "/api/organize/rollback", Gre = "/api/settings", pD = ["organize"], mD = (e) => hw(Vre, e);
+var Vre = "/api/organize", Hre = "/api/organize/preview", Ure = "/api/organize/apply", Wre = "/api/organize/rollback", Gre = "/api/settings", pD = ["organize"], mD = (e) => gw(Vre, e);
async function Kre(e) {
await X.fetchQuery({
queryKey: pD,
@@ -28720,7 +28720,7 @@ var vD = "/api/resource-sync/scan", yD = "/api/resource-sync/apply", bD = ["reso
}, "POST", e), $re = () => q(vD, {
background: !0,
restart: !0
-}), CD = (e) => hw(yD, e), eie = (e) => q(yD, {
+}), CD = (e) => gw(yD, e), eie = (e) => q(yD, {
confirm: !0,
clean_cache: !0,
scan_id: e,
@@ -28766,9 +28766,9 @@ var cie = (e, t) => {
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], jD = (e) => hw(lie, e), MD = (e) => hw(uie, e), ND = (e) => {
+], jD = (e) => gw(lie, e), MD = (e) => gw(uie, e), ND = (e) => {
let t = sessionStorage.getItem("peach.library");
- return hw(t ? `${kD}&library=${encodeURIComponent(t)}` : kD, e);
+ return gw(t ? `${kD}&library=${encodeURIComponent(t)}` : kD, e);
}, PD = (e) => Number(e || 0).toLocaleString();
function fie(e) {
let t = NE, 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);
@@ -28831,14 +28831,14 @@ var gie = [
"bg-chart-8/10"
];
function FD(e = {}) {
- return `${gw({
+ return `${_w({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
var ID = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", vie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
function LD({ interactive: e = !1 } = {}) {
- return gw({
+ return _w({
padding: "none",
radius: "plain",
interactive: e,
@@ -29064,7 +29064,7 @@ var nO = /*#__PURE__*/ (0, I.createContext)({}), Sie = /*#__PURE__*/ Uh(function
[e, t] = WD(e, t, rO);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = See(e, t);
i = Tie(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = wy(e), { hoverProps: l, isHovered: u } = jy({
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = Ty(e), { hoverProps: l, isHovered: u } = My({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -29157,7 +29157,7 @@ var kie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
ref: t
}));
}), Aie = /*#__PURE__*/ (0, I.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, I.useContext)(fO), { isFocused: p, isFocusVisible: m, focusProps: h } = wy(), g = a || o, { hoverProps: _, isHovered: v } = jy({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, I.useContext)(fO), { isFocused: p, isFocusVisible: m, focusProps: h } = Ty(), g = a || o, { hoverProps: _, isHovered: v } = My({
...e,
isDisabled: g
}), y = HD({
@@ -29198,12 +29198,12 @@ var kie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
[e, t] = WD(e, t, pO);
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 } = jy({
+ let { hoverProps: l, isHovered: u } = My({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = wy({ within: !0 }), m = HD({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Ty({ within: !0 }), m = HD({
...e,
values: {
isHovered: u,
@@ -29232,10 +29232,10 @@ var kie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
return i;
}, Nie = /*#__PURE__*/ Uh(function(e, t) {
[e, t] = WD(e, t, mO);
- let { hoverProps: n, isHovered: r } = jy({
+ let { hoverProps: n, isHovered: r } = My({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = wy({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = Ty({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = HD({
@@ -29664,7 +29664,7 @@ var nk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), rk = /*#__PURE_
[e, t] = WD(e, t, rk);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = JD[c], { separatorProps: u } = Fte({
+ let l = JD[c], { separatorProps: u } = Pte({
...s,
elementType: n,
orientation: r
@@ -30267,7 +30267,7 @@ function vk({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = ste({
+ ]), { listBoxProps: x } = ote({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -30299,7 +30299,7 @@ function vk({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = wy(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = Ty(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -30351,7 +30351,7 @@ function vk({ state: e, props: t, listBoxRef: n }) {
}))), ee, E));
}
function Uie(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(_k), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(XO), { CollectionBranch: s } = (0, I.useContext)(eO), [c, l] = GD(), { headingProps: u, groupProps: d } = cte({
+ let i = (0, I.useContext)(_k), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(XO), { CollectionBranch: s } = (0, I.useContext)(eO), [c, l] = GD(), { headingProps: u, groupProps: d } = ste({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = HD({
@@ -30374,10 +30374,10 @@ function Uie(e, t, n, r = "react-aria-ListBoxSection") {
})));
}
var Wie = /*#__PURE__*/ og(sp, function(e, t, n) {
- let r = Ih(t), i = (0, I.useContext)(_k), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(XO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = lte({
+ let r = Ih(t), i = (0, I.useContext)(_k), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(XO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = cte({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = jy({
+ }, i, r), { hoverProps: p, isHovered: m } = My({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -30594,7 +30594,7 @@ var Ck = /*#__PURE__*/ (0, I.createContext)(null), wk = /*#__PURE__*/ (0, I.crea
});
});
function Yie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(wk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = kte({
+ let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(wk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Ote({
...i,
offset: i.offset ?? 8,
arrowRef: a,
@@ -30625,7 +30625,7 @@ function Yie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, I.useState)(null), w = (0, I.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- Gp(w, [w]), Sb({
+ Gp(w, [w]), Cb({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -30650,17 +30650,17 @@ function Yie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(Jie.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(ax, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(Jie.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ I.createElement(xy, {
+ } }, x), /*#__PURE__*/ I.createElement(ax, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ I.createElement(Sy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ I.createElement(xy, {
+ }, E) : /*#__PURE__*/ I.createElement(Sy, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -30828,7 +30828,7 @@ function rae({ props: e, collection: t, menuRef: n }) {
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(kk), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(eO), { menuProps: u } = ute({
+ }), s = (0, I.useContext)(kk), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(eO), { menuProps: u } = lte({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
@@ -30892,7 +30892,7 @@ var iae = class extends lk {
}
};
function jk(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(Ok), { CollectionBranch: a } = (0, I.useContext)(eO), [o, s] = GD(), { headingProps: c, groupProps: l } = fte({
+ let i = (0, I.useContext)(Ok), { CollectionBranch: a } = (0, I.useContext)(eO), [o, s] = GD(), { headingProps: c, groupProps: l } = dte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
}), u = HD({
@@ -30921,13 +30921,13 @@ function jk(e, t, n, r = "react-aria-MenuSection") {
}
var Mk = /*#__PURE__*/ sg(cp, jk), Nk = /*#__PURE__*/ (0, I.createContext)(null), Pk = /*#__PURE__*/ og(sp, function(e, t, n) {
[e, t] = WD(e, t, Nk);
- let r = UD(Nk)?.id, i = (0, I.useContext)(Ok), a = Ih(t), o = (0, I.useContext)(Ak), { isVirtualized: s } = (0, I.useContext)(eO), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = dte({
+ let r = UD(Nk)?.id, i = (0, I.useContext)(Ok), a = Ih(t), o = (0, I.useContext)(Ak), { isVirtualized: s } = (0, I.useContext)(eO), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ute({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = jy({ isDisabled: f.isDisabled }), h = HD({
+ }, i, a), { hoverProps: p, isHovered: m } = My({ isDisabled: f.isDisabled }), h = HD({
...e,
id: void 0,
children: n.rendered,
@@ -31010,7 +31010,7 @@ og(op, function(e, t, n) {
var aae = /*#__PURE__*/ (0, I.createContext)(null), Fk = /*#__PURE__*/ (0, I.createContext)(null), Ik = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
[e, t] = WD(e, t, aae);
- let { dialogProps: r, titleProps: i, contentProps: a } = Cy({
+ let { dialogProps: r, titleProps: i, contentProps: a } = wy({
...e,
"aria-labelledby": n
}, t), o = (0, I.useContext)(Fk);
@@ -31111,7 +31111,7 @@ function lae(e, t) {
}
var Bk = /*#__PURE__*/ (0, I.forwardRef)(lae);
function uae({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = _te(t, r, n), o = bk(t.overlayRef) || t.isEntering || !1, s = HD({
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = gte(t, r, n), o = bk(t.overlayRef) || t.isEntering || !1, s = HD({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -31131,7 +31131,7 @@ function uae({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ I.createElement(xy, {
+ return /*#__PURE__*/ I.createElement(Sy, {
isExiting: t.isExiting,
portalContainer: e
}, /*#__PURE__*/ I.createElement(JD.div, {
@@ -31164,7 +31164,7 @@ function Vk(e) {
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ I.createElement(ix, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ I.createElement(ax, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
@@ -31198,7 +31198,7 @@ var mae = /*#__PURE__*/ (0, I.createContext)(null), hae = /*#__PURE__*/ (0, I.cr
let { validationBehavior: n } = UD(lO) || {}, r = e.validationBehavior ?? n ?? "native", i = pae({
...e,
validationBehavior: r
- }), [a, o] = GD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jte({
+ }), [a, o] = GD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Ate({
...e,
label: o,
validationBehavior: r
@@ -31239,7 +31239,7 @@ var mae = /*#__PURE__*/ (0, I.createContext)(null), hae = /*#__PURE__*/ (0, I.cr
}), Wk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = WD(r, t, hae);
- let i = I.useContext(Hk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Ate({
+ let i = I.useContext(Hk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = kte({
...KD(e),
children: typeof e.children == "function" || e.children
}, i, a);
@@ -31252,7 +31252,7 @@ var mae = /*#__PURE__*/ (0, I.createContext)(null), hae = /*#__PURE__*/ (0, I.cr
ref: t
}));
}), Gk = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(Gk), l = I.useContext(Hk), { isFocused: u, isFocusVisible: d, focusProps: f } = wy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jy({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(Gk), l = I.useContext(Hk), { isFocused: u, isFocusVisible: d, focusProps: f } = Ty(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = My({
...e,
isDisabled: p
}), g = HD({
@@ -31388,7 +31388,7 @@ function Sae({ props: e, selectRef: t, collection: n }) {
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = wy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = GD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Mte({
+ }), { isFocusVisible: o, focusProps: s } = Ty({ within: !0 }), c = (0, I.useRef)(null), [l, u] = GD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = jte({
...KD(e),
label: u,
validationBehavior: i
@@ -31457,7 +31457,7 @@ function Sae({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ I.createElement(Pte, {
+ }, b.children, /*#__PURE__*/ I.createElement(Nte, {
..._,
autoComplete: e.autoComplete
})));
@@ -31476,7 +31476,7 @@ for (var Jk = /*#__PURE__*/ (0, I.createContext)(null), Cae = /*#__PURE__*/ Uh(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Ty(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Ey(), o = (0, I.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, I.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -31512,7 +31512,7 @@ for (var Jk = /*#__PURE__*/ (0, I.createContext)(null), Cae = /*#__PURE__*/ Uh(f
}), wae = /*#__PURE__*/ (0, I.createContext)(null), Yk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = WD(r, t, wae);
- let i = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ev(e), o = Ite({
+ let i = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ev(e), o = Fte({
...KD(e),
children: typeof e.children == "function" || e.children
}, a, i);
@@ -31525,7 +31525,7 @@ for (var Jk = /*#__PURE__*/ (0, I.createContext)(null), Cae = /*#__PURE__*/ Uh(f
ref: t
}));
}), Xk = /*#__PURE__*/ (0, I.createContext)(null), Eae = /*#__PURE__*/ (0, I.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, I.useContext)(Xk), { isFocused: f, isFocusVisible: p, focusProps: m } = wy(), h = a || o, g = (0, I.useContext)(Yk), { hoverProps: _, isHovered: v } = jy({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, I.useContext)(Xk), { isFocused: f, isFocusVisible: p, focusProps: m } = Ty(), h = a || o, g = (0, I.useContext)(Yk), { hoverProps: _, isHovered: v } = My({
...e,
isDisabled: h
}), y = HD({
@@ -32216,7 +32216,7 @@ function zae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Nae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(eO), { dragAndDropHooks: _ } = e, { gridProps: v } = Hte({
+ }), f = Nae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(eO), { dragAndDropHooks: _ } = e, { gridProps: v } = Vte({
...s,
layoutDelegate: m,
isVirtualized: p
@@ -32262,7 +32262,7 @@ function zae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = wy(), N = HD({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = Ty(), N = HD({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -32328,7 +32328,7 @@ var Bae = /*#__PURE__*/ (0, I.createContext)(null), aA = class extends ip {
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = kS(), { hoverProps: a, isHovered: o } = jy({
+ }), { rowGroupProps: i } = AS(), { hoverProps: a, isHovered: o } = My({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -32358,10 +32358,10 @@ var Bae = /*#__PURE__*/ (0, I.createContext)(null), aA = class extends ip {
});
});
function Uae({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(nA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(eO), { rowProps: a } = SS({
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(nA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(eO), { rowProps: a } = CS({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = MS(n);
+ }, n, t), { checkboxProps: o } = NS(n);
return /*#__PURE__*/ I.createElement(Hae, {
...a,
ref: t
@@ -32384,14 +32384,14 @@ var Wae = class extends ip {
ref: t
});
}), sA = /*#__PURE__*/ og(Wae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(nA), { isVirtualized: a } = (0, I.useContext)(eO), { columnHeaderProps: o, isPressed: s } = xS({
+ let r = Ih(t), i = (0, I.useContext)(nA), { isVirtualized: a } = (0, I.useContext)(eO), { columnHeaderProps: o, isPressed: s } = SS({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wy(), d = (0, I.useContext)(rA), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Ty(), d = (0, I.useContext)(rA), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = jy({ isDisabled: !e.allowsSorting }), h = HD({
+ let { hoverProps: p, isHovered: m } = My({ isDisabled: !e.allowsSorting }), h = HD({
...e,
id: void 0,
children: n.rendered,
@@ -32470,7 +32470,7 @@ var Wae = class extends ip {
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = kS(), _ = zg(e, { global: !0 });
+ let { rowGroupProps: g } = AS(), _ = zg(e, { global: !0 });
return /*#__PURE__*/ I.createElement(qae, {
...H(_, p, g),
ref: t,
@@ -32508,16 +32508,16 @@ var uA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Ja
ref: t
});
}), fA = /*#__PURE__*/ sg(Jae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(nA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(XO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(eO), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ES({
+ let r = Ih(t), i = (0, I.useContext)(nA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(XO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(eO), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = DS({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = wy(), { isFocusVisible: _, focusProps: v } = wy({ within: !0 }), { hoverProps: y, isHovered: b } = jy({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Ty(), { isFocusVisible: _, focusProps: v } = Ty({ within: !0 }), { hoverProps: y, isHovered: b } = My({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = jS({ key: n.key }, i), S;
+ }), { checkboxProps: x } = MS({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -32630,13 +32630,13 @@ var uA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Ja
}), mA = /*#__PURE__*/ og(Yae, (e, t, n) => {
let r = Ih(t), i = (0, I.useContext)(nA), { dragState: a } = (0, I.useContext)(XO), { isVirtualized: o } = (0, I.useContext)(eO);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = yS({
+ let { gridCellProps: s, isPressed: c } = bS({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wy(), { hoverProps: f, isHovered: p } = jy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(uA), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = HD({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Ty(), { hoverProps: f, isHovered: p } = My({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(uA), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = HD({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -32865,7 +32865,7 @@ function ioe({ props: e, tabsRef: t, collection: n }) {
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = wy({ within: !0 }), c = (0, I.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = Ty({ within: !0 }), c = (0, I.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -32895,7 +32895,7 @@ var yA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
}) : /*#__PURE__*/ I.createElement(ug, e);
});
function aoe({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(_A), { CollectionRoot: r } = (0, I.useContext)(eO), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = UD(gA), o = Ih(t), { tabListProps: s } = LS({
+ let n = (0, I.useContext)(_A), { CollectionRoot: r } = (0, I.useContext)(eO), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = UD(gA), o = Ih(t), { tabListProps: s } = RS({
...e,
orientation: i,
keyboardActivation: a
@@ -32922,10 +32922,10 @@ var bA = /*#__PURE__*/ og(class extends ip {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(_A), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = FS({
+ let r = (0, I.useContext)(_A), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = IS({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wy(), { hoverProps: f, isHovered: p } = jy({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Ty(), { hoverProps: f, isHovered: p } = My({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
@@ -32966,7 +32966,7 @@ var bA = /*#__PURE__*/ og(class extends ip {
});
});
function ooe(e) {
- let t = (0, I.useContext)(_A), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = RS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wy(), d = t.selectedKey === e.id, f = bk(r) && !i, p = HD({
+ let t = (0, I.useContext)(_A), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = zS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Ty(), d = t.selectedKey === e.id, f = bk(r) && !i, p = HD({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -33126,7 +33126,7 @@ function CA(e) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var wA = cw({
+var wA = lw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33151,7 +33151,7 @@ var wA = cw({
}
});
function TA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = sw(wA.base, wA.size[t], wA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+ let c = cw(wA.base, wA.size[t], wA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
className: wA.icon[t],
"aria-hidden": !0
@@ -33200,7 +33200,7 @@ var EA = [
}).medium;
//#endregion
//#region src/management.ts
-var poe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", moe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", hoe = gw({
+var poe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", moe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", hoe = _w({
padding: "none",
bordered: "line",
className: "overflow-hidden"
@@ -33213,7 +33213,7 @@ var poe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两
}, voe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", yoe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, boe = gw({
+}, boe = _w({
padding: "none",
radius: "surface",
bordered: "line",
@@ -33268,7 +33268,7 @@ function PA() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var FA = cw({
+var FA = lw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -33293,7 +33293,7 @@ function IA({ icon: e, size: t = "medium", className: n, type: r = "button", ref
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: sw(FA.base, FA.size[t], n),
+ className: cw(FA.base, FA.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
className: FA.icon[t],
@@ -33328,7 +33328,7 @@ function zA({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof pw ? e.message : RA);
+ c.current && s(e instanceof mw ? e.message : RA);
} finally {
c.current && a(!1);
}
@@ -33339,7 +33339,7 @@ function zA({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("p", {
- className: sw("min-w-0 break-all", n),
+ className: cw("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, L.jsx)(IA, {
icon: LA,
@@ -33360,38 +33360,38 @@ function zA({ path: e, prefix: t, className: n, onRevealed: r }) {
function BA({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : gw({
+ className: r ? "flex flex-col gap-1.5" : _w({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(xw, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Sw, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, L.jsx)(vw, { label: e })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(yw, { label: e })
});
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
function VA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: sw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: cw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function HA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
- className: sw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: cw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
function UA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: sw("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: cw("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, L.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsx)("p", {
@@ -33478,7 +33478,7 @@ function ZA({ href: e, children: t }) {
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: rC,
+ trailingIcon: iC,
children: t
});
}
@@ -33513,7 +33513,7 @@ function ej({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (O(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, L.jsx)(qS, {
+ children: [/* @__PURE__ */ (0, L.jsx)(JS, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33575,20 +33575,20 @@ function rj({ toast: e, mode: t, monitor: n }) {
var ij = [
{
label: "扫描并补全资料",
- icon: eC,
+ icon: tC,
command: {}
},
{
label: "只扫描",
- icon: sC,
+ icon: cC,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: oC,
+ icon: sC,
command: { stage: "collect" }
}
-], aj = sw(DA, OA, "text-body-2-medium"), oj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", sj = (e) => {
+], aj = cw(DA, OA, "text-body-2-medium"), oj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", sj = (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} 张`];
@@ -33603,14 +33603,14 @@ function lj({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: eC,
+ leadingIcon: tC,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: GS,
+ leadingIcon: KS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33747,13 +33747,13 @@ function dj(e) {
/* @__PURE__ */ (0, L.jsx)(TA, {
href: "/scraping",
size: "small",
- trailingIcon: KS,
+ trailingIcon: qS,
children: "来源和凭证"
}),
s.candidates ? /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/review",
size: "small",
- trailingIcon: KS,
+ trailingIcon: qS,
children: "复核资料"
}) : null,
/* @__PURE__ */ (0, L.jsx)(lj, {
@@ -33859,22 +33859,22 @@ function _j({ className: e, triggerClassName: t, popoverClassName: n, size: r =
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: sw("group flex flex-col", e),
+ className: cw("group flex flex-col", e),
children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(iO, {
ref: l,
- className: sw("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ className: cw("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, L.jsx)(Cae, {
- className: sw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: cw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(fj, { className: sw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(fj, { className: cw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, L.jsx)(Tk, {
ref: u,
isNonModal: !0,
offset: 4,
- className: sw(doe, EA, "p-2", n),
+ className: cw(doe, EA, "p-2", n),
children: /* @__PURE__ */ (0, L.jsx)(Vie, {
items: a,
- className: sw(foe, "max-h-[240px] overflow-auto"),
+ className: cw(foe, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, L.jsx)(gj.Provider, {
value: r,
children: i
@@ -33887,7 +33887,7 @@ function vj({ className: e, children: t, ...n }) {
let r = (0, I.useContext)(gj);
return /* @__PURE__ */ (0, L.jsx)(Wie, {
...n,
- className: (t) => sw(DA, 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) => cw(DA, 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
});
}
@@ -33944,7 +33944,7 @@ function Tj() {
}), t = Ft({
queryKey: dE,
queryFn: ({ signal: e }) => mE(e)
- }), [n, r] = (0, I.useState)(""), i = Sw(), a = e.data ?? fE, 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, I.useState)(""), i = Cw(), a = e.data ?? fE, 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 && g({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
@@ -33990,7 +33990,7 @@ function Tj() {
className: "text-body-2-regular text-text-secondary",
children: moe
}),
- s && a.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
+ s && a.total ? /* @__PURE__ */ (0, L.jsx)(Sw, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -34044,7 +34044,7 @@ function Dj({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Ej[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: sw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? sw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : sw("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: cw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? cw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : cw("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, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34073,12 +34073,12 @@ function Oj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)(kie, {
ref: r,
...i,
- className: (t) => sw("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => cw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Dj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
- className: sw(a.label, "text-text-primary"),
+ className: cw(a.label, "text-text-primary"),
children: t
})] })
});
@@ -34087,11 +34087,11 @@ function Oj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
//#region src/react/boardui/components/base/table/table.tsx
function kj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: sw("w-full overflow-x-auto", n),
+ className: cw("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, L.jsx)(Lae, {
ref: r,
...i,
- className: sw("bui-table", e === "sm" && "bui-table-sm", t)
+ className: cw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
@@ -34231,7 +34231,7 @@ function Vj({ 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, L.jsx)(rC, {
+ }), /* @__PURE__ */ (0, L.jsx)(iC, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34439,7 +34439,7 @@ function Uj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
return /* @__PURE__ */ (0, L.jsxs)(Sie, {
"data-label": "true",
...a,
- className: sw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: cw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -34447,7 +34447,7 @@ function Uj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, L.jsx)(uC, {
+ n && /* @__PURE__ */ (0, L.jsx)(dC, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34460,7 +34460,7 @@ function Wj({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, L.jsx)(Eie, {
slot: e ? "errorMessage" : "description",
...n,
- className: sw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: cw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
@@ -34476,13 +34476,13 @@ function Kj({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
children: /* @__PURE__ */ (0, L.jsx)(loe, {
...a,
"data-input-size": e,
- className: sw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: cw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
Kj.displayName = "TextField";
-var qj = cw({
+var qj = lw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34515,7 +34515,7 @@ function Jj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
let l = (0, I.useContext)(Gj), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, L.jsx)(jie, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => sw(qj.field, d ? qj.fieldWithAddonSize[u] : qj.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 }) => cw(qj.field, d ? qj.fieldWithAddonSize[u] : qj.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, L.jsxs)("div", {
className: qj.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -34526,7 +34526,7 @@ function Jj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
}) : null, /* @__PURE__ */ (0, L.jsx)(Nie, {
ref: o,
...c,
- className: sw(qj.input, l.inputClassName, a)
+ className: cw(qj.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
className: qj.icon,
@@ -35047,7 +35047,7 @@ function vM({ toast: e, failure: t, open: n }) {
queryKey: AT,
queryFn: ({ signal: e }) => jT(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(bw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: yie,
children: [
@@ -35194,21 +35194,21 @@ function SM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: sw("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: cw("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: sw("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: cw("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, L.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: sw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: cw("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
@@ -35220,7 +35220,7 @@ function wM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
type: "button",
...i,
"aria-pressed": t,
- className: sw(CM, r),
+ className: cw(CM, r),
onClick: n,
children: e
});
@@ -35240,7 +35240,7 @@ function EM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var DM = cT("play"), OM = cT("file-stack"), kM = gw({
+var DM = cT("play"), OM = cT("file-stack"), kM = _w({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
@@ -35492,7 +35492,7 @@ function IM({ openItem: t, toast: n, failure: r }) {
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
icon: OM,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
@@ -35527,7 +35527,7 @@ function HM(e, t, n, r) {
});
return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${RM}?${i}`;
}
-var UM = (e, t, n, r) => hw(VM(e, t, n), r), WM = (e, t, n, r, i) => hw(HM(e, t, n, r), i), GM = "/api/index", KM = {
+var UM = (e, t, n, r) => gw(VM(e, t, n), r), WM = (e, t, n, r, i) => gw(HM(e, t, n, r), i), GM = "/api/index", KM = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
@@ -35609,12 +35609,12 @@ function rN(e) {
case "people": return {
...n,
queryKey: tN(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => hw(nN(e.kind, e.q, "all", t, n), r)
+ queryFn: ({ pageParam: n, signal: r }) => gw(nN(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
queryKey: tN("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => hw(nN("tags", e.q, e.category, t, n), r)
+ queryFn: ({ pageParam: n, signal: r }) => gw(nN("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
@@ -35676,7 +35676,7 @@ function pN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
...a,
"data-index-cell": "",
onClick: i,
- className: gw({
+ className: _w({
radius: "plain",
padding: "none",
interactive: !0,
@@ -35818,7 +35818,7 @@ function CN(t, n) {
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
var wN = null, TN = null, EN = 0;
function DN() {
- return (!TN || !wN?.isConnected) && (TN?.unmount(), wN = document.createElement("div"), wN.className = "peach-react", wN.dataset.photoLightboxHost = "", document.body.append(wN), TN = (0, HS.createRoot)(wN)), TN;
+ return (!TN || !wN?.isConnected) && (TN?.unmount(), wN = document.createElement("div"), wN.className = "peach-react", wN.dataset.photoLightboxHost = "", document.body.append(wN), TN = (0, US.createRoot)(wN)), TN;
}
async function ON(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
@@ -36145,7 +36145,7 @@ function MN({ roster: e, props: t }) {
});
}
function NN(e) {
- let t = Vw(!e.items, e.skeletonHtml);
+ let t = Hw(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
@@ -36936,7 +36936,7 @@ var OP = "/api/avatar-choices", kP = "/api/avatar-pick", AP = "/api/avatar-code-
"avatar-choices",
e,
t
-], NP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, PP = (e, t, n) => `${jP}${NP(e, t)}&ref=${encodeURIComponent(n)}`, FP = (e, t, n) => hw(OP + NP(e, t), n), IP = (e) => q(AP, { code: e });
+], NP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, PP = (e, t, n) => `${jP}${NP(e, t)}&ref=${encodeURIComponent(n)}`, FP = (e, t, n) => gw(OP + NP(e, t), n), IP = (e) => q(AP, { code: e });
function LP(e, t, n) {
let r = t.width === e.width && t.height === e.height;
return e.focus && r ? pP(e.focus, t, n) : dP(t, n);
@@ -36961,7 +36961,7 @@ async function zP(e, t, n) {
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new pw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new mw(a?.error || `请求失败(${i.status})`, i.status, a);
}
function BP(e, t) {
if (!t) return e;
@@ -36996,7 +36996,7 @@ function Ooe({ 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, L.jsx)(US, {
+ children: /* @__PURE__ */ (0, L.jsx)(WS, {
"aria-hidden": !0,
className: "size-4"
})
@@ -37041,7 +37041,7 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(wP, { children: /* @__PURE__ */ (0, L.jsx)(vC, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(wP, { children: /* @__PURE__ */ (0, L.jsx)(yC, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -37051,7 +37051,7 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(uw, {
+ }), !p && S.length ? /* @__PURE__ */ (0, L.jsxs)(dw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
@@ -37071,7 +37071,7 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
]
}),
/* @__PURE__ */ (0, L.jsx)(IA, {
- icon: QS,
+ icon: $S,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -37130,7 +37130,7 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, L.jsx)(uw, {
+ children: /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "gray",
children: "在用"
@@ -37138,7 +37138,7 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null,
HP(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsxs)(uw, {
+ children: /* @__PURE__ */ (0, L.jsxs)(dw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -38122,7 +38122,7 @@ function EF(e, t, n) {
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var DF = (e) => hw(`${nF}?summary=1`, e), OF = (e) => hw(rF, e), yse = (e) => hw(iF, e), bse = (e) => hw(oF, e), xse = (e, t) => hw(`${ese}?q=${encodeURIComponent(e)}`, t), kF = (e) => q(iF, {
+var DF = (e) => gw(`${nF}?summary=1`, e), OF = (e) => gw(rF, e), yse = (e) => gw(iF, e), bse = (e) => gw(oF, e), xse = (e, t) => gw(`${ese}?q=${encodeURIComponent(e)}`, t), kF = (e) => q(iF, {
...e?.length ? { sources: e } : {},
background: !0
}), Sse = (e) => q(oF, {
@@ -38155,9 +38155,9 @@ var DF = (e) => hw(`${nF}?summary=1`, e), OF = (e) => hw(rF, e), yse = (e) => hw
}), Ese = (e, t) => q(cF, {
item: e,
to: t
-}), Dse = () => hw(`${nF}?status=new&limit=1000`);
+}), Dse = () => gw(`${nF}?status=new&limit=1000`);
async function NF(e) {
- let t = await hw(nse, e);
+ let t = await gw(nse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
@@ -38168,7 +38168,7 @@ var PF = (e, t, n) => q(lF, {
}, "POST", n), FF = (e, t) => q(lF, {
action: "remove",
id: e
-}, "POST", t), IF = (e, t) => q(rse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ose = (e, t) => hw(`${ise}?q=${encodeURIComponent(e)}`, t), kse = (e, t, n) => q(lF, {
+}, "POST", t), IF = (e, t) => q(rse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ose = (e, t) => gw(`${ise}?q=${encodeURIComponent(e)}`, t), kse = (e, t, n) => q(lF, {
action: "follow-name",
name: e,
ids: t
@@ -38258,13 +38258,13 @@ function WF(e, t) {
UF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => hw(UF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => gw(UF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: Pe
};
}
-var GF = ["follow-feed", "credentials"], KF = (e) => hw(rF, e).catch(() => ({ providers: [] }));
+var GF = ["follow-feed", "credentials"], KF = (e) => gw(rF, e).catch(() => ({ providers: [] }));
async function zse(e, t) {
let n = WF(e.view, e.revision);
X.removeQueries({
@@ -38480,7 +38480,7 @@ function Jse(e, t) {
//#region src/react/follow-detail/follow-detail.ts
var iI = (e) => ["follow-item", e], Yse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Xse = "/api/follow/save", Zse = "/api/follow/media/hide";
async function aI(e, t) {
- let n = await hw(Yse(e), t);
+ let n = await gw(Yse(e), t);
for (let t of n.groups || []) {
let r = YF(t).find((t) => t.id === e);
if (r) return {
@@ -38702,7 +38702,7 @@ function hce(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, L.jsx)(mI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ children: r.isError ? /* @__PURE__ */ (0, L.jsx)(Uw, {
message: d(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -39582,7 +39582,7 @@ function Mce(e) {
a
]);
let _ = Nce(e, !!l);
- if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(Uw, {
message: d(s.error),
onRetry: () => void s.refetch()
}) : null;
@@ -39721,7 +39721,7 @@ function Nce(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => hw(iF, e),
+ read: (e) => gw(iF, e),
busy: (e) => {
t && (p.current = e, s(e));
},
@@ -40002,7 +40002,7 @@ function Rce({ count: e, onManage: t }) {
});
}
function zce({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = Vw(e, () => o.listSkeletonHtml(a.media));
+ let { view: a, helpers: o } = i, s = a.media === "images", c = Hw(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
@@ -40160,7 +40160,7 @@ function SI({ group: e, name: t }) {
}
function CI({ source: e }) {
let t = _F(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(uw, {
+ return /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: t,
children: pse(e)
@@ -40178,7 +40178,7 @@ function wI({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var TI = sw(DA, OA, "text-body-2-medium"), Wce = "粘贴来源链接,或输入创作者名、id…", Gce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Kce = "识别中…", qce = "站内没有查到来源", EI = (e, t) => `${e}:${t.url}`;
+var TI = cw(DA, OA, "text-body-2-medium"), Wce = "粘贴来源链接,或输入创作者名、id…", Gce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Kce = "识别中…", qce = "站内没有查到来源", EI = (e, t) => `${e}:${t.url}`;
function Jce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, I.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
@@ -40194,17 +40194,17 @@ function Jce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: sw(EA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: cw(EA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, L.jsx)(yw, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? sw(TI, "bg-background-secondary-default") : TI,
+ className: t === r ? cw(TI, "bg-background-secondary-default") : TI,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -40232,7 +40232,7 @@ function Yce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: aC,
+ leadingIcon: oC,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
@@ -40294,7 +40294,7 @@ function Xce({ 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, L.jsxs)("div", {
- className: gw({
+ className: _w({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -40435,7 +40435,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40459,7 +40459,7 @@ function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
"aria-label": "来源链接、名字或 id",
placeholder: Wce,
value: a,
- leadingIcon: gC,
+ leadingIcon: _C,
isDisabled: n,
onChange: o,
onKeyDown: F
@@ -40620,7 +40620,7 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}, v = t.filter((e) => a.has(DI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40791,7 +40791,7 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: QS,
+ leadingIcon: $S,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(h.isPending),
@@ -40805,9 +40805,9 @@ function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: vC,
+ icon: yC,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -40822,13 +40822,13 @@ function ale(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function ole({ row: e }) {
- if (VF(e)) return /* @__PURE__ */ (0, L.jsx)(uw, {
+ if (VF(e)) return /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, L.jsx)(uw, {
+ return /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: t,
children: Ise[e.requirement] || ""
@@ -40933,7 +40933,7 @@ function cle({ row: e, readOnly: t, toast: n }) {
children: e.provider_label
}),
/* @__PURE__ */ (0, L.jsx)(ole, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ e.missing.length ? /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -40959,7 +40959,7 @@ function cle({ row: e, readOnly: t, toast: n }) {
function lle({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !VF(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40994,7 +40994,7 @@ function lle({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, L.jsx)("div", {
- className: gw({
+ className: _w({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
@@ -41026,9 +41026,9 @@ function lle({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: fC,
+ icon: pC,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
@@ -42441,7 +42441,7 @@ function yL(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Wle = cw({
+var Wle = lw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -42507,10 +42507,10 @@ function Gle({ state: e, size: t = "md", shape: n = "pill" }) {
let r = Wle[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
- className: sw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? sw("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: cw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? cw("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, L.jsx)("span", {
- className: sw("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, L.jsx)("span", { className: sw("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: cw("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, L.jsx)("span", { className: cw("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") })
})
});
}
@@ -42518,7 +42518,7 @@ function bL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
return /* @__PURE__ */ (0, L.jsx)(Tae, {
ref: i,
...a,
- className: (t) => sw("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => cw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Gle, {
state: e,
size: n,
@@ -42610,7 +42610,7 @@ function Zle({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ e.record ? /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "neutral",
children: e.record
@@ -42628,7 +42628,7 @@ function Zle({ card: e, picked: t, onPick: n }) {
});
}
function Qle({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Sw(), u = () => {
+ let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Cw(), u = () => {
let t = r.trim();
!t || e || l.run("lookup", (e) => Ose(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -42643,7 +42643,7 @@ function Qle({ readOnly: e, toast: t, onAdded: n }) {
});
}, m = a ? Xle(a, s) : null;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42660,7 +42660,7 @@ function Qle({ readOnly: e, toast: t, onAdded: n }) {
"aria-label": "女优名",
placeholder: Yle,
value: r,
- leadingIcon: gC,
+ leadingIcon: _C,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -42820,7 +42820,7 @@ function nue({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: hC,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -42829,7 +42829,7 @@ function nue({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: nC,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -42842,7 +42842,7 @@ function rue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(_F).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = TF(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: gw({
+ className: _w({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -42864,7 +42864,7 @@ function rue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: hC,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -42882,7 +42882,7 @@ function rue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: XS,
+ leadingIcon: ZS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -42893,7 +42893,7 @@ function rue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? YS : GS,
+ leadingIcon: n ? XS : KS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -43085,7 +43085,7 @@ function iue(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: hC,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...Y(se.busy),
@@ -43095,7 +43095,7 @@ function iue(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: nC,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -43145,7 +43145,7 @@ function iue(e) {
getPaginationRowModel: _L()
}), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = TF(s, pe), he = [...s], ge = Mse(j), _e = Nse(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -43164,7 +43164,7 @@ function iue(e) {
}),
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
- leadingIcon: mC,
+ leadingIcon: hC,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -43179,14 +43179,14 @@ function iue(e) {
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Ute,
+ leadingIcon: Hte,
"aria-label": pF[0][1],
"aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Gte,
+ leadingIcon: Wte,
"aria-label": pF[1][1],
"aria-pressed": R,
onClick: () => f("table")
@@ -43208,14 +43208,14 @@ function iue(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? JS : WS,
+ leadingIcon: r === "asc" ? YS : GS,
"aria-label": fse(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ve ? GS : YS,
+ leadingIcon: ve ? KS : XS,
"aria-label": ve ? "全部展开" : "全部收起",
onClick: () => S(ve ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ve ? "全部展开" : "全部收起"
@@ -43443,11 +43443,11 @@ function iue(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: hC,
+ icon: gC,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -43480,15 +43480,15 @@ function cue(e) {
}
}
function lue({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ return e.last_error ? /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ }) : e.enabled ? /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, L.jsx)(uw, {
+ }) : /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "neutral",
children: "已暂停"
@@ -43526,7 +43526,7 @@ function pue({ readOnly: e, toast: t, avatarInner: n }) {
let r = Ft({
queryKey: fF,
queryFn: ({ signal: e }) => NF(e)
- }), i = Sw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), [u, d] = (0, I.useState)(1), [f, p] = (0, I.useState)(20), m = wF(o.length, f, u);
+ }), i = Cw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), [u, d] = (0, I.useState)(1), [f, p] = (0, I.useState)(20), m = wF(o.length, f, u);
(0, I.useEffect)(() => {
d((e) => Math.min(e, m.pages));
}, [m.pages]), (0, I.useEffect)(() => {
@@ -43673,7 +43673,7 @@ function pue({ readOnly: e, toast: t, avatarInner: n }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: mC,
+ leadingIcon: hC,
"aria-label": `拉取 ${DL(e.row.original)}`,
disabled: _.current.readOnly,
...Y(_.current.busy === `check-${e.row.original.id}`),
@@ -43683,7 +43683,7 @@ function pue({ readOnly: e, toast: t, avatarInner: n }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: nC,
"aria-label": `移除 ${DL(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
@@ -43728,7 +43728,7 @@ function pue({ readOnly: e, toast: t, avatarInner: n }) {
onAdded: () => void EL()
}), /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -43824,8 +43824,8 @@ function pue({ readOnly: e, toast: t, avatarInner: n }) {
children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(mA, { children: vL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: hC,
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
+ icon: gC,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -43879,7 +43879,7 @@ var kL = [
], AL = (e) => kL.some(([t]) => t === e);
function jL({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -43924,7 +43924,7 @@ function mue(e) {
dir: r === eF[n] ? "" : r
});
}, k = CF(D), A = D.filter(_F).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !VF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(bw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -44079,7 +44079,7 @@ var ML = (e) => ["item", e], NL = (e) => [
t
], gue = (e) => `/api/item?id=${e}`, _ue = (e, t) => `/api/related?id=${e}&limit=${t}`, PL = "/api/playlist", vue = "/api/feedback", FL = "/api/item-tag", IL = "/api/watch-later", LL = "/api/quality-goal", RL = "/api/preference", zL = class extends Error {};
async function BL(e, t) {
- let n = await hw(gue(e), t);
+ let n = await gw(gue(e), t);
if (n.error) throw new zL(n.error);
return n;
}
@@ -44093,8 +44093,8 @@ async function VL(e, t, n) {
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return HL(await hw(`${PL}?id=${e.playlistId}`, n));
- let r = await hw(`/api/${e.kind}?id=${e.seedId}`, n);
+ if (e.kind === "playlist") return HL(await gw(`${PL}?id=${e.playlistId}`, n));
+ let r = await gw(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
kind: e.kind,
@@ -44308,7 +44308,7 @@ function Bue({ code: e, coverUrl: t, box: n, onSaved: r }) {
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: /* @__PURE__ */ (0, L.jsx)($L, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, L.jsx)(vy, {
+ }), /* @__PURE__ */ (0, L.jsx)(yy, {
getContainer: () => Lue(o.current),
children: /* @__PURE__ */ (0, L.jsx)(CP, {
isOpen: i,
@@ -44367,7 +44367,7 @@ function Vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
]
}),
/* @__PURE__ */ (0, L.jsx)(IA, {
- icon: QS,
+ icon: $S,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -44450,7 +44450,7 @@ function Hue(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, L.jsx)(nR, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, L.jsx)(Hw, {
+ children: e ? /* @__PURE__ */ (0, L.jsx)(Uw, {
message: d(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -45418,7 +45418,7 @@ function ide(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({
queryKey: hue(t.id, n),
queryFn: async ({ signal: e }) => {
- let r = await hw(_ue(t.id, n), e);
+ let r = await gw(_ue(t.id, n), e);
return i.cache(r.items || []), r.items || [];
}
}), [o] = (0, I.useState)(() => r.relatedSkeletonHtml()), s = (0, I.useCallback)((e) => {
@@ -45468,7 +45468,7 @@ function ade(e, t, n, r) {
rating: t.rating,
o_count: t.o_count
};
- return kre(i, r), n([t]), t;
+ return Ore(i, r), n([t]), t;
}, h = (e, t) => q(e, {
id: i,
...t
@@ -45683,7 +45683,7 @@ function lde({ groups: e, actions: t }) {
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, L.jsxs)("section", {
"data-alpha-group": r,
- className: gw({
+ className: _w({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
@@ -46053,7 +46053,7 @@ function bde(e) {
mode: m
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, L.jsx)(_w, {
+ if (w.isError) return /* @__PURE__ */ (0, L.jsx)(vw, {
icon: cT("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
@@ -46103,7 +46103,7 @@ function bde(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(vw, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, L.jsx)(yw, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
@@ -46130,22 +46130,22 @@ var xde = {
agencies: "事务所"
};
function Sde({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, L.jsx)(_w, {
+ if (t) return /* @__PURE__ */ (0, L.jsx)(vw, {
icon: cT("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : xde[e], a = /* @__PURE__ */ (0, L.jsx)(fw, {
+ let i = n && e === "performers" ? "创作者" : xde[e], a = /* @__PURE__ */ (0, L.jsx)(pw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, L.jsx)(_w, {
+ return /* @__PURE__ */ (0, L.jsx)(vw, {
icon: cT(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [r ? /* @__PURE__ */ (0, L.jsx)(G, {
@@ -46189,7 +46189,7 @@ function Dde({ kind: e, view: t }) {
return e && n.set("kind", e), n.toString();
}
async function Ode(e, t) {
- let n = await hw(`/api/ads?${Dde(e)}`, t);
+ let n = await gw(`/api/ads?${Dde(e)}`, t);
return {
...n,
items: n.items || []
@@ -46522,7 +46522,7 @@ function Rde(e) {
}, [e]), t;
}
function zde({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Vw(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
+ let a = Hw(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
f?.() !== !1 && c((e) => e + 1);
}, [f]);
return /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -46530,13 +46530,13 @@ function zde({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, L.jsx)(Hw, {
+ if (!t) return /* @__PURE__ */ (0, L.jsx)(Uw, {
message: d(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, L.jsx)(_w, {
+ return /* @__PURE__ */ (0, L.jsx)(vw, {
icon: Fde,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
@@ -46612,7 +46612,7 @@ function Hde({ value: e, max: t }) {
function Ude(e) {
let { job: t } = rj(e), n = t.data, r = t.isError ? n ? $T : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : iE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? dC : nC;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : iE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? fC : rC;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
className: Vde[s],
@@ -46631,14 +46631,14 @@ function Ude(e) {
}), /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: KS,
+ trailingIcon: qS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Wde = "/api/playlists", pR = "/api/playlist", mR = ["playlists"], hR = (e) => hw(Wde, e);
+var Wde = "/api/playlists", pR = "/api/playlist", mR = ["playlists"], hR = (e) => gw(Wde, e);
async function Gde(e) {
await X.fetchQuery({
queryKey: mR,
@@ -46660,7 +46660,7 @@ var gR = () => X.invalidateQueries({
}), yR = (e) => q(pR, {
action: "delete",
id: e
-}), Jde = (e) => hw(`${pR}?id=${e}`).catch(() => null);
+}), Jde = (e) => gw(`${pR}?id=${e}`).catch(() => null);
function Yde(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
return q(pR, {
@@ -46673,7 +46673,7 @@ function Yde(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Xde = cT("ellipsis"), Zde = cT("pencil"), Qde = cT("trash"), $de = cT("playlist"), bR = sw(DA, OA, "text-body-2-medium"), xR = "播放列表名称不能为空", SR = (e) => async () => {
+var Xde = cT("ellipsis"), Zde = cT("pencil"), Qde = cT("trash"), $de = cT("playlist"), bR = cw(DA, OA, "text-body-2-medium"), xR = "播放列表名称不能为空", SR = (e) => async () => {
try {
await e();
} finally {
@@ -46909,7 +46909,7 @@ function rfe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
icon: $de,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
@@ -46928,7 +46928,7 @@ function ife({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
let c = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-goal-id": t.id,
- className: gw({
+ className: _w({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -46997,14 +46997,14 @@ function afe(e) {
queryKey: bE,
queryFn: ({ signal: e }) => xE(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "高清版目标读取失败",
children: t.error ? K(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, L.jsxs)(yw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: gw({
+ return r.length ? /* @__PURE__ */ (0, L.jsxs)(bw, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
+ className: _w({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -47021,9 +47021,9 @@ function afe(e) {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(_w, {
+ })] }) : /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: Yte,
+ icon: Jte,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
@@ -47069,7 +47069,7 @@ function ofe(e) {
/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: XS,
+ leadingIcon: ZS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -47352,7 +47352,7 @@ function DR({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Wte,
+ leadingIcon: Ute,
onClick: () => t(e.id),
children: "打开原视频"
})]
@@ -47393,10 +47393,10 @@ function mfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, L.jsx)(fw, {
+ children: [o ? /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "secondary",
size: "small",
- trailingIcon: rC,
+ trailingIcon: iC,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -47527,7 +47527,7 @@ function hfe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var gfe = gw({
+var gfe = _w({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
@@ -47573,9 +47573,9 @@ function vfe(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "inset",
- icon: lC,
+ icon: uC,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
}) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(mfe, {
@@ -47587,7 +47587,7 @@ function vfe(e) {
note: f.revealNote
}) : /* @__PURE__ */ (0, L.jsx)(ER, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
className: `${OR} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, L.jsx)(uw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "blue",
children: x
@@ -47630,7 +47630,7 @@ function vfe(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, L.jsx)(uw, {
+ O ? /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -47654,7 +47654,7 @@ function vfe(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(uw, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, L.jsx)(dw, {
variant: "caption",
color: "soft",
children: e
@@ -47858,7 +47858,7 @@ function xfe(e) {
avatarInner: s,
toast: c
};
- return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
+ return /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, L.jsx)(J, {
@@ -47973,8 +47973,8 @@ function xfe(e) {
handlers: be
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: ZS,
+ }, e.key)) : /* @__PURE__ */ (0, L.jsx)(vw, {
+ icon: QS,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
@@ -47991,7 +47991,7 @@ function xfe(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Sfe = "/api/scraping", Cfe = "/api/scraping/settings", wfe = "/api/scraping/check", kR = "/api/scraping/cover", Tfe = "/api/scraping/amane-bridge", Efe = "/api/scraping/amane-bridge/check", Dfe = "/api/scraping/amane-bridge/rebuild", AR = ["scraping"], jR = ["scraping", "cover"], MR = ["scraping", "amane-bridge"], NR = (e) => hw(Sfe, e), PR = (e) => hw(kR, e), FR = (e) => hw(Tfe, e);
+var Sfe = "/api/scraping", Cfe = "/api/scraping/settings", wfe = "/api/scraping/check", kR = "/api/scraping/cover", Tfe = "/api/scraping/amane-bridge", Efe = "/api/scraping/amane-bridge/check", Dfe = "/api/scraping/amane-bridge/rebuild", AR = ["scraping"], jR = ["scraping", "cover"], MR = ["scraping", "amane-bridge"], NR = (e) => gw(Sfe, e), PR = (e) => gw(kR, e), FR = (e) => gw(Tfe, e);
async function Ofe(e) {
await Promise.all([
X.fetchQuery({
@@ -48102,7 +48102,7 @@ function Mfe({ source: e, toast: t }) {
children: /* @__PURE__ */ (0, L.jsx)(TA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: KS,
+ trailingIcon: qS,
children: "配置 Peach 代理"
})
}) : null,
@@ -48226,7 +48226,7 @@ function Nfe({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, L.jsx)(yw, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: s
@@ -48293,7 +48293,7 @@ function Pfe({ toast: e }) {
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, L.jsx)(yw, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: c
@@ -48326,7 +48326,7 @@ function Ffe({ toast: e }) {
queryKey: AR,
queryFn: ({ signal: e }) => NR(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return n ? /* @__PURE__ */ (0, L.jsxs)(bw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
@@ -48337,7 +48337,7 @@ function Ffe({ toast: e }) {
toast: e
}, t.source)),
/* @__PURE__ */ (0, L.jsx)(Pfe, { toast: e })
- ] }) : /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -48345,7 +48345,7 @@ function Ffe({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var LR = "/api/configuration", Ife = "/api/pick-folder", RR = ["configuration"], zR = (e) => hw(LR, e);
+var LR = "/api/configuration", Ife = "/api/pick-folder", RR = ["configuration"], zR = (e) => gw(LR, e);
async function BR(e) {
await X.fetchQuery({
queryKey: RR,
@@ -48358,7 +48358,7 @@ var Lfe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名
//#endregion
//#region src/react/settings/entry-links-settings.tsx
function zfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.sites), i = Sw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+ let [n, r] = (0, I.useState)(e.sites), i = Cw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
@@ -48407,7 +48407,7 @@ function Bfe({ data: e, receipt: t }) {
});
}
function Vfe({ startup: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Sw(), l = e.available && !e.desktop_message;
+ let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Cw(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "开机自启",
onSubmit: (r) => {
@@ -48480,7 +48480,7 @@ function Ufe({ initial: e, initialJob: t }) {
let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, I.useState)(""), c = Sw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = VR.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = Cw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = VR.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -48499,7 +48499,7 @@ function Ufe({ initial: e, initialJob: t }) {
}, [i.state]), (0, I.useEffect)(() => {
let e = new AbortController(), t = VR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await hw("/api/configuration/update-status", e.signal);
+ let t = await gw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -48507,7 +48507,7 @@ function Ufe({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await hw("/api/configuration/automatic-updates", e.signal);
+ let n = await gw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
o += 1, o >= HR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
@@ -48520,7 +48520,7 @@ function Ufe({ initial: e, initialJob: t }) {
}, [i.state]);
let m = () => {
d || (l.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, h = () => void c.run("check", (e) => hw("/api/configuration/updates", e), r, (t) => {
+ }, h = () => void c.run("check", (e) => gw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
@@ -48564,7 +48564,7 @@ function Ufe({ initial: e, initialJob: t }) {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(xw, {
+ /* @__PURE__ */ (0, L.jsx)(Sw, {
label: "更新准备进度",
value: i.progress,
stops: Hfe
@@ -48633,7 +48633,7 @@ function Gfe({ data: e, receipt: t, reopenTutorial: n }) {
});
}
function Kfe({ receipt: e, reopenTutorial: t }) {
- let n = Sw();
+ let n = Cw();
return /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "安装教程",
children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: [/* @__PURE__ */ (0, L.jsx)(JA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(YA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(qA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
@@ -48644,7 +48644,7 @@ function Kfe({ receipt: e, reopenTutorial: t }) {
});
}
function qfe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Sw(e.error), s = (r) => {
+ let [n, r] = (0, I.useState)(e.mode), [i, a] = (0, I.useState)(e.interval_hours), o = Cw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
@@ -48959,7 +48959,7 @@ function epe({ value: e, label: t, kind: n = "local", onChange: r }) {
//#region src/react/settings/push-discovery-settings.tsx
var tpe = "/api/configuration/push-discovery", npe = "/api/configuration/push-discovery/secret";
function rpe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Sw(), l = PA(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Cw(), l = PA(), u = n.media_roots, [d, f] = (0, I.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,
@@ -49092,7 +49092,7 @@ function rpe({ initial: e, receipt: t }) {
}, e))
}),
/* @__PURE__ */ (0, L.jsx)(IA, {
- icon: QS,
+ icon: $S,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -49170,7 +49170,7 @@ function spe(e) {
library_icon: e.library_icon || ""
})) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => qR(e));
}
-var cpe = (e) => !(e instanceof pw) || e.status !== 400 ? null : e.body?.errors ?? null;
+var cpe = (e) => !(e instanceof mw) || e.status !== 400 ? null : e.body?.errors ?? null;
function lpe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-6",
@@ -49192,7 +49192,7 @@ function lpe({ data: e, receipt: t }) {
});
}
function upe({ data: e, receipt: t }) {
- let [n, r] = (0, I.useState)(() => spe(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = Sw();
+ let [n, r] = (0, I.useState)(() => spe(e)), [i, a] = (0, I.useState)(String(e.port)), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)([]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), [m, h] = (0, I.useState)(null), [g, _] = (0, I.useState)(null), [v, y] = (0, I.useState)(null), b = (0, I.useRef)(!1), x = (0, I.useRef)(e.revision), S = (0, I.useRef)([]), C = Cw();
(0, I.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, I.useEffect)(() => {
@@ -49292,7 +49292,7 @@ function upe({ data: e, receipt: t }) {
...Y(v === r)
}),
n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(IA, {
- icon: QS,
+ icon: $S,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -49414,7 +49414,7 @@ function dpe({ online: e }) {
});
}
function fpe({ data: e }) {
- let t = e.media_sources, n = Sw();
+ let t = e.media_sources, n = Cw();
return t ? /* @__PURE__ */ (0, L.jsxs)(WA, {
title: "挂载状态",
children: [
@@ -49442,7 +49442,7 @@ var ppe = {
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
function mpe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = Sw(), g = (e) => {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)({}), m = (0, I.useRef)(null), h = Cw(), g = (e) => {
e.preventDefault();
let f = {};
if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {
@@ -49459,7 +49459,7 @@ function mpe({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof pw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof mw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
}, _ = ppe[n.mode], v = n.mode !== "locked";
@@ -49544,7 +49544,7 @@ var hpe = 2e3, gpe = [["quick", "临时链接"], ["named", "命名隧道"]], _pe
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
function vpe({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = Sw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+ let [r, i] = (0, I.useState)(t), [a, o] = (0, I.useState)(e), [s, c] = (0, I.useState)(t.mode), [l, u] = (0, I.useState)(t.hostname), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)({}), h = Cw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, I.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
@@ -49566,7 +49566,7 @@ function vpe({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof pw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof mw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
@@ -49674,7 +49674,7 @@ function bpe({ data: e, receipt: t }) {
});
}
function xpe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Sw();
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Cw();
return /* @__PURE__ */ (0, L.jsxs)(WA, {
id: "peachProxy",
title: "Peach 代理",
@@ -49819,7 +49819,7 @@ function wpe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var Tpe = "/api/stats", JR = ["stats"], YR = (e) => hw(Tpe, e);
+var Tpe = "/api/stats", JR = ["stats"], YR = (e) => gw(Tpe, e);
async function Epe(e) {
await X.fetchQuery({
queryKey: JR,
@@ -68828,7 +68828,7 @@ var Jje = ["axis", "item"], Yje = Q5(Q5({}, q5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e7(...e) {
- return sw(bh(e));
+ return cw(bh(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -70376,7 +70376,7 @@ var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
x7.Bar = _Me, x7.XAxis = vMe, x7.YAxis = yMe, x7.Grid = bMe, x7.Tooltip = xMe, x7.Legend = SMe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${gw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var C7 = `${_w({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function w7({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -70763,7 +70763,7 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, L.jsx)(GS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, L.jsx)(KS, { "aria-hidden": !0 })
}) : null]
});
}
@@ -71066,7 +71066,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var iNe = 10, X7 = T7[5], aNe = T7[4], oNe = `${gw()} flex flex-col gap-4`, sNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", cNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", lNe = "开始播放后,这里会显示最近的真实观看证据。", uNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", dNe = "添加媒体文件夹后,这里会显示存储空间。";
+var iNe = 10, X7 = T7[5], aNe = T7[4], oNe = `${_w()} flex flex-col gap-4`, sNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", cNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", lNe = "开始播放后,这里会显示最近的真实观看证据。", uNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", dNe = "添加媒体文件夹后,这里会显示存储空间。";
function Z7({ term: e, value: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -71091,7 +71091,7 @@ function Q7({ term: e, value: t, total: n }) {
children: [XR(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(xw, {
+ }), /* @__PURE__ */ (0, L.jsx)(Sw, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -71173,15 +71173,15 @@ function fNe({ data: t, configurable: n, openMediaSettings: r }) {
})
]
})]
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: Jte,
+ icon: qte,
title: "还没有视频",
actions: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: r,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, L.jsx)(fw, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
@@ -71263,7 +71263,7 @@ function hNe({ volume: e }) {
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, L.jsx)(xw, {
+ t == null ? null : /* @__PURE__ */ (0, L.jsx)(Sw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -71285,9 +71285,9 @@ function gNe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(hNe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: sC,
+ icon: cC,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
@@ -71323,11 +71323,11 @@ function _Ne({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: pC,
+ icon: mC,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -71359,7 +71359,7 @@ function vNe({ rows: e }) {
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, L.jsx)(xw, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Sw, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, L.jsx)("small", {
@@ -71369,11 +71369,11 @@ function vNe({ rows: e }) {
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: cC,
+ icon: lC,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "secondary",
href: "/",
size: "small",
@@ -71401,7 +71401,7 @@ function yNe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(xw, {
+ /* @__PURE__ */ (0, L.jsx)(Sw, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -71412,11 +71412,11 @@ function yNe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: pC,
+ icon: mC,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, L.jsx)(fw, {
+ actions: /* @__PURE__ */ (0, L.jsx)(pw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -71446,13 +71446,13 @@ function bNe(e) {
queryKey: JR,
queryFn: ({ signal: e }) => YR(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? K(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = XR(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(bw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
@@ -71467,7 +71467,7 @@ function bNe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: eC,
+ icon: tC,
accent: 0,
figure: o.toLocaleString(),
detail: a(s)
@@ -71475,7 +71475,7 @@ function bNe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: iC,
+ icon: aC,
accent: 1,
figure: r.played.toLocaleString(),
detail: Dpe(r.play_seconds)
@@ -71483,7 +71483,7 @@ function bNe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: pC,
+ icon: mC,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -71491,7 +71491,7 @@ function bNe(e) {
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: sC,
+ icon: cC,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${a(i.used)}` : "容量未取得"
@@ -71581,7 +71581,7 @@ function bNe(e) {
]
}),
/* @__PURE__ */ (0, L.jsxs)(vA, {
- className: `${gw({ padding: "none" })} flex flex-col`,
+ className: `${_w({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
@@ -71985,7 +71985,7 @@ var RNe = "/api/taste", h9 = "/api/taste/refresh", zNe = "/api/taste/import", BN
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => hw(`${RNe}?window=${e}`, t), UNe = (e) => hw(h9, e);
+], _9 = (e, t) => gw(`${RNe}?window=${e}`, t), UNe = (e) => gw(h9, e);
async function WNe(e, t) {
await X.fetchQuery({
queryKey: g9(e),
@@ -72015,7 +72015,7 @@ async function qNe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new pw(e || `导入失败(${t.status})`, t.status, n);
+ throw new mw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
@@ -72673,7 +72673,7 @@ function DPe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var OPe = 10, F9 = sw(DA, OA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", kPe = "读取运行 Peach 的这台电脑上的浏览记录", APe = "导入或读取浏览记录后,这里会列出已采集设备。", jPe = "馆藏里暂时没有对得上浏览信号的标签。", MPe = "采集浏览记录后,这里会显示聚合后的口味证据。", NPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", PPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", FPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", IPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", LPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var OPe = 10, F9 = cw(DA, OA, "text-body-2-medium"), I9 = `${_w()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", kPe = "读取运行 Peach 的这台电脑上的浏览记录", APe = "导入或读取浏览记录后,这里会列出已采集设备。", jPe = "馆藏里暂时没有对得上浏览信号的标签。", MPe = "采集浏览记录后,这里会显示聚合后的口味证据。", NPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", PPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", FPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", IPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", LPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: FD(),
@@ -72707,9 +72707,9 @@ function RPe({ html: e }) {
});
}
function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, L.jsx)(_w, {
+ if (!e.length) return /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: gC,
+ icon: _C,
title: "暂无足够证据",
children: r
});
@@ -72757,7 +72757,7 @@ function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: ZNe(e)
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(qS, {
+ s ? /* @__PURE__ */ (0, L.jsx)(JS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -72779,7 +72779,7 @@ function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
}
function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
return /* @__PURE__ */ (0, L.jsxs)(vA, {
- className: `${gw({ padding: "none" })} flex flex-col`,
+ className: `${_w({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, L.jsx)(HN, {
@@ -72868,14 +72868,14 @@ function BPe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, L.jsx)(qS, {
+ }), /* @__PURE__ */ (0, L.jsx)(JS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: gC,
+ icon: _C,
title: "还没有可探索的入口",
children: jPe
})
@@ -72891,7 +72891,7 @@ function VPe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, L.jsx)("div", {
- className: gw({
+ className: _w({
padding: "none",
className: "p-4"
}),
@@ -72964,7 +72964,7 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: $S,
+ leadingIcon: eC,
title: kPe,
onClick: t,
...Y(e),
@@ -72972,7 +72972,7 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
}), /* @__PURE__ */ (0, L.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: GS,
+ leadingIcon: KS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -72995,7 +72995,7 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)($S, {
+ children: [/* @__PURE__ */ (0, L.jsx)(eC, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -73003,7 +73003,7 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)(_C, {
+ children: [/* @__PURE__ */ (0, L.jsx)(vC, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -73037,10 +73037,10 @@ function UPe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(_C, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, L.jsx)(vC, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, L.jsx)(eC, {
+ }) : /* @__PURE__ */ (0, L.jsx)(tC, {
"aria-hidden": !0,
className: "size-4"
})
@@ -73060,7 +73060,7 @@ function UPe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: tC,
+ leadingIcon: nC,
...Y(r.isPending),
onClick: () => {
r.isPending || g({
@@ -73073,9 +73073,9 @@ function UPe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: eC,
+ icon: tC,
title: "还没有数据源",
children: APe
})
@@ -73106,13 +73106,13 @@ function WPe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, L.jsx)(bw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "口味分析读取失败",
children: f.error ? K(f.error) : "读取口味分析失败"
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
+ return /* @__PURE__ */ (0, L.jsxs)(bw, { children: [
/* @__PURE__ */ (0, L.jsxs)(vA, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
@@ -73191,27 +73191,27 @@ function WPe(e) {
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: cC,
+ icon: lC,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
detail: `${x.history_sources || 0} 个数据源 · ${v9(x.range_start)}—${v9(x.range_end)}`
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: pC,
+ icon: mC,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: gC,
+ icon: _C,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: eC,
+ icon: tC,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: a(w.bytes || 0)
@@ -73242,9 +73242,9 @@ function WPe(e) {
children: T.length ? /* @__PURE__ */ (0, L.jsx)(EPe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, L.jsx)(_w, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vw, {
shell: "plain",
- icon: gC,
+ icon: _C,
title: "暂无口味维度",
children: MPe
})
@@ -73321,26 +73321,26 @@ function WPe(e) {
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
- icon: iC,
+ icon: aC,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
detail: YNe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
- icon: qte,
+ icon: Kte,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 2,
- icon: Kte,
+ icon: Gte,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 3,
- icon: pC,
+ icon: mC,
term: "有标签",
figure: D.toLocaleString()
})
@@ -73444,7 +73444,7 @@ function H9({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, L.jsx)(xw, {
+ }), /* @__PURE__ */ (0, L.jsx)(Sw, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -74082,7 +74082,7 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
}), Z9 = !1, gFe = (e, t) => {
- Z9 || (Z9 = !0, (0, HS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(hFe, {
+ Z9 || (Z9 = !0, (0, US.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(hFe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -74121,11 +74121,11 @@ function vFe() {
}
function $9(e) {
return (t, n) => {
- let r = (0, HS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(de, {
+ let r = (0, US.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, L.jsx)(de, {
client: X,
children: /* @__PURE__ */ (0, L.jsx)(sd, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, L.jsx)(vy, {
+ children: /* @__PURE__ */ (0, L.jsx)(yy, {
getContainer: vFe,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
@@ -74139,11 +74139,11 @@ function $9(e) {
}
var yFe = {
activity: {
- prefetch: (e, t) => tre(t),
- mount: $9(pre)
+ prefetch: (e, t) => ere(t),
+ mount: $9(fre)
},
"catalog-grid": {
- prefetch: xre,
+ prefetch: bre,
mount: $9(bT)
},
configuration: {